Metadata-Version: 2.4
Name: msfc-ccd
Version: 1.0.1
Summary: A Python library for characterizing and using the CCD cameras developed by Marshall Space Flight Center.
Author-email: "Roy T. Smart" <roytsmart@gmail.com>
Project-URL: Homepage, https://github.com/sun-data/msfc-ccd
Project-URL: Documentation, https://msfc-ccd.readthedocs.io/en/latest
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: astropy
Requires-Dist: named-arrays~=2.0
Requires-Dist: optika~=2.0
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Provides-Extra: doc
Requires-Dist: pytest; extra == "doc"
Requires-Dist: matplotlib; extra == "doc"
Requires-Dist: graphviz; extra == "doc"
Requires-Dist: sphinx-autodoc-typehints; extra == "doc"
Requires-Dist: sphinxcontrib-bibtex; extra == "doc"
Requires-Dist: pydata-sphinx-theme; extra == "doc"
Requires-Dist: ipykernel; extra == "doc"
Requires-Dist: jupyter-sphinx; extra == "doc"
Requires-Dist: nbsphinx; extra == "doc"
Requires-Dist: sphinx-codeautolink; extra == "doc"
Requires-Dist: sphinx-favicon; extra == "doc"

# msfc-ccd

[![tests](https://github.com/sun-data/msfc-ccd/actions/workflows/tests.yml/badge.svg)](https://github.com/sun-data/msfc-ccd/actions/workflows/tests.yml)
[![codecov](https://codecov.io/github/sun-data/msfc-ccd/graph/badge.svg?token=sbIjziJUHL)](https://codecov.io/github/sun-data/msfc-ccd)[![Black](https://github.com/sun-data/msfc-ccd/actions/workflows/black.yml/badge.svg)](https://github.com/sun-data/msfc-ccd/actions/workflows/black.yml)
[![Ruff](https://github.com/sun-data/msfc-ccd/actions/workflows/ruff.yml/badge.svg)](https://github.com/sun-data/msfc-ccd/actions/workflows/ruff.yml)
[![Documentation Status](https://readthedocs.org/projects/msfc-ccd/badge/?version=latest)](https://msfc-ccd.readthedocs.io/en/latest/?badge=latest)
[![PyPI version](https://badge.fury.io/py/msfc-ccd.svg)](https://badge.fury.io/py/msfc-ccd)

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

More information is available in the [documentation](https://msfc-ccd.readthedocs.io/).

## Installation

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

```shell
pip install msfc-ccd
```

## Examples

Load and display a single FITS file.

```python3
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](https://msfc-ccd.readthedocs.io/en/latest/_images/index_0_0.png)
