nu_coincidence.blazar_nu.connected module

class nu_coincidence.blazar_nu.connected.BlazarNuConnectedResults(file_name_list: List[str], append_flux_factors: bool = False)

Bases: Results

Handle results from BlazarNuConnectedSim.

property bllac
property fsrq
static merge_over_flux_factor(sub_file_names: List[str], flux_factors, write_to: Optional[str] = None, delete=False)
static reorganise_file_structure(file_name: str, write_to: Optional[str] = None, delete=False)
class nu_coincidence.blazar_nu.connected.BlazarNuConnectedSim(file_name='output/test_connected_sim.h5', group_base_name='survey', N=1, bllac_config: Optional[str] = None, fsrq_config: Optional[str] = None, nu_config: Optional[str] = None, nu_hese_config: Optional[str] = None, nu_ehe_config: Optional[str] = None, seed=1000, flux_factor: Optional[float] = None, use_pop_flux_factors: bool = False, flare_only: bool = False, det_only: bool = False)

Bases: BlazarNuSim

Set up and run simulations of neutrinos produced by blazars.

class nu_coincidence.blazar_nu.connected.BlazarNuConnection(bllac_pop: PopsynthWrapper, fsrq_pop: PopsynthWrapper, nu_obs: IceCubeObsWrapper, name='blazar_nu_connection', use_pop_flux_factors: bool = False, flare_only: bool = False, det_only: bool = False)

Bases: BlazarNuAction

Handle connected blazar and neutrino observations.

property bllac_connection
property fsrq_connection
write()