Skip to main content

jacscanomaly

Documentation Status

Find short anomalies in microlensing light curves.

Fit a single-lens model (PSPL, FSPL, parallax), scan its residual for short bumps and dips, and describe what is found: a host fit the anomalies do not pull, and each anomaly as bump / dip / caustic with its time and FWHM.

Documentation: https://jacscanomaly.readthedocs.io/en/latest/

Installation

pip install jacscanomaly

Example

One light curve is one Event; the steps are its methods and the results stay on it.

import numpy as np
from jacscanomaly import Event

time, flux, ferr = np.load("example/example_data.npy").T
ev = Event(time, flux, ferr, ra_deg=268.4, dec_deg=-29.2, ephemeris="roman.txt")

ev.fit("pspl")
pspl_scan = ev.scan()
if pspl_scan.detected:
    ev.fit("fspl", start="pspl")
    fspl_scan = ev.scan()
    ev.fit("parallax", start="pspl")
    parallax_scan = ev.scan()
    if fspl_scan.detected and parallax_scan.detected:
        ev.fit_atoms("pspl")
        ev.fit_atoms("fspl")
        ev.fit_atoms("parallax")

ev.summary()
ev.write_json("event.json")
ev.plot_result("pspl")

Example data

The example light curves are drawn from 2,371 simulated Roman light curves of planetary microlensing events (with parallax and orbital motion), made by the Roman Galactic Exoplanet Survey Project Infrastructure Team (RGES PIT), WG07 Survey Simulations and Pipeline Validation (Farzaneh Zohrabi, Matthew Penny, Macy Huston, Ali Crisp, et al.), assuming the Cassan exoplanet mass function.

Background

The residual scan over anomaly times and durations follows the systematic KMTNet AnomalyFinder search:

Zang, W., Jung, Y., Yee, J., et al. (2021). Systematic KMTNet Planetary Anomaly Search, Paper I: OGLE-2019-BLG-1053Lb, A Buried Terrestrial Planet. AJ, 162, 163. DOI: 10.3847/1538-3881/ac12d4

Citation

If you use jacscanomaly in academic work, please cite the software (citation.cff).

Development

git clone git@github.com:NunotaKansuke/jacscanomaly.git
cd jacscanomaly
pip install -e ".[dev]"
pytest
sphinx-build -W -b html docs docs/_build/html

This package was developed with the help of AI coding assistants: OpenAI ChatGPT / Codex and Anthropic Claude (Claude Code).

Metadata

Release files for jacscanomaly 1.1.1

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

Source distribution (sdist)

Source distribution for jacscanomaly 1.1.1
File Size Uploaded Provenance Actions
jacscanomaly-1.1.1.tar.gz 1.9 MB With provenance Details for jacscanomaly-1.1.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for jacscanomaly 1.1.1
File Actions
jacscanomaly-1.1.1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for jacscanomaly-1.1.1-cp313-cp313-win_amd64.whl
jacscanomaly-1.1.1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details for jacscanomaly-1.1.1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
jacscanomaly-1.1.1-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for jacscanomaly-1.1.1-cp313-cp313-macosx_11_0_arm64.whl
jacscanomaly-1.1.1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for jacscanomaly-1.1.1-cp312-cp312-win_amd64.whl
jacscanomaly-1.1.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details for jacscanomaly-1.1.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
jacscanomaly-1.1.1-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for jacscanomaly-1.1.1-cp312-cp312-macosx_11_0_arm64.whl
jacscanomaly-1.1.1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for jacscanomaly-1.1.1-cp311-cp311-win_amd64.whl
jacscanomaly-1.1.1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details for jacscanomaly-1.1.1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
jacscanomaly-1.1.1-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for jacscanomaly-1.1.1-cp311-cp311-macosx_11_0_arm64.whl
jacscanomaly-1.1.1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for jacscanomaly-1.1.1-cp310-cp310-win_amd64.whl
jacscanomaly-1.1.1-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details for jacscanomaly-1.1.1-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
jacscanomaly-1.1.1-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for jacscanomaly-1.1.1-cp310-cp310-macosx_11_0_arm64.whl

Total release size: 28.0 MB

Release files / jacscanomaly-1.1.1.tar.gz

Download URL jacscanomaly-1.1.1.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
205d0b96641fb91e835c06724882807202bf95400d41802e57e8b785e5324578
BLAKE2b-256 checksum
How to use checksums
bb3b966457c282c6cee2a6d4371d754683e7eef60427da9bae2e45bbd770faa4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / jacscanomaly-1.1.1-cp313-cp313-win_amd64.whl

Download URL jacscanomaly-1.1.1-cp313-cp313-win_amd64.whl
Size 2.3 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
a4db0fce8a5f04d9df6afd3559e8a5a04292d65be7b8db0eb2a9806b83b55bfa
BLAKE2b-256 checksum
How to use checksums
c3797ddbbf8a098641430d7c986f9293e4120c9944df44d3506f83f25f5d9a34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / jacscanomaly-1.1.1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL jacscanomaly-1.1.1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 2.3 MB
Tags CPython 3.13 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
7943c08a2bd35bb15e7a728cf4b6c60eb5c2aaa410e39138ad38f1f4c2012244
BLAKE2b-256 checksum
How to use checksums
569c7359b45fbbba4e7ea50b089e5d54fd68b7ff3173c2aac85376e08064f3c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / jacscanomaly-1.1.1-cp313-cp313-macosx_11_0_arm64.whl

Download URL jacscanomaly-1.1.1-cp313-cp313-macosx_11_0_arm64.whl
Size 2.0 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c7d9fb8994d9bf35d174106934277ac38baf29fef94580f14a94cb8649138a74
BLAKE2b-256 checksum
How to use checksums
c9dfdeb80551bcd41a19c98473593ebbcd762771c3afadd374071d77dd8a7758
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / jacscanomaly-1.1.1-cp312-cp312-win_amd64.whl

Download URL jacscanomaly-1.1.1-cp312-cp312-win_amd64.whl
Size 2.3 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
2f29b9c183124ecf4df0be577d8bb35d31cf96dbac998f45263dd2c734d6a36e
BLAKE2b-256 checksum
How to use checksums
ec8638e82b511521973a4ca060ea5a734f7e16afa2da00a892d287b09c292c4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / jacscanomaly-1.1.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL jacscanomaly-1.1.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 2.3 MB
Tags CPython 3.12 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
fda4ddda008293508ff029de38a0cc8d2c9a5ef447350e5519c295de793e7664
BLAKE2b-256 checksum
How to use checksums
7a188b3cea44a40c3f3d0b320501f7612105ac3b0a4665dab7602932108c66da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / jacscanomaly-1.1.1-cp312-cp312-macosx_11_0_arm64.whl

Download URL jacscanomaly-1.1.1-cp312-cp312-macosx_11_0_arm64.whl
Size 2.0 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
dd5378560bdb311e0c858621537eca204448597befb9a40cbcd837cea0e40e0d
BLAKE2b-256 checksum
How to use checksums
084a7192b6881b88b44fe2a605e2159a128ffad42a7463c7f04b5a2deb6d1514
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / jacscanomaly-1.1.1-cp311-cp311-win_amd64.whl

Download URL jacscanomaly-1.1.1-cp311-cp311-win_amd64.whl
Size 2.3 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
8928a136f98c0028896275c7ae344afa68e3499d64d8e0105c3407b2d5f4d976
BLAKE2b-256 checksum
How to use checksums
ee0afdbdf26e0ccfa32ab8d5d91eeb87706e93ce6f051dd10cdf8cd7fe20d1c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / jacscanomaly-1.1.1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL jacscanomaly-1.1.1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 2.3 MB
Tags CPython 3.11 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
7226c593d80bb57f937e832ccb9d557c73b40cdaf0357d7b51dee1b8e0382e56
BLAKE2b-256 checksum
How to use checksums
c800583cff6f68a7c3c1821c38ba6fc14e9287847e770cd2b7950b7552b29e00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / jacscanomaly-1.1.1-cp311-cp311-macosx_11_0_arm64.whl

Download URL jacscanomaly-1.1.1-cp311-cp311-macosx_11_0_arm64.whl
Size 2.0 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e93a10c4b254f66fbfbda3466a5c15d079a9785dcf3bea4559bf3c1bd2f1201f
BLAKE2b-256 checksum
How to use checksums
0b83d16b1fe55eca3549b99c27b68089596ce0dca97d48519cd736d7f69ad700
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / jacscanomaly-1.1.1-cp310-cp310-win_amd64.whl

Download URL jacscanomaly-1.1.1-cp310-cp310-win_amd64.whl
Size 2.3 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
1e335f06bda174b40940509298ce2598aa8fabe47d65f6a13ccf232a79a688e9
BLAKE2b-256 checksum
How to use checksums
239bfac57ed5888177820372955be3f5b77111a490791c522ca35f7b1e2488dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / jacscanomaly-1.1.1-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL jacscanomaly-1.1.1-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 2.3 MB
Tags CPython 3.10 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
cf8156e893adb85cb2758aaf5d82dcf5ae80d3c48788bd4f524868263f32edc0
BLAKE2b-256 checksum
How to use checksums
66e81f04ad5e3c86697c16dd5aac637bbeadb4151d8f25b3a76e9503972bcffb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / jacscanomaly-1.1.1-cp310-cp310-macosx_11_0_arm64.whl

Download URL jacscanomaly-1.1.1-cp310-cp310-macosx_11_0_arm64.whl
Size 2.0 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6a42b022b179f1e5c2321cb40303ab22265ffd3969db96c0231971f1f0185511
BLAKE2b-256 checksum
How to use checksums
c1fa14ce6c9471ed2fa12755c23b00d5f0a055192dae62861b14d2a20398ddb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Security for jacscanomaly 1.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 13 files in this release have been uploaded with provenance metadata.

Select from 13 files

Attestation for jacscanomaly-1.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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