conf#

Configuration tools for csky.

Functions:

do_bind(f, conf[, is_class])

Partially bind f by applying configuration conf.

get_obj(cls, conf[, subana, is_class])

Get object of type cls.

overlay(conf[, new_conf])

Override elements of conf with other arguments.

get_llh(a, conf, **kw)

Get a csky.llh.LLHModel.

get_injs(a, llh_model, conf[, do_inj, llh_conf])

Get csky.inj.Injector instances for TRUTH, background, and signal

get_trial_runner([conf, inj_conf])

Get a csky.trial.TrialRunner.

get_multiflare_trial_runner([conf])

Get a csky.trial.MultiflareTrialRunner.

get_sky_scan_trial_runner([conf, inj_conf, ...])

Get a csky.trial.SkyScanTrialRunner.

get_spatial_prior_trial_runner([conf, ...])

Get a csky.trial.SpatialPriorTrialRunner.

get_analysis(repo, *args, **kw)

Get an csky.analysis.Analysis instance.

describe(o[, visited, d, path])

Describe a csky object and any more csky objects inside it.

csky.conf.do_bind(f, conf, is_class=True)[source]#

Partially bind f by applying configuration conf.

csky.conf.get_obj(cls, conf, subana=None, is_class=True, **kw)[source]#

Get object of type cls.

csky.conf.overlay(conf, new_conf={})[source]#

Override elements of conf with other arguments.

csky.conf.get_llh(a, conf, **kw)[source]#

Get a csky.llh.LLHModel.

csky.conf.get_injs(a, llh_model, conf, do_inj=True, llh_conf={}, **kw)[source]#

Get csky.inj.Injector instances for TRUTH, background, and signal

csky.conf.get_trial_runner(conf={}, inj_conf={}, **kw)[source]#

Get a csky.trial.TrialRunner.

csky.conf.get_multiflare_trial_runner(conf={}, **kw)[source]#

Get a csky.trial.MultiflareTrialRunner.

csky.conf.get_sky_scan_trial_runner(conf={}, inj_conf={}, multiflare=False, src_tr=False, **kw)[source]#

Get a csky.trial.SkyScanTrialRunner.

csky.conf.get_spatial_prior_trial_runner(conf={}, inj_conf={}, multiflare=False, src_tr=False, **kw)[source]#

Get a csky.trial.SpatialPriorTrialRunner.

csky.conf.get_analysis(repo, *args, **kw)[source]#

Get an csky.analysis.Analysis instance.

Parameters:
csky.conf.describe(o, visited=None, d=0, path='')[source]#

Describe a csky object and any more csky objects inside it.