Stellarium / stellarium

Stellarium is a free GPL software which renders realistic skies in real time with OpenGL. It is available for Linux/Unix, Windows and macOS. With Stellarium, you really see what you can see with your eyes, binoculars or a small telescope.
https://stellarium.org
GNU General Public License v2.0
7.74k stars 820 forks source link

Show more details when an object has been selected #487

Open abdeldjalil-fellah opened 6 years ago

abdeldjalil-fellah commented 6 years ago
lrm25 commented 5 years ago

Is this issue still available and do you still want it done? I could work on it if so.

gzotti commented 5 years ago

Hi! Alex has added rise/set/transit, but I think no shadow factor or disk duration. Rise /Set/Transit may have some slight issues (#554), should be reviewed. So yes, please, go ahead!

lrm25 commented 5 years ago

OK, I can take it. One big problem though: I am not completely certain what shadow factor or disk duration are, and couldn't find info online. Could you please let me know? Thanks.

gzotti commented 5 years ago

Shadow factor sounds like eclipse details. Usually for Lunar eclipses: percentage of disk diameter in penumbra and umbra, if possible maximum percentage; for Solar, it has been done already. Disk duration: could be time it takes to transit the meridian (just diameter in RA? i.e. diameter/cos(declination)) or for Mercury/Venus to transit Solar disk. (Adapt algorithm for possible transits seen from the outer planets?) But @jalil1408 should give an explanation.

abdeldjalil-fellah commented 5 years ago

shadowFactor = 1 / tan(sunAltitude)

disk transit duration = time from [the west limb at transit] to [the east limb at transit]

alex-w commented 5 years ago

Seems shadow factor applicable for Sun only (and without relation to the eclipses) and disk transit duration applicable for inner solar system bodies (and moons on observer's planet).

gzotti commented 5 years ago

@jalil1408 in astronomy "transit" may mean "transit of any object through the meridian" or "transit through the Solar disk" (or even "Transit of a Iovian satellite through Jupiter's disk" or such). Please specify this clearly. It seems you are thinking of transit of the Solar disk (only) through the meridian (taking about 2 minutes), or duration from "first flash" to "solar disk completely visible" on the horizon.
Mid day/night and (solar) transit (of the meridian) are the same things. Az=0° or 180°. And please give an example for the Guide why shadowFactor=cotan(sunAltitude) is important for the average amateur astronomer user. I know all these data are relevant for some religious purposes, therefore all this should be moved to a dedicated plugin then. (With Hilal sighting estimate, prayer times etc. While we could probably do that, it is certainly not to be seen as authoritative answer unless implemented by the official relevant authorities!).

alex-w commented 3 years ago

@jalil1408 is shadow factor an equal to shadow length, when object has 1 meter of height?

gzotti commented 3 years ago

@alex-w yes, this factor is used for determination of Islamic afternoon prayer time. (Not necessarily 1 meter, but "multiples of vertical height of a pole put onto the ground") Also Noon prayer time has to do with his transit duration. These are cultural topics, should go into a dedicated plugin.

alex-w commented 3 years ago

Looks like this is good task for specific plugin

alex-w commented 2 years ago

This is a good task for the community to participate in the contribution into Stellarium. Who wants to help us?