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.51k stars 812 forks source link

Oculars plugin Limit magnitude is not autochanged Solar system body. #3817

Open 3domennotry opened 1 month ago

3domennotry commented 1 month ago

Expected Behaviour

Limits magnitude is automatically changed in "SSO".

Actual Behaviour

Limits magnitude is not automatically changed in "SSO".

Steps to reproduce

It maybe not bug.

  1. Start Oculars Plugin.

  2. Checked "Auto-limit stellar magnitude" in Oculars Plugin config window. 20240719_1-1

  3. Checked "Limit magnitude" and input number 6.5 in "Sky" in "Sky and viewing options window". 20240719_1-2

  4. Checked "Limit magnitude" and input number 6.5 in "DSO" in "Sky and viewing options window". 20240719_1-3

  5. Checked "Limit magnitude" and input number 6.5 in "SSO" in "Sky and viewing options window". 20240719_1-4

  6. Select celestial object.

  7. Ocular view.

Limit magnitude is automatically changed in "Sky". 20240719_1-5

Limit magnitude is automatically changed in "DSO". 20240719_1-6

However, limit magnitude is not automatically changed in "SSO". 20240719_1-7

By the way, my telescope's(11.4 cm) limit magnitude is about 12.1 by Official Catalog in Vixen. However, result is 13.55 by Oculars Plugin. 20240719_1-8

Which is correct?

System

(Sorry, I can not speak English very well.)

thank you.

gzotti commented 1 month ago

Just not implemented yet, but should be simple copy-pastes from the other cases. Note that the limiting magnitude formulae for stellar objects (point source) are different from extended objects.

It's funny you ask whether our data are better or worse than the manufacturer's claims. Whether manufacturer's claims or our models taken from the literature are more accurate can best be checked by observing limiting cases.

3domennotry commented 1 month ago

Thank you for reply and always thank you. Sorry I didn't write enough.

In Japan, usually, Telescope's limit magnitude formula is follow:

result = 6.0 + 2.5 * LOG((D / 7.0)^2 )

6.0 : limit magnitude by naked eye in dark sky 7.0 : eye's diameter in dark sky D: telescopes's diameter

Therefore, 114mm Telescope's limit magnitude is about 12.05 (Rounded off in Vixen catalog, 12.1)

/plugins/Oculars/src/Oculars.cpp line 3279

Oculars plugin's formula is follow: result = 4.5 + 4.4 * LOG(D) D: telescopes's diameter (article http://adsabs.harvard.edu/abs/1997JBAA..107...82N)

Therefore, 114mm Telescope's limit magnitude is about 13.55

Which formula is correct? The results are similar to the formula usually used in Japan.

Unfortunately, it cannot be verified completly. Because, There are terrible light pollution in Japan.

In dark sky area( 50 km away from my home town), I can found 4.5 mag stars by naked eye. And about 10.5 magnitude stars can be found by this telescope.

From experience... 3.5 mag by naked eye, 9.5 mag by telescope. 4.0 mag by naked eye, 10.0 mag by telescope. 4.5 mag by naked eye, 10.5 mag by telescope.

Maybe, If I can found 6.5 mag stars by naked eye, I can found 12.5 mag stars by telescope

This is my personal opinion. It would be great if these formulas could be selected.

thank you.

alex-w commented 1 month ago

In Japan, usually, Telescope's limit magnitude formula is follow:

result = 6.0 + 2.5 * LOG((D / 7.0)^2 )

6.0 : limit magnitude by naked eye in dark sky 7.0 : eye's diameter in dark sky D: telescopes's diameter

Therefore, 114mm Telescope's limit magnitude is about 12.05 (Rounded off in Vixen catalog, 12.1)

What is the source of formula?

/plugins/Oculars/src/Oculars.cpp line 3279

Oculars plugin's formula is follow: result = 4.5 + 4.4 * LOG(D) D: telescopes's diameter (article http://adsabs.harvard.edu/abs/1997JBAA..107...82N)

Therefore, 114mm Telescope's limit magnitude is about 13.55

Which formula is correct? The results are similar to the formula usually used in Japan.

As far as I know, all formulae for limiting magnitudes where you can see only aperture of telescope based an experience, and it may have variance for location/weather conditions.

3domennotry commented 1 month ago

dear alex-w

https://www.stargaze.co.jp/engwhat.html https://www.stargaze.co.jp/order3/SpecReading.html

According to this website: { formula 1. "m = N + 5 log D" N:8.8 D: telescope diameter (inch)

formula 2. "m = N + 5 log (D1/D0) " N: 6.0 D0:7.0 D1: telescope diameter (mm)

These formula's result is similar.

For dealers, Most of the calculations are based on these formulas.

However, Over the years, the constants have changed. }

Sorry, I do not know formula 1.

"6.0 + 5 log (D1 / 7.0) " "6.0 + 2.5 * LOG((D / 7.0)^2 )". These formula's result is same.

thank you.

10110111 commented 1 month ago

Which formula is correct?

There's not a single definition for this. E.g. [1] reads:

Most of these proposed criteria are of the form:       m = N + 5 log(D),          (1) where m is the limiting magnitude for a telescope with aperture D (in inches) and N is some normalization constant. <...> Any such formula will produce a value which is correct to within one or two magnitudes; however, for most applications this accuracy is too poor. This class of formulae is hopelessly naive because many effects are not included, of which magnification and sky brightness effects are most important.

Note that first, the constant 5 is for D specified in inches. And then that, as the text says, the formula itself is rather imprecise.

I didn't check whether the Oculars plugin's formula is correct though, just posted this bit FWIW.

References

1: Schaefer, B. E.. "Telescopic limiting magnitudes". Astronomical Society of the Pacific, Publications (ISSN 0004-6280), vol. 102, Feb. 1990, p. 212-229.

github-actions[bot] commented 1 month ago

Hello @3domennotry!

Thank you for suggesting this enhancement.

gzotti commented 1 month ago

We could allow selection of various models, plus addition of a "fudge factor" for empirical corrections by the single user. Is it worth the effort? Is the fudge addition just a constant or an arbitrary polynomial (or log?) function of the model's result? Who would ever develop and verify such model? IIRC Schaefer had effects of diameter, obstruction, sharp vision, age, and a few more included. (I am off my main environment, so don't have it with me. ) All these models are for guidance, but you will gain experience only by own observation.

3domennotry commented 1 month ago

OK. I never check the "Auto-limit stellar magnitude" checkbox on the Oculars settings page. Instead, I created a script to do so.

Disappointingly... I can't turn off the useless display in the upper right corner. stellarium-002

The script cannot run automatically when switching to the eyepiece.

I envy those who do not feel uncomfortable with the current formula. I have no expensive telescope, no good eye, no excellent sky, nothing to match this formula.

I can not speak English very well. If I have been rude, I apologize.

thank you.

gzotti commented 1 month ago

Ah, we don't even use Schaefer's model yet. Suggestion: 2.5 options with another RadioButton.

3domennotry commented 1 month ago

Disappointingly, I don't use it.

m=[C]+[W]log(D) I want to get the same result as this formula "m = 6.0 + 5 * log (114 / 7)".

D is automatically specified, 114 (my telescope) I can specified C and W. C = 6.0. W = 5 / (log(114) / log(114/7)) = 2.945704587

If I used another telescope(60mm), W = 5 / (log(60) / log(60/7)) = 2.62366098

Every time I need a different value.

By the way, I forget binocular.

For binoculars, a different formula is used. The results of this formula are even more amazing.

According to this formula, we found 12.41 mag star by 5.0cm binocular in dark sky.

Light pollution affects this formula. If light pollution is max, we found 5.31 mag star by 5.0cm binocular.

I don't believe that is possible.

https://global.vixen.co.jp/en/product/38068_8/ In Japan, nobody calls them binoculars. I call "bino-telescope". This "bino-telescope" has 126mm diameter and limiting magnitude is 12.3 .

Already, I solved this problem. I used my script.

However, If you are willing to spend your valuable time, I suggest follow: The magnitude can be entered directly each telescope( and binocular).

By the way, I made another discussions "about finder". https://github.com/Stellarium/stellarium/discussions/3822

This discussion may possibly be relevant.

Thank you.

gzotti commented 1 month ago

we will not add limiting mag data to the instruments, but implement models from qualified sources. My last note was what we (developers) could probably implement by end of the year. Whenever anybody steals his own time instead of going out observing.

A 126mm bino refractor is not what we mean when specifying "binoculars". Just configure that as regular telescope. "Binoculars" in the ordinary sense are things like 8x40, 10x50, 12x60, handheld with neck strap. Try to use the 126mm without a tripod...

alex-w commented 1 month ago

binoculars or bino-telescopes has other formula for limiting magnitudes

3domennotry commented 1 week ago

I have confirmed that this bug( limit magnitude is not automatically changed in "SSO" ) has been fixed. Thank you very much.

I think it is good that the discussion ("Telescope's limit magnitude formula") is also closed.