Gravelamps¶
Gravelamps is a package designed to perform Bayesian analysis for gravitationally lensed gravitational wave signals (both real and simulated) with a particular focus on identification of the lens mass density profile using model selection. In so doing, it also aims to provide parameter estimation for both lens and source parameters under the assumption of each of the considered models. Inference is done using the bilby and bilby_pipe frameworks. To allow for large scale deployments, it is able to be automated using the asimov automation framework.
Gravelamps is able to compute the amplification factor for a variety of models in both the wave and geometric optics regimes and allows the user to switch between these regimes freely to allow a great deal of flexibility in the potential mass range of the lensing object. In the wave optics regime, owing to the great difficult of calculating the diffraction integral, Gravelamps makes use of the C arbitrary precision library integrated within FLINT<https://flintlib.org/doc/>_ and grants the user control of the precision to allow the user flexibility in choosing between speed and precision.
Gravelamps is designed to be open and extensible and we welcome contributions, in particular of new lensing models, to allow the community to make this platform as useful as possible.
User Guide
Python API
C++ Documentation
- Gravelamps C++ Library API
- gravelamps/models
- gravelamps/models/isolated-point.h
- gravelamps/models/singular-isothermal-sphere.h
- gravelamps/models/navarro-frenk-white.h
LensingPotential()TimeDelay()MinimumPhase()KFunctionSourceExp()KFunctionBessel()KFunctionPotentialExp()KFunction()Integrand()WaveAmpIntegration()FirstCorrection()SecondCorrection()WaveAmplification()DifLensEq()ImagePositions()Mass()SurfaceDensity()TangentialCaustic()RadialCaustic()Magnification()MorseFactor()GeometricAmplificationSingle()GeometricAmplification()GeometricAmplification()AmplificationFactor()AmplificationFactor()GenerateLensData()
- gravelamps/utils
- gravelamps/models