indigo-astronomy / indigo

INDIGO is a system of standards and frameworks for multiplatform and distributed astronomy software development designed to scale with your needs.
http://www.indigo-astronomy.org
Other
142 stars 63 forks source link

Frame Scale Solve Calculation #425

Closed astroman68 closed 2 years ago

astroman68 commented 2 years ago

Rumen,

Not sure if this is a bug or if there is something setup incorrectly. If there is, I haven't been able to find it.

When I do a solve using my Atik 428ex, I get the correct frame size and rotation, but the scale is reading wrong showing ~144"/px. It should be 2.4"/px. To check if maybe there was a calculation bug in the code, I did a solve using my guide camera, Altair 130M and got the correct scale.

I have checked everything I can find in indigo referencing the camera specs as well as lens profile aperture & focal length. It seems to be setup correctly.

One interesting thing is if you convert 144"/px to arc-minutes, you do get 2.4'. So its almost like I got something set wrong. I noticed in indigo everything is in CM instead of MM, which is what most measurements are in that I have seen. So I made sure my aperture and focal length was in CM. At one time I had it set in MM not noticing it should be in CM, but even after setting them to CM, the scale didn't change.

So, not a big deal as it doesn't really effect anything, but if it is a bug I thought you would want to know. If its something I have set wrong, can you point me in the right direction? I have attached a pic of a solve.

BTW, loving the cross hairs!!

atik-frame-statistics

rumengb commented 2 years ago

Can you provide an image that is solved like this? I can not guess what might be wrong from the screenshot only... Do you have any fists file you can send me?

On Thu, Dec 23, 2021 at 5:23 AM astroman68 @.***> wrote:

Rumen,

Not sure if this is a bug or if there is something setup incorrectly. If there is, I haven't been able to find it.

When I do a solve using my Atik 428ex, I get the correct frame size and rotation, but the scale is reading wrong showing ~144"/px. It should be 2.4"/px. To check if maybe there was a calculation bug in the code, I did a solve using my guide camera, Altair 130M and got the correct scale.

I have checked everything I can find in indigo referencing the camera specs as well as lens profile aperture & focal length. It seems to be setup correctly.

One interesting thing is if you convert 144"/px to arc-minutes, you do get 2.4'. So its almost like I got something set wrong. I noticed in indigo everything is in CM instead of MM, which is what most measurements are in that I have seen. So I made sure my aperture and focal length was in CM. At one time I had it set in MM not noticing it should be in CM, but even after setting them to CM, the scale didn't change.

So, not a big deal as it doesn't really effect anything, but if it is a bug I thought you would want to know. If its something I have set wrong, can you point me in the right direction? I have attached a pic of a solve.

[image: atik-frame-statistics] https://user-images.githubusercontent.com/83990821/147182814-acffcc7b-b9e9-4439-9e47-da9d0ece2a69.png

— Reply to this email directly, view it on GitHub https://github.com/indigo-astronomy/indigo_imager/issues/7, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE5EZBLCTQGL2ZGGI66L6STUSKIZNANCNFSM5KT3VXDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

rumengb commented 2 years ago

Oh by the way, just noticed it is 2.4"/px but the equivalent of 2.4'/px is displayed. We had such bug in indigo some time ago regarding the scale of the solution. But I think it should be resolved in the recent releases. Which version of indigo server you are using? Are you running the latest indigo? Any way a fits file will help in any case if the bug is till there it will help us to fix it...

astroman68 commented 2 years ago

Thanks Rumen. I'm using the latest from the indigo repo on Ubuntu server. INDIGO server v.2.0-166 built on Nov 30 2021 10:11:19. Link to fits file... https://gitlab.com/astro-man/general-share/-/blob/d22efbfb1ddd845ef9b6d49e008a0bf0dfcd1531/IC434_2021-12-09_Light_138.fits

rumengb commented 2 years ago

Yes, there is an issue in indigo itself it is not Ain. The issue is fixed with commit aed6b0bda97c742fa95a0e8b6d79258ddbbbe5bc. it will be available in the next indigo release! image

astroman68 commented 2 years ago

Awesome! Thanks Rumen!