s82_sampler#

Module Contents#

Classes#

S82Sampler

Sampler of AGN parameters from S82. Parameters can be those used to

Functions#

load_sdss_dr7_catalogs(bandpasses)

clean_shen_et_al_2008_catalog(in_path, bandpasses[, ...])

Clean the catalog in

Attributes#

sampler

s82_sampler.load_sdss_dr7_catalogs(bandpasses)[source]#
s82_sampler.clean_shen_et_al_2008_catalog(in_path, bandpasses, out_path=None)[source]#

Clean the catalog in http://faculty.washington.edu/ivezic/macleod/qso_dr7/Southern_format_DB.html

class s82_sampler.S82Sampler(agn_params, bp_params, bandpasses, out_dir, seed=123)[source]#

Sampler of AGN parameters from S82. Parameters can be those used to render the light curves or those to be inferred by the network.

bp_to_int[source]#
process_metadata(keep_agn_mode='max_obs')[source]#

Process the metadata storing the target labels

_load_metadata()[source]#

Read in the DRW and BH metadata

_apply_selection()[source]#

Apply the MacLeod et al 2010 selection

_set_keep_agn(keep_agn_mode)[source]#

Set which AGN IDs to keep

_collapse_bandpasses()[source]#

Collapse rows for bandpasses belonging to one AGN to a single row

_save_metadata()[source]#
property idx[source]#

Indices of AGNs to sample from

sample()[source]#
__len__()[source]#
s82_sampler.sampler[source]#