Top-level API§
Top-level API of the project.
Typed LISA Toolkit has a top-level module, typed_lisa_toolkit, with functions for
loading data and constructing objects. It also has two submodules:
typed_lisa_toolkit.typesfor core typed objects.typed_lisa_toolkit.shopfor utility functions acting on those objects (conversions, transforms, etc.). Shop for what you need in this module.
This page focuses on the top-level module.
Loaders§
Functions that load data from disk or memory in common formats.
Load the data from a saved HDF5 file. |
|
Load Sangria dataset or Sangria HM dataset. |
|
Load the Mojito data. |
|
Load the data from a preprocessed Mojito data segment. |
|
Load the LDC dataset. |
Plotting§
Functions for visualizing objects.
Plot a single object with customizable visualization options. |
|
Plot two objects for comparison, with optional difference view. |
Factory Functions§
These are functions that create objects of types in types,
but with a nicer API than the class initializer methods. Below, they are grouped by
purpose.
Representations§
Representations are the most fundamental types in TLT, and are components of other more involved types.
They house numerical signal arrays, together with time and/or frequency grids and other metadata. They support not only basic algebraic operations as the underlying arrays do, but also some grid-aware operations such as semantic subsetting and embedding.
Build an |
|
Build a |
|
Build a |
|
Build a |
|
Build an |
|
Build a |
|
Alias for |
The following functions construct new representations by processing existing representations:
Densify a sparse phasor representation by interpolation. |
Data§
Data objects house multi-channel LISA data, where all channels are of the same representation type suitable for representing recorded data.
Construct a |
|
Construct |
|
Construct |
|
Construct |
|
Construct |
|
Construct a |
|
Construct an |
|
Construct an |
|
Construct a |
|
Construct a |
Waveforms§
Similar to data objects, waveform objects group multiple representations together. Waveform objects are meant to represent modeled signals, and as such, they can carry theoretical information such as harmonic content, which is not the case for data objects.
In the nomenclature of the project, “raw” waveforms are detector-independent strains, such as the two polarizations (\(h_+\) and \(h_\times\)) or the spherical harmonic decomposition (\(h_{lm}\)); “projected” waveforms depend on LISA’s response, and are typically TDI channel signals.
The factory functions are available in long-form and short aliases:
|
Build a |
Build a |
|
|
Build a |
|
Build a |
Build a |
|
Build a |
|
|
Alias for |
|
Alias for |
|
Alias for |
|
Alias for |
|
Alias for |
|
Alias for |
The following functions construct new waveforms by processing existing waveforms:
Sum over modes. |
|
Densify |
|
Densify |
|
Densify |
|
Convert phasor-valued waveform to series-valued waveform. |
|
Convert |
|
Convert |
|
Convert |
|
Return a function to convert a sparse phasor projected waveform to a dense phasor projected waveform (Deprecated). |
Noise Models and Likelihoods§
Make a |
|
Construct a |
|
Construct a WhittleLikelihood. |
Miscellaneous§
The following functions do not fit into the above categories, but are useful helpers for constructing the above objects.