Closed raacampbell closed 4 years ago
Thanks for your work on Matlab imports! I've updated the mesoSPIM_Core
to add this information to the metadata (commit d5ef8c), it looks like this:
[CAMERA PARAMETERS] [camera_type] HamamatsuOrcaFlash [camera_exposure] 0.02 [camera_line_interval] 7.5e-05 [x_pixels] 2048 [x_pixels] 2048
Is that a typo? x_pixels
appears twice.
EDIT - never mind I will sort it
Pull request https://github.com/mesoSPIM/mesoSPIM-control/pull/25 corrects this and also corrects another typo I noticed.
BTW do you also want lines 2 and 3 of the meta-data? The information is repeated lower down anyway.
In order read the raw file we need to know the number of pixel rows and columns in a frame. Right now I think all rigs have cameras that are 2048 x 2048 but in future people might use different cameras. It's useful to have this parameter logged so future raw file readers (like the one I'm writing now!) will definitely open the images correctly.