sara-spec¶
-
sara_spec.
get_cmap
()¶ Return red cmap with masked values in purple
-
sara_spec.
get_cmap_sat
()¶ Return red cmap with masked values in purple and over/under in green/blue
-
sara_spec.
write_overscan
(length, width, left, right)¶ Write the CCD size and overscan information to a file
The overscan is written as 01-CalibrationMasters/overscan.dat
- Parameters
length – the long size of the CCD (the dispersion direction, columns)
width – the short size of the CCD (the cross-dispersion direction, rows)
left – the column at which the overscan ends on the left size of the ccd (thus ignoring column 0-left)
right – the column at which the overscan stars on the right size of the ccd (thus ignoring column right-length)
Todo
Add checks that right<left, and right <= length