Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,37 @@

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)