×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Automatic ADU bug ?/DarkFlat - Flat counter bug

  • Posts: 401
  • Thank you received: 41

Replied by Euripides on topic Automatic ADU bug ?

Ok I think I got it. One last question if you don't mind : "Desired ADU". How do you end up with that value?

My camera is 14 bit so my true ADU is 16000. 

Thanks!
2 years 2 months ago #79563

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

  • Posts: 207
  • Thank you received: 14

Replied by Nick Birkett on topic Automatic ADU bug ?

Ekos scales the ADUs to 16bits , so works same for all cameras. Indi "ADU" is not the one the manufacturer gives.
2 years 2 months ago #79564

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

  • Posts: 207
  • Thank you received: 14

Replied by Nick Birkett on topic Automatic ADU bug ?

Check out the "Bits per Pixel" value in your FITS header. Mine shows 16bits - QHY294M and ASI294MC even though both are "14bit" cameras.
2 years 2 months ago #79565

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

  • Posts: 401
  • Thank you received: 41

Replied by Euripides on topic Automatic ADU bug ?

I bet that mine will be 16bit too, cause as far as I can see those values are "stretched" to 16bit.

The point is how we proceed with that? Do we go with the max value for 16 bit? The max value for 14 bit (the actual true value)? Do we have to put the 30%, 50% of the max value in that field?
2 years 2 months ago #79566

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

  • Posts: 207
  • Thank you received: 14

Replied by Nick Birkett on topic Automatic ADU bug ?

Yes just proceed as if you have a 16 bit camera. It is just a constant scaling so the ADU setting can be the same for any camera (12, 14, 16 bit) all
treated the same by indi.
I use 25000 which is 38% of 2^16 . I think 25-50% is often quoted.
If you run your mouse over an image in FITS viewer, in the bottom right corner you will also see the coordinate (pixels) and value (0-2^16-1).
Also in FITS viewer click the "Statistics" button (3 bars looks like a histogram) and it will show you min, max, mean and median values of the image.
The following user(s) said Thank You: Euripides
2 years 2 months ago #79567

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

  • Posts: 207
  • Thank you received: 14
Hi Jasem. Just tested the new DarkFlat feature. I like it. Take the flats then press "Generate DakrFlats" button to get a new set of jobs.
Ok there is bug. When I take the flats it doesn't update the frame counter so I just end up with 1 Flat for each filter. DarKflats ae fine.
Great work.
2 years 2 months ago #79673

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

I can't replicate the flats issue. If I specify 5 flats, I end up with 5 as usual.
2 years 2 months ago #79674

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

  • Posts: 207
  • Thank you received: 14
I just updated to 3.5.7 stable. I got 1 frame in each case for 2 filters. DarkFlats fine. I'll reboot and retry.
Ubuntu focal fossa: PI server, Intel client:

2022-01-20T08:08:46 Received image 5 out of 5.
2022-01-20T08:08:43 Capturing 1.570-second image...
2022-01-20T08:08:42 Captured /export/home/nick/EKOS/TEST/Flat/Luminance/Flat_1.570_secs_001.fits
2022-01-20T08:08:42 Received image 4 out of 5.
2022-01-20T08:08:39 Capturing 1.570-second image...
2022-01-20T08:08:38 Captured /export/home/nick/EKOS/TEST/Flat/Luminance/Flat_1.570_secs_001.fits
2022-01-20T08:08:38 Received image 3 out of 5.
2022-01-20T08:08:35 Capturing 1.570-second image...
2022-01-20T08:08:34 Captured /export/home/nick/EKOS/TEST/Flat/Luminance/Flat_1.570_secs_001.fits
2022-01-20T08:08:34 Received image 2 out of 5.
2022-01-20T08:08:31 Capturing 1.570-second image...
2022-01-20T08:08:31 Captured /export/home/nick/EKOS/TEST/Flat/Luminance/Flat_1.570_secs_001.fits
2022-01-20T08:08:31 Received image 1 out of 5.
2022-01-20T08:08:27 Capturing 1.570-second image...
2 years 2 months ago #79676

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

  • Posts: 207
  • Thank you received: 14
Strange. Perhaps something wrong at my end ?
Restarted server (arm64) and client (x86_64). Both Ubuntu focal fossa with latest updates. Kstars 3.5.7. Same results:
ls EKOS/TEST/Flat/Luminance/
Flat_0.660_secs_001.fits

2022-01-20T09:19:57 Captured /export/home/nick/EKOS/TEST/Flat/Luminance/Flat_0.660_secs_001.fits
2022-01-20T09:19:57 Received image 5 out of 5.
2022-01-20T09:19:55 Capturing 0.660-second image...
2022-01-20T09:19:54 Captured /export/home/nick/EKOS/TEST/Flat/Luminance/Flat_0.660_secs_001.fits
2022-01-20T09:19:54 Received image 4 out of 5.
2022-01-20T09:19:52 Capturing 0.660-second image...
2022-01-20T09:19:51 Captured /export/home/nick/EKOS/TEST/Flat/Luminance/Flat_0.660_secs_001.fits
2022-01-20T09:19:51 Received image 3 out of 5.
2022-01-20T09:19:49 Capturing 0.660-second image...
2022-01-20T09:19:48 Captured /export/home/nick/EKOS/TEST/Flat/Luminance/Flat_0.660_secs_001.fits
2022-01-20T09:19:48 Received image 2 out of 5.
2022-01-20T09:19:46 Capturing 0.660-second image...
2022-01-20T09:19:45 Captured /export/home/nick/EKOS/TEST/Flat/Luminance/Flat_0.660_secs_001.fits
2022-01-20T09:19:45 Received image 1 out of 5.
2022-01-20T09:19:43 Capturing 0.660-second image...
2022-01-20T09:19:42 Current ADU 24963 within target ADU tolerance range.
2022-01-20T09:19:39 Capturing 0.660-second image...
2022-01-20T09:19:39 Current ADU is 28257 Next exposure is 0.660202 seconds.
2022-01-20T09:19:36 Capturing 0.750-second image...
2022-01-20T09:19:34 Current ADU is 37324 Next exposure is 0.750000 seconds.
2022-01-20T09:19:31 Capturing 1.000-second image...
2022-01-20T09:19:28 Job requires 1.000-second images, has 0/5 frames captured and will be processed.
2022-01-20T09:18:42 Cooler is off
2 years 2 months ago #79677

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

I can confirm the issue if only DURATION is selected. Try to select "Filter" checkbox while I investigate the issue.
2 years 2 months ago #79678

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

  • Posts: 207
  • Thank you received: 14
Filter checkbox ? Do you mean the "Take Flats at same focus" ?

Ok I retried using a fresh Ubuntu 20.04 x64 desktop install on a vm client and this works ok.

More bizarre. I set the location to Both Local and Remote on my workstation. It records 5 frames on the server but only 1 on the client.
Seems to point to a problem with my workstation.
I have used it several times in the last week (using previous version of kstars) never noticed anything amiss (kstars crashed once but I think this was an issue with the wifi network).

Client directory: /export/home/nick/EKOS/TEST/
Server directory: /home/nick/EKOS/TMP
5 frames saved on server but frames overwritten on client.

2022-01-20T10:42:05 Captured /export/home/nick/EKOS/TEST/Flat/Luminance/Flat_0.554_secs_001.fits
2022-01-20T10:42:05 Received image 5 out of 5.
2022-01-20T10:42:04 Remote image saved to /home/nick/EKOS/TMP/Flat/Luminance/Flat_0.554_secs_005.fits
2022-01-20T10:42:02 Capturing 0.554-second image...
2022-01-20T10:42:02 Captured /export/home/nick/EKOS/TEST/Flat/Luminance/Flat_0.554_secs_001.fits
2022-01-20T10:42:02 Received image 4 out of 5.
2022-01-20T10:42:02 Remote image saved to /home/nick/EKOS/TMP/Flat/Luminance/Flat_0.554_secs_004.fits
2022-01-20T10:42:00 Capturing 0.554-second image...
2022-01-20T10:41:59 Captured /export/home/nick/EKOS/TEST/Flat/Luminance/Flat_0.554_secs_001.fits
2022-01-20T10:41:59 Received image 3 out of 5.
2022-01-20T10:41:59 Remote image saved to /home/nick/EKOS/TMP/Flat/Luminance/Flat_0.554_secs_003.fits
2022-01-20T10:41:57 Capturing 0.554-second image...
2022-01-20T10:41:57 Captured /export/home/nick/EKOS/TEST/Flat/Luminance/Flat_0.554_secs_001.fits
2022-01-20T10:41:57 Received image 2 out of 5.
2022-01-20T10:41:56 Remote image saved to /home/nick/EKOS/TMP/Flat/Luminance/Flat_0.554_secs_002.fits
2022-01-20T10:41:54 Capturing 0.554-second image...
2022-01-20T10:41:54 Captured /export/home/nick/EKOS/TEST/Flat/Luminance/Flat_0.554_secs_001.fits
2022-01-20T10:41:54 Received image 1 out of 5.
2022-01-20T10:41:54 Remote image saved to /home/nick/EKOS/TMP/Flat/Luminance/Flat_0.554_secs_001.fits
2022-01-20T10:41:52 Capturing 0.554-second image...
2022-01-20T10:41:51 Current ADU 24950 within target ADU tolerance range.
2022-01-20T10:41:51 Download Time: 126.74 s, New Download Time Estimate: 122.79 s.
2022-01-20T10:41:51 Remote image saved to /home/nick/EKOS/TMP/Flat/Luminance/Flat_1_secs_003.fits
2022-01-20T10:41:49 Capturing 0.554-second image...
2022-01-20T10:41:48 Current ADU is 33589 Next exposure is 0.553926 seconds.
2022-01-20T10:41:48 Download Time: 123.67 s, New Download Time Estimate: 120.82 s.
2022-01-20T10:41:48 Remote image saved to /home/nick/EKOS/TMP/Flat/Luminance/Flat_1_secs_002.fits
2022-01-20T10:41:45 Capturing 0.750-second image...
2022-01-20T10:41:43 Current ADU is 44541 Next exposure is 0.750000 seconds.
2022-01-20T10:41:43 Download Time: 117.97 s, New Download Time Estimate: 117.97 s.
2022-01-20T10:41:42 Remote image saved to /home/nick/EKOS/TMP/Flat/Luminance/Flat_1_secs_001.fits
2022-01-20T10:41:39 Capturing 1.000-second image...
2022-01-20T10:41:39 Job requires 1.000-second images, has 0/5 frames captured and will be processed.
2022-01-20T10:41:01 Editing job cancelled.
2022-01-20T10:40:09 Editing job #1...
2022-01-20T10:39:45 Captured /export/home/nick/EKOS/TEST/Flat/Luminance/Flat_0.553_secs_001.fits
2022-01-20T10:39:45 Received image 5 out of 5.
2022-01-20T10:39:45 Remote image saved to /home/nick/EKOS/TMP/Flat/Luminance/Flat_0.553_secs_005.fits
2022-01-20T10:39:42 Capturing 0.553-second image...
2022-01-20T10:39:42 Captured /export/home/nick/EKOS/TEST/Flat/Luminance/Flat_0.553_secs_001.fits
2022-01-20T10:39:42 Received image 4 out of 5.
2022-01-20T10:39:42 Remote image saved to /home/nick/EKOS/TMP/Flat/Luminance/Flat_0.553_secs_004.fits
2022-01-20T10:39:40 Capturing 0.553-second image...
2022-01-20T10:39:39 Captured /export/home/nick/EKOS/TEST/Flat/Luminance/Flat_0.553_secs_001.fits
2022-01-20T10:39:39 Received image 3 out of 5.
2022-01-20T10:39:39 Remote image saved to /home/nick/EKOS/TMP/Flat/Luminance/Flat_0.553_secs_003.fits
2022-01-20T10:39:37 Capturing 0.553-second image...
2022-01-20T10:39:37 Captured /export/home/nick/EKOS/TEST/Flat/Luminance/Flat_0.553_secs_001.fits
2022-01-20T10:39:37 Received image 2 out of 5.
2022-01-20T10:39:37 Remote image saved to /home/nick/EKOS/TMP/Flat/Luminance/Flat_0.553_secs_002.fits
2022-01-20T10:39:35 Capturing 0.553-second image...
2022-01-20T10:39:34 Captured /export/home/nick/EKOS/TEST/Flat/Luminance/Flat_0.553_secs_001.fits
2022-01-20T10:39:34 Received image 1 out of 5.
2022-01-20T10:39:34 Remote image saved to /home/nick/EKOS/TMP/Flat/Luminance/Flat_0.553_secs_001.fits
2022-01-20T10:39:32 Capturing 0.553-second image...
2022-01-20T10:39:32 Current ADU 24955 within target ADU tolerance range.
2022-01-20T10:39:31 Remote image saved to /home/nick/EKOS/TMP/Flat/Luminance/Flat_1_secs_004.fits
2022-01-20T10:39:29 Capturing 0.553-second image...
2022-01-20T10:39:29 Current ADU is 33666 Next exposure is 0.552764 seconds.
2022-01-20T10:39:28 Remote image saved to /home/nick/EKOS/TMP/Flat/Luminance/Flat_1_secs_003.fits
2022-01-20T10:39:26 Capturing 0.750-second image...
2022-01-20T10:39:24 Current ADU is 44649 Next exposure is 0.750000 seconds.
2022-01-20T10:39:23 Remote image saved to /home/nick/EKOS/TMP/Flat/Luminance/Flat_1_secs_002.fits
2022-01-20T10:39:20 Capturing 1.000-second image...
2 years 2 months ago #79679

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

Ok I fixed the issue and submitted an MR: invent.kde.org/education/kstars/-/merge_requests/515

I'll try to backport to 3.5.7 along with other bug fixes.
The following user(s) said Thank You: Nick Birkett
2 years 2 months ago #79680

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

Time to create page: 6.194 seconds