API Reference#

overlappy.io Module#

Utility functions for writing overlappogram data I/O

Functions#

write_overlappogram(cube, filename)

read_overlappogram(filename[, flat])

overlappy.reproject Module#

Tools for reprojecting spectral cubes to overlappograms

Functions#

reproject_to_overlappogram(cube, detector_shape)

Reproject a spectral cube to an overlappogram.

overlappy.util Module#

Utility functions

Functions#

draw_hgs_grid(ax, observer)

color_lat_lon_axes(ax[, lon_color, ...])

hgs_observer_to_keys(observer)

pcij_to_keys(pcij_matrix)

strided_array(array, N, **kwargs)

Return a "strided" version of the array.

overlappy.wcs Module#

Functions for building overlappogram WCSs

Functions#

rotation_matrix(angle)

3D rotation matrix that applies a rotation in only the first two dimensions.

dispersion_matrix(order)

This operation represents a skew according to the spectral order along the first pixel axis.

pcij_matrix(roll_angle, dispersion_angle[, ...])

Create a PC_ij matrix for an slitless spectrogram.

overlappogram_fits_wcs(data_shape, scale[, ...])

Construct a FITS WCS for an overlappogram.