Skip to main content

Find moving objects in detection catalogs.

Project description

find_asteroids

Find moving objects in detection catalogs.

image

Installation via PyPI:

$ python -m pip install find-asteroids

Usage (docs/notebooks/search.ipynb):

$ find_asteroids --help
usage: find_asteroids [-h] --catalog CATALOG [--psfs PSFS] --velocity VELOCITY VELOCITY --angle ANGLE
                             ANGLE --dx DX --num-results NUM_RESULTS --results-dir RESULTS_DIR [--precompute]
                             [--gpu] [--gpu-kernels] [--device DEVICE] [--output-format OUTPUT_FORMAT]

optional arguments:
  -h, --help            show this help message and exit
  --catalog CATALOG     The detection catalog to search. An astropy-readable table containing at least 'ra',
                        'dec', and 'time' columns (with units). (default: None)
  --psfs PSFS           An astropy-readable table containing a 'psf' column (with units) that specifies the PSF-
                        widths of the images from which the detection catalog is derived. If not provided, a
                        value of 1 arcsec is assumed. (default: None)
  --velocity VELOCITY VELOCITY
                        The velocity range over which to search, in units of deg/day. (default: None)
  --angle ANGLE ANGLE   The on-sky angles over which to search, in units of deg. (default: None)
  --dx DX               Search bin-width, in units of the PSF-width. (default: None)
  --num-results NUM_RESULTS
                        Number of results to produce. (default: None)
  --results-dir RESULTS_DIR
                        The directory into which to write results. (default: None)
  --precompute          Precompute projected positions of detections for all trial velocities (uses more memory,
                        but may be faster). (default: False)
  --gpu                 Run the core-search components of the algorithm on GPU. (default: False)
  --gpu-kernels         Run the entirety of the search algorithm on the GPU. (default: False)
  --device DEVICE       The GPU device number to use. (default: -1)
  --output-format OUTPUT_FORMAT
                        The astropy.table supported format for writing results. (default: ecsv)

References:

  • Stetzler, S. et al. (2025) An Efficient Shift-and-Stack Algorithm Applied to Detection Catalogs

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

find_asteroids-0.1.0.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

find_asteroids-0.1.0-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file find_asteroids-0.1.0.tar.gz.

File metadata

  • Download URL: find_asteroids-0.1.0.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for find_asteroids-0.1.0.tar.gz
Algorithm Hash digest
SHA256 925dbaba262019609c1269d2114aa48a9831f9b113f2a77d104b57c245b7343a
MD5 2b9fe280ce56e9873319dab15dd1c05d
BLAKE2b-256 714ede011d6ec73106067c62d199de9a3277e6566e5e433ae4c6d4435ce9bf11

See more details on using hashes here.

Provenance

The following attestation bundles were made for find_asteroids-0.1.0.tar.gz:

Publisher: publish-to-pypi.yml on stevenstetzler/find_asteroids

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file find_asteroids-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: find_asteroids-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for find_asteroids-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c88a1ce11f2b4bd25fa85de6ed5e893d34f2ae75fdcc4f065c7678744b24111
MD5 3fe3fc8c2e34eb74010347978cb1a4db
BLAKE2b-256 3d5cb4f3cd43c5532671a7180b4465085b26b3c54094460577cb7541c6684ea2

See more details on using hashes here.

Provenance

The following attestation bundles were made for find_asteroids-0.1.0-py3-none-any.whl:

Publisher: publish-to-pypi.yml on stevenstetzler/find_asteroids

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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