obs_ops submodule

This submodule includes functions for processing observation-level data, including making a SSO footprint.

obs_ops.sources

Module containing functions for making a SSO footprint.

sotodlib.obs_ops.sources.get_sso(aman, sso, nstep=100)[source]

Function for getting xi, eta position of given sso.

Parameters:
  • aman (AxisManager) – Input axis manager.

  • sso (str) – Name of input sso.

  • nstep (int) – Number of steps to downsample the TOD.

Returns:

  • xi (array) – Array of xi positions.

  • eta (array) – Array of eta positions.

obs_ops.splits

Module containing functions for making splits of the data

sotodlib.obs_ops.splits.det_splits_relative(aman, det_left_right=False, det_upper_lower=False, det_in_out=False, wrap=None)[source]

Function for adding relative detector splits to aman. A new FlagManager called det_flags will be created and the flags put there.

Parameters:
  • aman (AxisManager) – Input axis manager.

  • det_left_right (Bool) – Perform a detector left/right split

  • det_upper_lower (Bool) – Perform a detector upper/lower split

  • det_in_out (Bool) – Perform a detector in/out split

  • wrap (Bool or str) – If True, the flags with the det splits will be wrapped to aman.det_flags. If a string, the flags with the det splits will be wrapped to aman.string

Returns:

fm

Return type:

FlagManager with the requested flags