Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.62 KB

File metadata and controls

44 lines (33 loc) · 1.62 KB

msfc-ccd

tests codecovBlack Ruff Documentation Status PyPI version

A Python library for characterizing and using the CCD cameras developed by Marshall Space Flight Center.

More information is available in the documentation.

Installation

msfc-ccd is available on PyPI and can be installed using pip:

pip install msfc-ccd

Examples

Load 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,
);

A sample FITS image