sorcha.des

Functions

mem(df)

Memory utility function that returns back how much memory the inputted pandas dataframe is using

runDESSimulation(args, sconfigs[, return_only])

Runs the post processing survey simulator functions that apply a series of

Module Contents

mem(df)[source]

Memory utility function that returns back how much memory the inputted pandas dataframe is using :param df: :type df: pandas dataframe

Returns:

usage

Return type:

int

runDESSimulation(args, sconfigs, return_only=False)[source]

Runs the post processing survey simulator functions that apply a series of filters to bias a model Solar System small body population to what the Cerro Tololo observatory Dark Energy Survey would observe.

Parameters:
  • args (dictionary or sorchaArguments object) -- dictionary of command-line arguments.

  • pplogger (logging.Logger, optional) -- The logger to use in this function. If None creates a new one. Default = None

  • sconfigs (dataclass) -- Dataclass of configuration file arguments.

  • return_only (bool) -- Skip writing to disk and return observations and stats (if requested)

Return type:

None or observations DataFrame and stats DataFrame