sorcha.modules.PPReadPointingDatabase

Functions

PPReadPointingDatabase(bsdbname, observing_filters, ...)

Reads in the pointing database as a Pandas dataframe.

Module Contents

PPReadPointingDatabase(bsdbname, observing_filters, dbquery, surveyname, fading_function_on=0)[source]

Reads in the pointing database as a Pandas dataframe.

Parameters:
  • bsdbname (string) -- File location of pointing database.

  • observing_filters (list of strings) -- List of observation filters of interest.

  • dbquery (string) -- Databse query to perform on pointing database.

surveynamestring

"Name of survey being simulated"

Returns:

dfo -- Dataframe of pointing database.

Return type:

pandas dataframe