Skip to main content

GAML: Astrometric MicroLensing prediction using Gaia's data

This Python package searches for astrometric gravitational microlensing events given a list of lens-source pairs, and output quality assessments and astrometric and photometric microlensing effects of significant lensing events.

This project has evolved from Klüter's amlensing, with the following improvements:

  • major overhaul to standardize and generalize the codebase
  • substantial refactors to adapt for general lensing objects and background sources
    • E.g., allow setting their mass, mass error, and individual epochs
  • makes it easier to prepare the input data files, which was abcent in the original code
  • also a few bug fixes, which affects the result (most slightly)

For more detailed changes of this fork, see CHANGES.md and the commit log.

What does it do

  1. GAML will perform several filters to exclude lenses and sources with low quality.
  2. By predicting the motion over a specific time span, GAML determines the time and angular separation of lens-source closest approach.
  3. By sampling the angular Einstein ring radius and angular separation, it calculates the astrometric and photometric observables of the gravitational microlensing event.
    • Such as centroid shift, positive image shift, centroid shift with a luminous lens, and magnification.

Although there are quite some changes from the original codebase, but it is still recommended to read Kluter 2022 for theoretical details.

Documentation

For further documentations, see the docs folder

Metadata

Release files for amlensing 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for amlensing 0.1.2
File Interpreter ABI Platform
amlensing-0.1.2-py3-none-any.whl Python 3 none any Details

Release files / amlensing-0.1.2-py3-none-any.whl

Download URL amlensing-0.1.2-py3-none-any.whl
Size 40.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aaa3b2b5b35db82b1b2d4844384b1ef186cd59327c82b25512bfa84880a2a692
BLAKE2b-256 checksum
How to use checksums
e65e976e551c7dda15b6755993cb458a9a28fa5053691a1f344210cab53cffa5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page