Sources¶
kHz¶
From Earth we can detect following systems: stellar mass black hole mergers, binary neutron star mergers, stellar mass black hole - neutron star mergers. Each system is represented by its own class.
-
class
gwtoolbox.sources_kHz.
BHB
(cosmos)[source]¶ This is a class to describe stellar mass black hole black hole mergers.
Parameters: cosmos – define cosmological model -
MCMCsample
(n_sources, inits, ranges, T, rho_cri, ant_fun, noise_tab)[source]¶ The Markov-chain-Monte-Carlo sampling according to the distribution ndet(M, eta, z).
Parameters: - n_sources (int) – number of sources to detect
- inits (list of floats) – initial values of z, m1, m2, chi
- ranges (list of list of floats) – parameter ranges
- rho_cri (float) – The detection SNR threshold
- ant_fun (function) – antenna pattern
- noise_tab (array of dtype float) – noise function for detector
Returns: samples of parameters Mchirp,z,m1,m2,chi,D
Return type: (list of arrays of dtype float)
-
cos_mer_rate
(z, m1, m2, chi)[source]¶ The cosmic merger rate density of the stellar-mass BHB mergers.
Parameters: Returns: The number of mergers per year per Gpc3
Return type: (float)
-
density_det
(T, z, m1, m2, chi, rho_cri, ant_fun, noise_tab)[source]¶ The parameter distribution of detected sources.
Parameters: - T (float) – Observation time, in unit of minute
- z (float) – The redshift of the GW source
- m1 (float) – Red-shifted masses of the BHB
- m2 (float) – Red-shifted masses of the BHB
- chi (float) – spin
- rho_cri (float) – The detection SNR threshold
- ant_fun (function) – antenna pattern
- noise_tab (array of dtype float) – noise function for detector
Returns: Number density of detection
Return type: (float)
-
errors_FIM
(n_sources, samples, noise_tab)[source]¶ Return errors of parameters from Fisher Information Matrix
Parameters: - n_sources (int) – number of sources to detect
- samples (list of arrays of dtype float) – sampled parameters
- noise_tab (array of dtype float) – noise function for detector
Returns: errors of sampled parameters m1,m2,chi
Return type: (list of arrays of dtype float)
-
freq_limit
(m1, m2, chi)[source]¶ The frequency upper limit of the waveform.
Parameters: Returns: The upper limit of the frequency
Return type: (float)
-
mod_norm
(Mch, F, iota, z)[source]¶ The normalization constant of the modulus of the GW waveform from stellar-mass binary black holes (BHB) mergers in frequency domain.
Parameters: Returns: The normalization of the GW strain
Return type: (float)
-
mod_shape
(f)[source]¶ The frequency dependence of the modulus of the GW waveform of BHB mergers.
Parameters: f (float or array of dtype float) – Frequencies of GW Returns: The modulus of the waveform corresponds to each frequency in f Return type: (float or array of dtype float)
-
partial
(A, m1, m2, chi, t0, phi0)[source]¶ The matrix of partial derivatives of waveform as function of f
Parameters: Returns: matrix of partial derivatives of (f,i,j), Pij(f)
Return type: (function)
-
phase
(f, m1, m2, chi, t0, phi0)[source]¶ The phase of the waveform of the stellar-mass BHB mergers in the frequency domain.
Parameters: Returns: The phase psi(f) of the waveform as in exp^{−ipsi(f)}
Return type: (array of dtype float)
-
set_model_theta
(new_theta=None)[source]¶ The function to change theta from fiducial to user-defined in cosmic merger rate
Parameters: new_theta (Optional[list of floats]) – new parameter values Returns: theta with new values, if new_theta=None return theta to fiducial Return type: (list of floats)
-
tel_fun
(z, m1, m2, chi, rho_cri, ant_fun, noise_tab)[source]¶ The telescope function of Laser Interferometers and kHz sources.
Parameters: Returns: The probability of detection
Return type: (float)
-
-
class
gwtoolbox.sources_kHz.
DNS
(cosmos)[source]¶ This is a class to describe double neutron stars mergers. It inherits all functions from BHB class except set_model_theta and cos_mer_rate.
Attributes: cosmos: define cosmological model
-
class
gwtoolbox.sources_kHz.
BHNS
(cosmos)[source]¶ This is a class to describe stellar mass black hole neutron stars mergers. It inherits all functions from BHB class except set_model_theta and cos_mer_rate.
Attributes: cosmos: define cosmological model
mHz¶
From space we can observe: super massive black hole mergers, inspirals of binary stellar black hole mergers, inspirals of double neutron star mergers, inspirals of stellar black hole-neutron star mergers, and extreme mass ratio inspirals.
-
class
gwtoolbox.sources_mHz.
SMBHB
(cosmos)[source]¶ This is a class to describe super massive black hole black hole mergers.
Parameters: cosmos – define cosmological model