Package pylal :: Module bayespputils :: Class BurstPosterior
[hide private]
[frames] | no frames]

Class BurstPosterior

source code

object --+    
         |    
 Posterior --+
             |
            BurstPosterior

Data structure for a table of posterior samples .

Instance Methods [hide private]
 
__init__(self, commonResultsFormatData, SimBurstTableEntry=None, injFref=None, SnglBurstList=None, name=None, description=None, votfile=None)
Constructor.
source code
number
_inj_longitude(self, inj)
Return the mapping of longitude found in inj to the interval [0,2*pi).
source code

Inherited from Posterior: DIC, __getitem__, __iter__, __len__, __str__, append, append_mapping, bootstrap, bySample, delete_NaN_entries, delete_samples_by_idx, description, di_evidence, dim, elliptical_subregion_evidence, extend_posterior, forward, gelman_rubin, harmonic_mean_evidence, healpix_map, injection, longest_chain_cycles, maxL, maxP, means, medians, name, names, pop, samples, set_injection, set_triggers, stdevs, triggers, write_to_file, write_vot_info

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, commonResultsFormatData, SimBurstTableEntry=None, injFref=None, SnglBurstList=None, name=None, description=None, votfile=None)
(Constructor)

source code 

Constructor.

Parameters:
  • commonResultsFormatData (custom type) - A 2D array containing the posterior samples and related data. The samples chains form the columns.
  • SimInspiralTableEntry (glue.ligolw.lsctables.SimInspiral) - A SimInspiralTable row containing the injected values.
  • SnglInspiralList (list) - A list of SnglInspiral objects containing the triggers.
Overrides: object.__init__

_inj_longitude(self, inj)

source code 

Return the mapping of longitude found in inj to the interval [0,2*pi).

Parameters:
  • inj (glue.ligolw.lsctables.SimInspiral) - a custom type with the attribute 'longitude'.
Returns: number
Overrides: Posterior._inj_longitude