No project description provided
Project description
pySpextool
Python code to reduce data obtained with the SpeX spectrograph.
Recommended Installation Instructions
-
Setup your computer and install miniforge, if you haven't already.
Follow Steps 0-2 of the Astropy Workshop Setup instructions to install WSL (for Windows) and install conda with miniforge.
-
Make a
pyspextool_3.13conda environment with Python 3.13.conda create -n pyspextool_3.13 python=3.13 -
Activate the new environment
conda activate pyspextool_3.13 -
Install the
pyspextoolpackage from PyPI usingpip. This also installs the other Python packages thatpyspextooldepends upon.pip install pyspextool -
Install other Python packages
If you want to use Jupyter notebooks or other Python tools with
pyspextool, you need to install them in the new environment. For example:pip install jupyterlab
Instructions for using the example notebooks
-
The Jupyter notebook tutorials are under
notebooks/for preupgraded and upgraded SpeX Prism, SXD, and LXD data. -
Follow the instructions above to download the test data which will be saved under
tests/test_data/. To get the data used by the Jupyter notebooks, clone the test_data repository.git clone git@github.com:pyspextool/test_data.gitThe raw and processed example data products are available under
tests/test_data/raw/andtests/test_data/processed/respectively. The data products include thecal(calibration data),proc(processed data), andqa(quality assurance plots). -
While users should be able to run the Jupyter notebook tutorials without changing the output paths, users are encouraged to move the data folder and rename the output paths. The default saving directory is
/test_pyspextool/test_data/processed/.
Developer Instructions
If you plan to contribute code to pyspextool, you should clone a fork of this repo.
You will also need pytest and the test data in order to run the tests.
-
Make your own fork of this repository.
-
Clone the fork to your computer.
-
Make and activate a dedicated virtual environment, ideally with Python 3.13.
-
Install and editable version of
pyspextooland install the extra packages needed for testing and developing. In thepyspextool/direcotry:pip install -e ".[test]" -
Setup and download the
test_data/submodulegit submodule update --init --recursive
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 pyspextool-1.7.tar.gz.
File metadata
- Download URL: pyspextool-1.7.tar.gz
- Upload date:
- Size: 64.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a672e8cc5a1495d6dd693f4ae72a64ea418ec1cbdd28c5baf26741f25eabaa8
|
|
| MD5 |
1784a702f37dfe36a8b323a53db0f7f0
|
|
| BLAKE2b-256 |
0efc2a45e83922c4d1adce8c6d76de8834e9bcc369693f8419b8477fae58ac1b
|
Provenance
The following attestation bundles were made for pyspextool-1.7.tar.gz:
Publisher:
pypi-publish.yml on pyspextool/pyspextool
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyspextool-1.7.tar.gz -
Subject digest:
1a672e8cc5a1495d6dd693f4ae72a64ea418ec1cbdd28c5baf26741f25eabaa8 - Sigstore transparency entry: 1004099918
- Sigstore integration time:
-
Permalink:
pyspextool/pyspextool@eb67d7e9d3d4a2667c02152ecef5e89684c0f0e2 -
Branch / Tag:
refs/tags/v1.7 - Owner: https://github.com/pyspextool
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@eb67d7e9d3d4a2667c02152ecef5e89684c0f0e2 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pyspextool-1.7-py3-none-any.whl.
File metadata
- Download URL: pyspextool-1.7-py3-none-any.whl
- Upload date:
- Size: 21.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a539173a62c49b9b25619e0f756d37cfef6043dc731767ab723ff28a3d1eec2
|
|
| MD5 |
2025b96ae37a5e36f516ec36ec1b65fc
|
|
| BLAKE2b-256 |
7e6fb6496a1b72e082ce9c225954d054ba2f8e0d1a5b773e8cfba52929561bc7
|
Provenance
The following attestation bundles were made for pyspextool-1.7-py3-none-any.whl:
Publisher:
pypi-publish.yml on pyspextool/pyspextool
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyspextool-1.7-py3-none-any.whl -
Subject digest:
4a539173a62c49b9b25619e0f756d37cfef6043dc731767ab723ff28a3d1eec2 - Sigstore transparency entry: 1004099921
- Sigstore integration time:
-
Permalink:
pyspextool/pyspextool@eb67d7e9d3d4a2667c02152ecef5e89684c0f0e2 -
Branch / Tag:
refs/tags/v1.7 - Owner: https://github.com/pyspextool
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@eb67d7e9d3d4a2667c02152ecef5e89684c0f0e2 -
Trigger Event:
release
-
Statement type: