SchemaConverter¶
- class rubin_sim.scheduler.utils.SchemaConverter¶
Bases:
object
Record how to convert an observation array to the standard opsim schema
Methods Summary
obs2opsim
(obs_array[, filename, info, ...])convert an array of observations into a pandas dataframe with Opsim schema
opsim2obs
(filename)convert an opsim schema dataframe into an observation array.
Methods Documentation
- obs2opsim(obs_array, filename=None, info=None, delete_past=False)¶
convert an array of observations into a pandas dataframe with Opsim schema
- opsim2obs(filename)¶
convert an opsim schema dataframe into an observation array.