Skip to main content

This package provides a fast waveform generator for galactic binaries, as seen by the LISA instrument

Project description

FastGB

Description

This package provides a fast waveform generator for galactic binaries, as seen by the LISA instrument. Galactic binaries are described by the following 8 parameters: frequency (f0), frequency evolution (fdot), amplitude (ampl), sky location (beta, lambda), polarisation (psi), inclination (incl) and initial phas (phi0).

The main functionality of this package is to compute time delay interferometry (TDI) observables from those parameters, with the following options:

  • TDI 1.5 or 2nd generation
  • multiple sources generation at a time
  • analytic or interpolated orbits from file
  • numpy arrays or jax arrays for auto differentiation

It is based on 10.1103/physrevd.76.083006 and follows LISA Data Challenge (LDC) conventions.

Installation

pip install fastgb

or

pip install fastgb[jax]

Usage

import numpy as np
from lisaorbits import EqualArmlengthOrbits
from fastgb import fastgb

pGB = np.array([0.00135962, # f0 Hz
                8.94581279e-19, # fdot "Hz^2
		1.07345e-22, # ampl strain
		0.312414,  # eclipticlatitude radian
               -2.75291,   # eclipticLongitude radian
	        3.5621656, # polarization radian
                0.523599,  # inclination radian
		3.0581565, # initial phase radian
      	       ])

fgb = fastgb.FastGB(delta_t=5, T=365*24*3600, N=128, orbits=EqualArmlengthOrbits())
X, Y, Z, kmin = fgb.get_fd_tdixyz(pGB.reshape(1,-1))

Contributors

Based on work from:

  • Stas Babak
  • Jean-Baptiste Bayle
  • Téo Bouvard
  • Christian Chapman-Bird
  • Maude Le Jeune

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastgb-0.0.2.tar.gz (6.1 kB view details)

Uploaded Source

File details

Details for the file fastgb-0.0.2.tar.gz.

File metadata

  • Download URL: fastgb-0.0.2.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.17

File hashes

Hashes for fastgb-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c34867178a860631788d0697475b57d44e67f367f7b127161fcb040d3e08ff0a
MD5 f73bd07eecd40270f940a93b984cd0c7
BLAKE2b-256 9ecdf0385ac008a33ff632a43900ccc83af6a7330de3589f2ecc4f2e81206a18

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page