Detector Information
The detector information contains the sensitivity and orbits for a given LISA configuration.
LISA Models
- class lisatools.detector.LISAModel(Soms_d, Sa_a, orbits, name)[source]
Model for the LISA Constellation
This includes sensitivity information computed in
lisatools.sensitivity
and orbital information contained in anOrbits
class object.This class is used to house high-level methods useful to various needed computations.
- class lisatools.detector.LISAModelSettings(Soms_d, Sa_a, orbits, name)[source]
Bases:
object
Required LISA model settings:
- Parameters:
LISA Models Stock Options
Orbits
- class lisatools.detector.Orbits(filename, use_gpu=False, armlength=2500000000.0)[source]
Bases:
ABC
LISA Orbit Base Class
- Parameters:
- property xp
numpy or cupy based on self.use_gpu
- open()[source]
Opens the h5 file in the proper mode.
- Returns:
Opened file.
- Return type:
H5 file object
- Raises:
RuntimeError – If backend is opened for writing when it is read-only.
- property t_base: ndarray
Time array from file.
- property ltt_base: ndarray
Light travel times along links from file.
- property n_base: ndarray
Normal unit vectors towards receiver along links from file.
- property x_base: ndarray
Spacecraft position from file.
- property v_base: ndarray
Spacecraft velocities from file.
- property t: ndarray
Configured time array.
- property ltt: ndarray
Light travel time.
- property n: ndarray
Normal vectors along links.
- property x: ndarray
Spacecraft positions.
- property v: ndarray
Spacecraft velocities.
- configure(t_arr=None, dt=None, linear_interp_setup=False)[source]
Configure the orbits to match the signal response generator time basis.
The base orbits will be scaled up or down as needed using Cubic Spline interpolation. The higherarchy of consideration to each keyword argument if multiple are given:
linear_interp_setup
,t_arr
,dt
.If nothing is provided, the base points are used.
- Parameters:
t_arr (
Optional
[ndarray
], default:None
) – New time array.dt (
Optional
[float
], default:None
) – New time step. Will take the time duration to be that of the input data.linear_interp_setup (
Optional
[bool
], default:False
) – IfTrue
, it will create a dense grid designed for linear interpolation with a constant time step.
- Return type:
- get_light_travel_times(t, link)[source]
Compute light travel time as a function of time.
Computes with the c++ backend.
- get_pos(t, sc)[source]
Compute light travel time as a function of time.
Computes with the c++ backend.