No project description provided
Project description
across-tools
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
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file across_tools-1.2.1.tar.gz.
File metadata
- Download URL: across_tools-1.2.1.tar.gz
- Upload date:
- Size: 213.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9dada07685193aaebf95bd6dc9b8d808f6f632ead755386b3ad637c34fa6ae82
|
|
| MD5 |
4e31959bcc2ca5dabb90db9324e3b82c
|
|
| BLAKE2b-256 |
0cbc3016cb0f7566b6fb37f4d9cf328f0d97f573b78256b927ebcb1ad09b32f9
|
Provenance
The following attestation bundles were made for across_tools-1.2.1.tar.gz:
Publisher:
publish-to-pypi.yml on NASA-ACROSS/across-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
across_tools-1.2.1.tar.gz -
Subject digest:
9dada07685193aaebf95bd6dc9b8d808f6f632ead755386b3ad637c34fa6ae82 - Sigstore transparency entry: 963285497
- Sigstore integration time:
-
Permalink:
NASA-ACROSS/across-tools@3387400fd6356761c60705721c4408d7726be234 -
Branch / Tag:
refs/tags/v1.2.1 - Owner: https://github.com/NASA-ACROSS
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@3387400fd6356761c60705721c4408d7726be234 -
Trigger Event:
release
-
Statement type:
File details
Details for the file across_tools-1.2.1-py3-none-any.whl.
File metadata
- Download URL: across_tools-1.2.1-py3-none-any.whl
- Upload date:
- Size: 82.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
961beea4d53af841f11f480307baf6312ad2450547e22ea1c414c41d37b687bd
|
|
| MD5 |
875e27b8afc66e84f15ce824b6904074
|
|
| BLAKE2b-256 |
27c6b72d3eb014f24acc9d89a0124d365743137c70f622f9bfe4ede5f64833c7
|
Provenance
The following attestation bundles were made for across_tools-1.2.1-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on NASA-ACROSS/across-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
across_tools-1.2.1-py3-none-any.whl -
Subject digest:
961beea4d53af841f11f480307baf6312ad2450547e22ea1c414c41d37b687bd - Sigstore transparency entry: 963285500
- Sigstore integration time:
-
Permalink:
NASA-ACROSS/across-tools@3387400fd6356761c60705721c4408d7726be234 -
Branch / Tag:
refs/tags/v1.2.1 - Owner: https://github.com/NASA-ACROSS
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@3387400fd6356761c60705721c4408d7726be234 -
Trigger Event:
release
-
Statement type: