Load Review API

class acispy.load_review.ACISLoadReview(load_name, get_msids=True, tl_file=None)[source]

Parse data from a particular load review for access and plotting of data.

Parameters
  • load_name (string) – The name of the load to examine. Can be the full load specification, e.g. “AUG2717A”, or the last letter can be omitted for the latest iteration, e.g. “MAY0216”.

  • get_msids (boolean, optional) – Whether or not to load MSID data as well as model data for temperatures. Default: False

  • interpolate_msids (boolean, optional) – If True, MSIDs are interpolated to a time sequence that is common with the model data. Default: False

  • tl_file (string, optional) – If MSID data is to be loaded, load from this tracelog file rather than the engineering archive. Default: None

plot(fields, field2=None, lw=1.5, fontsize=18, color=None, color2='magenta', figsize=10, 8, plot=None, tbegin=None, tend=None, annotations=None, ymin=None, ymax=None, ymin2=None, ymax2=None)[source]

Plot temperature and state data from a load review.

Parameters
  • fields (tuple of strings or list of tuples of strings) – A single field or list of fields to plot on the left y-axis.

  • field2 (tuple of strings, optional) – A single field to plot on the right y-axis. Default: None

  • lw (float, optional) – The width of the lines in the plots. Default: 1.5 px.

  • fontsize (integer, optional) – The font size for the labels in the plot. Default: 18 pt.

  • color (list of strings, optional) – The color for the lines plotted on the left y-axis. Default: [“blue”, “red”, “green”, “black”]

  • color2 (string, optional) – The color for the line plotted on the right y-axis. Default: “magenta”

  • figsize (tuple of integers, optional) – The size of the plot in (width, height) in inches. Default: (10, 8)

  • plot (DatePlot or CustomDatePlot, optional) – An existing DatePlot to add this plot to. Default: None, one will be created if not provided.

  • tbegin (string, float, or DateTime object, optional) – The start time of the plot. Default is to plot from the beginning of the load.

  • tend (string, float, or DateTime object, optional) – The end time of the plot. Default is to plot to the ending of the load.

  • annotations (list of strings, optional) – Additional annotations to add to the plot. Available options are “cti_runs”, “comms”, “belts”, “perigee”, “sim_trans”, and “apogee”. Default: None

  • ymin (float, optional) – Set the minimum value of the y-axis on the left side of the plot.

  • ymax (float, optional) – Set the maximum value of the y-axis on the left side of the plot.

  • ymin2 (float, optional) – Set the minimum value of the y-axis on the right side of the plot.

  • ymax2 (float, optional) – Set the maximum value of the y-axis on the right side of the plot.