Skip to content

sun-data/msfc-ccd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages