Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding detector class for calculating LISA projections and response f…
…unction (#4691) * Added LISA detector class with GPU support * Fixed bug when calling get_tdi w/out setting t0 * Fixed sampling frequency bug in pyResponseTDI class initialization; fixed bug where orbit file was truncated by default init params * TDI configuration now actually updates when providing tdi input in get_tdi() * Added reference_time to methods as kwarg; revised methods to be more consistent with LIGO detector class * Revised init signature to be more similar to LIGO detector; rebase to most recent PyCBC patch (6/4/24) * Added polarization to project_wave signature; allow for shifting of orbit file start time * Add functionality to remove or zero edge data * edited polarization rotation function; final touches for first draft * changed t0 to kwarg in init * fix TypeError in unittest * fix bug when calling ESAOrbits without lisatools * fix case where t0 is not None; remove debug statements/white space; edit companion (temp pypmc fix, add FLR) * Indentation fix in init * add padding (for signals that taper to zero); more cleanup * add controls for zero padding data to project_wave; add controls for specifying orbit start times for numerical data * remove orbit reference time; move TDI arguments to project_wave * add time conversions (GPS time offset, SSB to LISA); moved more padding code from get_links to project_wave * add debug statements, adjust SSB to LISA time conversions, fix sky coord labels * ref time accepts anything castable to float, tweak how TDI chans are processed and saved * start reworking reference time to replicate bbhx (i.e. reference time inputs are no longer necessarily start time) * fix reference time to correctly calculate signal start time; fix sample times conversion to be based on reference time * fixes to start time calculation * set TDI chans to SSB times, clean up unnecessary attributes * rebase; update companion.txt to match master * remove data if signal start time is before orbit start time (WIP) * cut data if waveform extends outside of orbit file times; remove print statements * add support for LDC software; rework space-based detector class such that detector flag specifies code base (currently supports LDC, FLR) * rewrite LDC and FLR implementations as separate classes; rewrite space detector class using ABC * fixed import errors and removed print statements * revert changes to companion * add flr warning message * move common methods in base class to functions; move non-required attributes from base to child classes * restructured detector file into module; separated ground- and space-based detectors/utils into different files * add imports in detector init to get unittest working * make polarization optional in project_wave * rerun checks * fix error when specifying orbits in space_detector * match detector module to match modifications for injection module * change channel names, add helper functions to work with injection module modifications * reorganize base class; add __all__ properties to files; clean up docstrings --------- Co-authored-by: alcorrei <[email protected]>
- Loading branch information