coherent_score_mz_fast.create_samples#
Back to Module page
Summary#
Create samples and save to file
Signature#
def create_samples(fname, nra = 100, ndec = 100, detnames = ('H1', 'L1'), gps_time = 1136574828.0, dt_sinc = DEFAULT_DT, dt_max = DEFAULT_DT_MAX, nsamples = 100000)
Name |
Type |
Default |
Description |
|---|---|---|---|
|
File name of archive to create |
||
|
100 |
Number of right ascensions |
|
|
100 |
Number of declinations |
|
|
(‘H1’, ‘L1’) |
Names of detectors for the structure |
|
|
1136574828.0 |
Fiducial GPS time for mapping between the RA-DEC and time delays (arbitrary for typical usage) |
|
|
DEFAULT_DT |
Time resolution for marginalization |
|
|
DEFAULT_DT_MAX |
Rough upper bound on the individual delays |
|
|
100000 |
Number of random samples of the inclination and the polarization |
Output variables#
Return annotation |
Docstring type |
Description |
|---|---|---|
|
Docstring#
Create samples and save to file
:param fname: File name of archive to create
:param nra: Number of right ascensions
:param ndec: Number of declinations
:param detnames: Names of detectors for the structure
:param gps_time:
Fiducial GPS time for mapping between the RA-DEC and time delays
(arbitrary for typical usage)
:param dt_sinc: Time resolution for marginalization
:param dt_max: Rough upper bound on the individual delays
:param nsamples:
Number of random samples of the inclination and the polarization
:return: