LutherAstrophysics / docs

0 stars 0 forks source link

Problem with image size for 2022 new camera data #12

Open minhviet0308 opened 2 years ago

minhviet0308 commented 2 years ago

@wilkerje For the two most recent nights, June 19 and 20, the dark frames and the images are not sized correctly. They should be a 2048 x 2048 matrix, but instead a 2056 x 2048, with a clear black/grey line region on the right. The other nights do not have this issue, and the flat frames for June 19 also doesn't have this issue. Do you think this is caused by the camera?

wilkerje commented 2 years ago

No idea.

On Thu, Jun 23, 2022, 3:33 PM minhnguyen @.***> wrote:

@wilkerje https://github.com/wilkerje For the two most recent nights, June 19 and 20, the dark frames and the images are not sized correctly. They should be a 2048 x 2048 matrix, but instead a 2056 x 2048, with a clear black/grey line region on the right. The other nights do not have this issue, and the flat frames for June 19 also doesn't have this issue. Do you think this is caused by the camera?

— Reply to this email directly, view it on GitHub https://github.com/LutherAstrophysics/docs/issues/12#issuecomment-1164847557, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZNOK3MTN7FUXBMIK66DB5TVQTCYTANCNFSM5ZVS6EQA . You are receiving this because you were mentioned.Message ID: @.***>

sumanchapai commented 2 years ago

It would be nice if the software to produce master dark and master flat are agnostic to whether we're processing image from old or the new camera... and this could be done because the master dark produces image of the same size as one of the raw darks given and masterflat does similar… but if we have this issue, we would have to say the code to crop out the darks to a fixed size (2048X2048) for new camera and sth diff in cases of old before generating master dark…

how do we go about solving this you suggest?

wilkerje commented 2 years ago

I'll have to look at this more closely. I suspect we do just need to cut out the empty region to create the 2048 by 2048 array. I suspect if I shut everything down and power back up this might go away but I would need more time for this process than would be available prior to tonight since we need thermal stabilization. I can do it tomorrow. This camera has a mode where it can take two frames and display them side by side so that the acquisition software is designed to do this stitching together of frames. i suspect it is trying to do something like that and messing it up and everything needs a restart. On the 19th the system hung when I tried to take darks and had to be hard rebooted which might have led to this issue, The whole system seems a little buggy currently but we should build a code to crop out unwanted pixels.