usage: analyze_bright_image [-h] --front-illuminated FRONT_ILLUMINATED
--back-illuminated BACK_ILLUMINATED -o OUTFILE
[--minccf MINCCF] [--pad PAD]
[--ang-step ANG_STEP] [--nproc NPROC]
[--phi-arm-angle-table PHI_ARM_ANGLE_TABLE]
[--plot]
Front illuminated FVC image processing
optional arguments:
-h, --help show this help message and exit
--front-illuminated FRONT_ILLUMINATED
path to a front illuminated FVC image fits file
(default: None)
--back-illuminated BACK_ILLUMINATED
path to a back-illuminated FVC image fits file
(fiducials+fibers ON) or a CSV file with spots
positions (default: None)
-o OUTFILE, --outfile OUTFILE
path to output table (default: None)
--minccf MINCCF minimum cross-correlation between the template and
data to remove non-fibers/fiducials (default: 0.2)
--pad PAD padding around the fiber to analyze (default: 40)
--ang-step ANG_STEP step in degrees?? in phi angle scan (default: 1.0)
--nproc NPROC number of processes for multiprocessing (default: 1)
--phi-arm-angle-table PHI_ARM_ANGLE_TABLE
for debugging: skip the phi arm detection and use
directly this table (default: None)
--plot plot (default: False)
Import bright image analysis code from Sergey.
Example