Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with photometry #290

Closed
mworion opened this issue Jan 10, 2023 · 8 comments
Closed

Issues with photometry #290

mworion opened this issue Jan 10, 2023 · 8 comments
Assignees
Labels
Waiting for response Open issue progress stalled

Comments

@mworion
Copy link
Owner

mworion commented Jan 10, 2023

When using the "Image" button, in particular, the associated window and operations of the image processing.

I found when you load a FITS file, the image loads and can be solved. The issue is with the other tab assessments i.e. HDR, Tilt square, Tilt triangle etc.
Here, they do not load or appear once the image is solved. I found if I clicked the "Photometry" box, these all loaded correctly and I could see the results in their separate tabs but if I untick then reapply the Photometry tick, all the results disappeared and would not respond. If I opened another image file, the image would load and display correctly but the other assessing tools would be blank (even with Photometry ticked) and the window would respond as "Not responding" for several seconds.

Just to note, the FITS file was not captured via MW4 v3beta, it was captured with Voyager and opened with MW4.

My version of Python is 3.9

@mworion mworion changed the title Issues with photo,e Issues with photometry Jan 10, 2023
@mworion
Copy link
Owner Author

mworion commented Jan 10, 2023

I tested this with standard FITS files (still not all done by MW4 and it worked. So I need a log file from you to check:
Please enable Loglevel to "Debug" under update / logging.
Try to load the image and enable / disable photometry.
You will find the log in your work dir / subdirectories log
Please drop it here.
Please ZIP the FITS File which does not work
Please drop it here as well.
Many thanks.
Michel

@mworion mworion self-assigned this Jan 15, 2023
@mworion mworion added the Waiting for response Open issue progress stalled label Jan 15, 2023
@rprangley
Copy link

Hi Michel,

My apologies for the delay. Please find attached two .zip folders you seek containing two screenshots, two fits files and two log files.

MW4_Debug.zip

@rprangley
Copy link

Here is the other .zip folder with the second fits files.

Best Regards,

Rowan
MW4_Debug_2.zip

@rprangley
Copy link

HI Michel,

Just to note, the images were taken with a QHY268C. Could the bayer of the image cause an issue?

Best,

Rowan

@mworion
Copy link
Owner Author

mworion commented Jan 18, 2023

Hi Rowan,
the hint with bayered images was a good hint. In overall tricky. As result the following:
1: In the fits file there is the hint that the camera uses a BayernPattern, but under FITS Keyword "FILTER" (which is strange), missing the right keyword "BAYERPAT" and in addition not hint which pattern is used anyway. So debayering is not really possible. So voyager should change this. I see no other imaging app which does this in this strange way.
2: Even though MW4 tries to analyze this image anyway. First with the large size, analyzing could take up 15-60 seconds (the timeout will come). So the missing response might be one of this behavior.
3: Still if you wait long enough, MW4 will throw a failure as this data really could not be analyzed as there is no fitting PSF function.
4: If you manually enter the right keyword for the pattern and define the right pattern, which is btw. most probable "GBRG", MW4 had a bug in calculating the image size, which I have to fix and will be published in the next beta (3.0.0beta10) later.

With doing this all and waiting 15s, you will get all the informations:
Bildschirmfoto 2023-01-18 um 20 54 53
Bildschirmfoto 2023-01-18 um 20 55 01
Bildschirmfoto 2023-01-18 um 20 55 17

One remark: On these large image chip cameras analyzing as well as modeling could be done more easy and faster if you are using binning. you don't need more that 1500 pixels to do this job.

Michel

@rprangley
Copy link

Thank you Michel! I will test this.

Just to check, is the keyword you have entered under "Filter", "Matrix__"? Or is this where you type "GBRG" or the applicable bayer filter orientation?

Best,

Rowan

@mworion
Copy link
Owner Author

mworion commented Jan 18, 2023 via email

@rprangley
Copy link

Thank you Michel!

I appreciate your time and feedback helping me with this!

This can be marked as "closed".

@mworion mworion closed this as completed Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Waiting for response Open issue progress stalled
Projects
None yet
Development

No branches or pull requests

2 participants