A Python library for characterizing and using the CCD cameras developed by Marshall Space Flight Center.
More information is available in the documentation.
msfc-ccd is available on PyPI and can be installed using pip:
pip install msfc-ccdLoad and display a single FITS file.
import matplotlib.pyplot as plt
import named_arrays as na
import msfc_ccd
# Load the sample image
image = msfc_ccd.fits.open(msfc_ccd.samples.path_fe55_esis1)
# Display the sample image
fig, ax = plt.subplots(
constrained_layout=True,
)
im = na.plt.imshow(
image.outputs.value,
axis_x=image.axis_x,
axis_y=image.axis_y,
ax=ax,
);