Skip to main content

across-tools

Unit test smoke test

The across-tools repository is the NASA-ACROSS library to perform specific astronomy-related calculations on the data hosted in the across-server. This repository is responsible for instrument bandpasses, footprint, ephemeris, two-line element (tle) analysis, and observatory/instrument visibility calculations.

Installation

This repository can be installed on python (version >=3.10) environments.

#activate your python environment (conda, mamba, venv... etc)
git clone https://github.com/NASA-ACROSS/across-tools.git
cd across-tools
python -m pip install .

or the latest released version with pip

python -m pip install across-tools

Usage

Below is a small example on how to utilize the tools to initialize a simple footprint, and perform a healpix query on a projected instrument footprint.

from across.tools import Coordinate
from across.tools import Polygon
from across.tools.footprint import Footprint

simple_polygon = Polygon(
   coordinates=[
      Coordinate(ra=-0.5, dec=0.5),
      Coordinate(ra=0.5, dec=0.5),
      Coordinate(ra=0.5, dec=-0.5),
      Coordinate(ra=-0.5, dec=-0.5),
      Coordinate(ra=-0.5, dec=0.5)
   ]
)
footprint = Footprint(detectors=[simple_polygon])

projected_footprint = footprint.project(
   coordinate=Coordinate(ra=42, dec=42), roll_angle=45
)
pixels = projected_footprint.query_pixels()

Contributing

Found a bug? Want to make a feature request? Or create a pull request? Navigate to our Contributing document for more instructions!

Other Links

Open Science at NASA

Notice

NASA Docket No. GSC-19,469-1, and identified as "Astrophysics Cross-Observatory Science Support (ACROSS) System

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.“

The copyright notice to be included in the software is as follows:

Copyright © 2025 United States Government as represented by the Administrator of the National Aeronautics and Space Administration and The Penn State Research Foundation. All rights reserved. This software is licensed under the Apache 2.0 License.

Metadata

Release files for across-tools 1.6.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 across-tools 1.6.1
File Size Uploaded
across_tools-1.6.1.tar.gz 458.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for across-tools 1.6.1
File Interpreter ABI Platform
across_tools-1.6.1-py3-none-any.whl Python 3 none any Details

Total release size: 545.5 kB

Release files / across_tools-1.6.1.tar.gz

Download URL across_tools-1.6.1.tar.gz
Size 458.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5400c890b5c42eac4259cd6827c01c12cc55129952c2fee739e846e14eefdd51
BLAKE2b-256 checksum
How to use checksums
4125e72bcdfbc1cef34f395f2060da24b5031889ff792c47ebc0b58de2744049
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 14, 2026.

Transparency log

Release files / across_tools-1.6.1-py3-none-any.whl

Download URL across_tools-1.6.1-py3-none-any.whl
Size 87.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e794fae9d81610d2abe6fe9f9b4dbc94bec9a09ed87f1a2fdc06a47f0ddf23b3
BLAKE2b-256 checksum
How to use checksums
a7aeafc0b0812bee6311d8ad21f001ee03b5cd5cd4b709230248906b8eb8afd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 14, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.6.1 This release

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

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