Aspect

Module for processing aspect data

class gripspy.science.aspect.PYFrame(filename, uid=158434)[source]

Class for a pitch-yaw image

Parameters:
  • filename (str) – The name of the FITS file of the camera frame
  • uid (int) – Defaults to the UID of the pitch-yaw camera, but can be set to a different camera’s UID or to None
plot_image(**imshow_kwargs)[source]

Plots the pitch-yaw image, including Sun/fiducial detections.

class gripspy.science.aspect.PYSequence(list_of_files)[source]

Class for a sequence of pitch-yaw images

Parameters:list_of_files (list of str) – List of FITS files with pitch-yaw images
dataframe

Obtain a pandas DataFrame

plot_centers(**dataframe_plot_kwargs)[source]

Plot the center of the brightest Sun across the entire image sequence

class gripspy.science.aspect.RFrame(filename, uid=142974)[source]

Class for a roll image

Parameters:
  • filename (str) – The name of the FITS file of roll image
  • uid (int) – Defaults to the UID of the roll camera, but can be set to a different camera’s UID or to None
static atmosphere_asym(x, midpoint, scale, amp1, amp2, dc)[source]

Exponential atmospheric model with asymmetry in normalization

static atmosphere_sym(x, midpoint, scale, amp, dc)[source]

Exponential atmospheric model with symmetry (i.e., hyperbolic cosine)

plot_image(**imshow_kwargs)[source]

Plots the roll image, including annotations.

class gripspy.science.aspect.RSequence(list_of_files)[source]

Class for a sequence of roll images

Parameters:list_of_files (list of str) – List of FITS files with roll images
dataframe

Obtain a pandas DataFrame

plot_midpoint(**dataframe_plot_kwargs)[source]

Plot the midpoints