setup_mo_slicer

rubin_sim.maf.batches.setup_mo_slicer(orbit_file, h_range, obs_file=None)

Set up the slicer and read orbit_file and obs_file from disk.

Parameters:
orbit_filestr

The file containing the orbit information.

h_rangenumpy.ndarray or None

The h_range parameter to pass to slicer.readOrbits

obs_filestr, optional

The file containing the observations of each object, optional. If not provided (default, None), then the slicer will not be able to ‘slice’, but can still plot.

Returns:
~rubin_sim.maf.slicer.MoObjSlicer