gwcelery.tasks.em_bright module

Qualitative source classification for CBC events.

gwcelery.tasks.em_bright.source_classification(m1, m2, c1, threshold=3.0)[source]

This is the place-holder function for the source classfication pipeline. In the future, the actual source classification pipeline will be integrated in three steps. First step will be the simple integration of the point-estimate code that will be using the em_progenitors code from PyCBC. In the second step, rapid_pe needs to be made Python3 compatible so that the ambiguity ellipsoid feature can be brough back into action. And, finally the O3 implementation will be incorporated which is currently a work in progress. This placeholder code will only act upon the mass2 point estimate value and classify the systems as whether they have a neutron or not. It does not attempt to classify for the remnant mass, returns a NaN value for that probability.

(task)gwcelery.tasks.em_bright.classifier(coinc_psd, graceid)[source]

This function is currently actually calculating the simple source classification probability (m1 < 3.0 M_sun). In the future this code will call a classification code that will be put on lalinference.