Talk:StarChart

From OLPC
Revision as of 12:42, 18 September 2008 by Davewa (talk | contribs)
Jump to: navigation, search

This program can be much more than just a map of the night sky. Offhand, I can think of a whole bunch of things it can demonstrate. A couple of less-obvious ones are:

How the human mind sees patterns in what is actually random arrangements of points. (The constellations.)

That bright stars are less common than dim ones. (Because to be bright, a star has to be either unusually luminous or unusually close.)

Which pairs of stars rise or set at the same time depends on your latitude. (This is how the Polynesians navigated, I'm told.)

Some more obvious ones:

The earth rotates once in 24 hours. Which makes the sky appear to move at a rate of 15 degrees per hour from east to west.

The earth goes around the sun once in 365.242 days. Which makes the sky appear to move at a rate of about one degree per day from east to west.

The sun, the moon and the planets follow roughly the same path against the stars (the ecliptic), but they move at different rates. And because the earth goes around the sun, too, some planets appear to reverse direction at times.

Changing to a different longitude is like changing your clock.

Unless you're on the equator, some stars never set.

Davewa 16:07, 22 May 2008 (EDT)

Priorities for next release

The next release (beta-5) will clean up a long-standing bug and add i18n infrastructure. I'm currently hoping to have this out by December 1st, 2008.

  • Fix the foreground/background color issue (bug #1). The fix for this bug has been tested and will be in the code of Beta-5.
  • Add gettext calls and provide other infrastructure for i18n. I may even be able to convince a friend to provide translation into Spanish.
  • Modify data tables in preparation for new features to be added in Beta-6.

Constellations and Cultural History

Each culture has its own set of constellations and stories about how the sky and the universe was formed. StarChart can be used to introduce other cultures via their constellations and stories. And can be an adjunct to local cultural history. --User:AuntiMame 22 may 08 16:14

Developer's reply: Beta 4 has broken out the constellation table from the code. So in theory a local version of "constellations.py" could be created to show the local culture's figures today. Of course, today nothing is labeled -- as was noted below, that needs to be changed, too. The constellation table organization would need a tweak to support adding a name and an abbreviation. The code would have to be modified to support this change to the structure of the data (presently simply an array of line segments; after the change an array of structures consisting of two strings and an array of line segments). This is all perfectly feasible to do.

But to create a local constellations.py will require a local expert who both knows how to draw his culture's constellations and who knows enough Python to be able to successfully modify the data for the stick figures (each line of which requires specifying two equatorial coordinate values) and for the labels. Davewa 11:08, 23 May 2008 (EDT)

Labeling

How about labeling planets, bright stars, constellations, etc. as you hover over them? The Astrological symbols for the planets are not that commonly known, hovering and seeing a label 'Mars' pop up could be a great help. Same with bright star names Rmyers 17:27, 22 May 2008 (EDT)

Developer's reply: Other than quibbling about how the label happens and whether it pops up, gets drawn over the chart or gets displayed in one corner of the margin area, I completely agree. My plan had been to detect right-click and figure out the brightest object at or nearest to where the user clicked. Then I'd show the object's name, the name of the constellation it is in (for stars and deep-sky objects), the object's brightness (magnitude) and catalog designation (Bayer number for stars; Messier (or occasionally NGC number) for DSOs) and for DSOs additional data such as the object's type (e.g.: "galaxy") and angular size.

I hadn't planned to separately identify constellations -- getting the constellation name would be a side effect of getting the star name

But "terse label on hover-over" in addition might be useful. -- Davewa 11:18, 23 May 2008 (EDT)

Milky Way

What about a Milky way graphic kicking in at an appropriate brightness -- say about mag 4? With a dark sky this is a major orientation feature. Rmyers 17:27, 22 May 2008 (EDT)

Developer's reply: Living under severely light-polluted skies, I never even thought about that! But you're right. It's worth adding. -- Davewa 11:21, 23 May 2008 (EDT)

Low magnification points of interest

What about adding a layer with points of interest not visible with the unaided eye, but which can be seen with a small telescope or binoculars? M catalog objects, prominent double stars and the like. Rmyers 17:27, 22 May 2008 (EDT)

Developer's reply: That one's already in my project plan for version 2. I expect to add a feature whereby a left-click will bring up a six-degree-square view centered on the nearest, brightest object at the clicked coordinate. (Left-clicking again restores the full-sky view.) Six degrees is the field of view of good binoculars (magnitude of about 7X).

As for a smaller field of view, whereas that would support a telescope better my assumption is that any school which could provide a small telescope for an astronomy class could probably also have a better planetarium program on a more elaborate computer to use with it. (I use Cartes du Ciel, myself, for my astronomy -- it's free and you can download the source, but I'm not sure if it's FOSS, technically.) So I'd rather target naked-eye and binocular observers with this program and let the telescope-equipped find a better tool if they need one.

I also plan to expand the star catalog to a depth of magnitude 8.0 and plot these dimmer stars in the magnified view only. I don't want to go dimmer than magnitude eight because as you probably know, the catalog size grows exponentially as you add dimmer-magnitude objects. The smaller, dimmer DSOs will probably not get added: my rule was not dimmer than magnitude 8 nor smaller than Mars in angular diameter -- this is consistent with binoculars or a small telescope. -- Davewa 11:35, 23 May 2008 (EDT)

The moons of Jupiter are binocular objects. Might it be worth adding the code to plot them in a magnified view when Jupiter is the object in the field? -- Davewa 13:08, 23 May 2008 (EDT)

Rmyers again:I agree that this shouldn't go too deep. I figure it should be centered as a naked eye guide. However, I also figure that a small 'spyglass' or pair of binoculars are fairly common even in quite undeveloped areas. I like the binocular field of vision guide idea. Rmyers 10:56, 24 May 2008 (EDT)

'Sky View'

I don't know if this is computationally feasible but...

What about a view that more closely resembles looking at the sky? Show a view from horizon to zenith looking in a specific direction with a view 90° (?) left and right. That is if someone is facing west he'd see from south to north, horizon to zenith -- more closely resembling his eye view. Panning left and right would change the direction of the center point.

In keeping with the education mission, this would assume less 'mapping' skills on the part of a young user. Mapping a flat sky chart to a hemispherical bowl over your head is not a simple task, particularly with objects near the horizon. This could give an alternative view with a less distorted view for objects lower in the sky. Rmyers 11:18, 23 May 2008 (EDT)

Developer's reply: I've seen this view in Cartes du Ciel and find the one that CdC provides to be harder (for me) to use than the whole-sky chart. The mapping of a quadrant of sky results in an onion-shaped figure that just looks weird to me. I don't know enough about mapping theory to produce a view of the sky which would look enough like what you actually see to be intuitive. My current mapping is pretty simple: azimuth maps to location around the circumference and altitude maps inversely to radius.

I find if you simply hold the XO so that the display is perpendicular to the ground and the direction you're facing is down then the map is pretty close to what you see from zero to 45 degrees altitude. Above 45 degrees, the best thing to do is lie down with your head facing north and hold the XO over your head with south at the bottom. -- Davewa 11:45, 23 May 2008 (EDT)

Animation

Add the ability to advance time or change position to show what effect that has on the sky. A frame rate of around 3 per second should "feel" right for simple demonstrations, but a slower rate or the ability to manually step forward and backward through frames should also be provided. The "step by" should be under user control, too.

This ties into the demonstrating of how the sky moves, the "dance of the planets" and celestial navigation. (And it's just plain cool.) The animation isn't hard, but getting a good GUI to set up and control it can be. -- Davewa 13:05, 23 May 2008 (EDT)

I like this. A 'Planetarium' view. This plays nicely to your learn how the sky tells time and calendar concepts. How about a 'step by day' to show the passage of the seasons, not just accelerating time rate? Rmyers 10:56, 24 May 2008 (EDT)

Developer's Reply: I'd planned on step-by-hour, step-by-day, step-by-week, step-by-month and step-by-year. For position, I'd planned on step-by-degree and step-by-ten-degrees. -- Davewa 15:29, 26 May 2008 (EDT)

Locating Objects

I think a "Locate" or "Find" capability would be very useful, especially in a learning environment. Entering the name of a star, planet or other object could blink a cross hair for a few seconds to identify the location of the object. Except for the constellation stick figures, blinking the object itself would be a little too subtle to be noticed, especially in night vision mode. -- TJB 06:30, 8 September 2008 (UTC)
Developer's reply: I think this is an excellent suggestion. It is the converse of the "labeling" feature described above (where you select an object and get its info); it's a little easier to implement (since name-to-position is easier that position-to-name to map because the code is already set up that way) and it lets you answer questions like "Can I see Altair now?". Davewa 15:05, 9 September 2008 (UTC)

junior Astronomy 101 curriculum wanted

This is not directed at Dave, who has his hands full with coding StarChart, this is directed to those who are fans of StarChart. Picture StarChart bundled together with Moon and some good text content scraped from the NASA web-site (most govt website content is free of copyright as U.S. Govt. work) on galaxies, star formation, planets, etc. as an astronomy or physics classroom module. If you have good links in your favorites/bookmarks, please start collecting them over at Science#Astronomy. Cjl 02:19, 27 May 2008 (EDT)

Developer's Reply: This is exactly why I started this talk page. I wanted people to start thinking about ways to turn StarChart into a component of a course in astronomy for elementary-school students. -- Davewa 10:42, 27 May 2008 (EDT)

Another thing: now that the code has been reorganized, it's possible for someone to take the constellation table and (with some fairly simple plotting routines), create a "Constellations Flash-Cards" activity. This would display a constellation figure and a multiple-choice list of constellation names. The child would attempt to pick the correct name for the constellation. After some number of incorrect attempts (maybe 2 wrong tries out of five choices), the activity would show the correct name. An advanced version of this might for example also give the names of the brightest of the stars in the constellation. I'd do this myself, but I'm still a novice at Python and I don't yet know how to detect mouse clicks on the XO. Davewa 18:16, 12 August 2008 (UTC)

Re: SW Versions

0.33 runs for me on 703. Gee, that rhymes. Rmyers 21:08, 30 May 2008 (EDT)

0.40 was tested extensively on 703. Davewa 17:14, 18 July 2008 (UTC) (It also works with 708 and 711. Davewa 15:07, 9 September 2008 (UTC))

What Does 0.4.0 Add?

I see unlabeled gray blobs. Are these nebulae?
Nebulae, globular clusters, open clusters and galaxies. The idea is "if you see a gray blob, grab your binoculars and check it out."

They seem to show at all magnitude selections. Is this the desired behavior? They also still are gray in night vision mode. I can't figure that that's the desired behavior.
for now. It's the intended behavior; I don't know about desired. If you find the DSO plotting distracting, delete or rename the dso1.py file -- the program will tolerate that file not being found

I'm running this on Joyride 2137. So it seems that this works in current Joyrides (some things break). Rmyers 20:57, 18 July 2008 (UTC)
Thanks for that report. I really need to get a second XO so I can have one at the current signed build and one at bleeding-edge.

You should consider applying to the Developers_program. I think StarChart would give you a lot of street cred. Cjl 20:46, 19 July 2008 (UTC)
I looked over the wiki pages when G1G1 was first announced and got the impression that the Developers program was "history". I guess that's not so -- I'll go re-read... Davewa 17:21, 21 July 2008 (UTC)
AFAIK, it has been somewhat revived with the Austrian's hosting the database. You should give it a try. Cjl 18:38, 21 July 2008 (UTC)

Documentation Improvements

The documentation page StarChart is very hard to read. I'm probably going to completely re-do it before the next revision -- Davewa 17:17, 18 July 2008 (UTC)

Planned Features (not otherwise mentioned above)

  • Phase of the moon. If the moon is the target object when you click, show the approximate phase (New / 1Q / Full / 3Q)
  • Replacement of textual buttons with iconic buttons in most of the User Interface. Tooltips will be provided instead of textual labels.