×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Optimal Sub-Exposure Calculator help

  • Posts: 42
  • Thank you received: 11
Hi All,

Sorry for my slow progress and responses on the camera sensor analyzer tool. I've been trying to understand a problem in my process that impacts the results for Color sensors. (I'm fairly confident with the results on monochrome sensors).

When processing color camera data, it seems that white balance settings that are used when capturing the bias and flat images can impact the outcome of the analysis. For example, while testing my own ASI-178MC, I first used the manual white balance settings that I had established long ago, which produce mean ADU values for all color channels that are fairly even (as close as possible), WB Red 33, and WB Blue 92. The flat images appeared fairly neutral gray, (just slightly green). From this test, the resulting read-noise values from my tool were within 1% of those shown in ZWO documentation. But in a second test I set both WB Red and WB Blue to 80; the flat images appeared very red. From this test, the resulting read-noise values from my tool were generally lower (by around 3%), and the overall results over the range of gain values were less consistent (the read-noise curve had noticeable "bumps" that were not apparent in the test with white balance values that produced neutral looking flats).

My tool calculates mean values for each channel of the input data, so I should be able recognize if the input flat images are not "neutral". But I'm not certain whether I would be able to programatically compensate for this. If anyone has ideas on this, please let me know.

I had planned to develop a "front-end" process for my tool to perform the capture of the input files. In that process I might be able to control the white balance values to force the images to be neutral, but this development effort will likely take quite some time.

Thanks
2 months 1 week ago #99200

Please Log in or Create an account to join the conversation.

  • Posts: 42
  • Thank you received: 11
Hi Vladimir,

I re-processed your ASI-294 MC data including the additional bias and flats new files you provided. I've uploaded into the ASI-294MC folder on the google share, some png files of the graphs, and also an xml file that will work for the exposure calculator. Be aware that my original code from a few weeks ago had a bug that caused some minor calculation issues, that was corrected before I re-ran this data.

But I'm seeing something in the data from your 294 MC that is interesting. If you look at the read-noise values for the "low" gains, before the camera switches modes, the values for each color channel are pretty erratic. But at gains above the point of the mode switch (around gain 120), the values of the channels is nearly identical. I'm wondering whether this is just a "normal" behavior for the read mode that is used at the lower gain settings.

I will run your 294 MM data next.
The following user(s) said Thank You: Vladimir
2 months 6 days ago #99231
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 42
  • Thank you received: 11
The ASI-294MM Pro data and xml file for the exposure calculator is now on the Google share. It appears that the read-noise values I've measured with my tool are slightly lower than what ZWO graphs show for these cameras. So if you use these custom xml files in the exposure calculator the resulting exposure times will be lower than you would see using the files that we published with KStars.
The following user(s) said Thank You: Vladimir
2 months 6 days ago #99233

Please Log in or Create an account to join the conversation.

  • Posts: 17
  • Thank you received: 4
Oh! Thank You very much!
I plan to compare calculated results based on Your xml-file and xml-file that I made on data from spreadsheet presented in this message
2 months 6 days ago #99242

Please Log in or Create an account to join the conversation.

  • Posts: 3
  • Thank you received: 2
Hi, FYI I've created a config file for the Olympus OM-D E-M5 MKII using the values from Photons to Photos , attached.

(On Mac, copy to ~/Library/Application Support/kstars/cameradata)

File Attachment:

File Name: Olympus_OM....xml.zip
File Size:1 KB
The following user(s) said Thank You: Joseph McGee
1 month 3 weeks ago #99564
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 42
  • Thank you received: 11
Hi Fred,

Sorry that I've not responded sooner regarding the camera files you provided. I learned quite a bit while processing files, and needed to add some new features to my sensor analysis tool. My tool still has some difficulty in processing color image data, (white balance settings on the camera seem to produce some aberrations in my calculations). But I've now run the data for your ASI-6200MM through a new version of my tool. A screen shot of the result is attached. (But I would not rely upon this as being an accurate result yet).

One of the new features in my tool is a process that attempts to validate input files. It will produce and display histogram data of the four input files for given gain; and it will run a few analytic tests on the data. One test is intended to detect pattern noise in the images. In a few of the flat images that you provided, my tool recognized pattern noise and generated a warning. A screen shot for that is also attached.

So I reviewed the flat files in KStars fitsviewer and see that in the flat files at gain 60, 80 and 100; the center of the images have some odd speckles. In making is assessment of a sensor, my tool only analyzes a 100 x 100 pixel region at the center of the images. So these odd speckles at the center of the images may have a significant impact in the results from my tool.
1 month 1 week ago #99742
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 211
  • Thank you received: 30
Joseph,

Thanks for the feedback. First, I'll say that the graphs are surprisingly (at least to me) close to the published specs from ZWO. Second, let me go back and see if I can get you some clean flats for those gain settings. I took a look at the frames and I can't explain why those 3 gain settings might have exhibited those artifacts. All the flat frames were taken in sequence in order of ascending gain, one pair after the other.

Hopefully get you clean frames in the next day or two.

Fred
1 month 1 week ago #99744

Please Log in or Create an account to join the conversation.

  • Posts: 42
  • Thank you received: 11
Thanks Frederick,

I just created an ascii tab delimited data file for the current results on your ASI-6200MM. The file has values to 4 decimal places. It's in your home folder on the google share. File Name is Fred_ASI-6200MM_2024-03-14.dat

After you provide the new flat images, I'll re-run and make another file to compare, the results.
1 month 1 week ago #99745

Please Log in or Create an account to join the conversation.

  • Posts: 42
  • Thank you received: 11
Hi Frederick,

A correction... I had made a temporary change to my code to select data from another region of the image to avoid the area where those speckles are. I forgot to undo that change when I was running tests and when I extracted the results. So I've renamed the dat file on google, and added another version. The new one is data from the center, (which is what we want to use) the other is from the corner at (1,1).

Sorry for my confusion, this project has wiped out a few of my best brain cells.
1 month 1 week ago #99751

Please Log in or Create an account to join the conversation.

  • Posts: 211
  • Thank you received: 30
Joseph,

I've posted revised files here: drive.google.com/file/d/14ADHoURhUkqGXb9.../view?usp=share_link. I checked the region in question in the new files and they aren't exhibiting the speckles. The cause of those is a mystery!

Thanks for all your work on this.

Fred
1 month 1 week ago #99754

Please Log in or Create an account to join the conversation.

  • Posts: 42
  • Thank you received: 11
Thanks for the revised data Frederick,

I re-ran the analysis with the revised flat files, it definitely changed the results for gains 60, 80, and 100. Onto the google share folder I've uploaded a new data output file, Fred_ASI-6200MM_Center-Revised-2024-03-16.dat which can be compared with Fred_ASI-6200MM_Center-2024-03-15.dat if you care to see what changed in the results.. A screen shot of the graphs from new analysis is attached here (and a copy is also on the google share).

The only substantial difference between the ZWO data and results from this tool have to do with identifying exactly where the mode switching occurs in this camera (that abrupt drop in read noise). Per ZWO the mode switching occurs at gain 100. From the data we used in my tool I can only say that happens between 80 and 100. If you are curious to know exactly where that switch occurs, we would need to include bias and flats that are slightly below 100.

But, I think my next effort on this project is going to be developing a process that will drive the acquisition of the bias and flats images. In that process I hope to be able to automatically identify where cameras are doing mode switching. I also need to develop some processes to resolve issues with white balance settings on color sensors. So if you have no urgent interest in knowing where that mode switch is occurring, that's fine; hopefully the data acquisition function will be able to find it for you when I get this tool to the point where it can be deployed.
1 month 1 week ago #99778
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 211
  • Thank you received: 30
Joseph,

Thanks for the work you are doing on this. I usually shoot at gain = 0 so I haven't spent much time sorting out exactly where the mode switching occurs. If it is of use to you, I'd be happy to do some more work with the camera and test intermediate gain levels - just let me know. Heading into a week or more of cloudy weather here.

If you are interested in the data, advice on how to approach the project would be great. For example, would it make sense to start at gain = 100 and just back down by 1 unit for each set of frames? I'm not sure I know how to recognize when I hit the mode switching point so would I just continue to shoot in 1 step increments all the way down to gain = 80?

Best,
Fred
1 month 4 days ago #99857

Please Log in or Create an account to join the conversation.

Time to create page: 1.518 seconds