utils.get_spectrum#

Back to Module page

Summary#

Function used to dechirp Gets a trigger in the format of trigger, bank_id

Signature#

def get_spectrum(trigger, det_ind = 1, N_freqs = 64, bns = True, use_HM = False)
Input variables#

Name

Type

Default

Description

trigger

det_ind

1

N_freqs

64

bns

True

use_HM

False

Output variables#

Return annotation

Docstring type

Description

None

Docstring#

Function used to dechirp
Gets a trigger in the format of trigger, bank_id

Returns:
    fs_spec,
    spectrum,              - power spectrum of the candidate
    power_spectrum_noise,  - average power spectrum of noise around the candidate
    asd,                   - The ASD at the time,
                             important if you want to compare to expectation
    dechirped_data         - Data around the event, dechirped such that the
                             candidate should contain all the power
                             in a single spectrum