Python analysis tools for RADYN grid output
Project description
radyn_xtools
radyn_xtools is a package with Python analysis routines for a grid of M dwarf flare models (Kowalski, Allred, & Carlsson, submitted to AAS journals on 2024 Feb 12) that were calculated with the RADYN code. The .fits
files (grid output) can be downloaded through Zenodo. The dependencies (numpy
, plotly
, matplotlib
, ipympl
, notebook
, astropy
,scipy
) are installed automatically below.
In a terminal window (assuming the user already has Anaconda):
conda create --name your_env_name python=3.11
conda activate your_env_name
pip install radyn_xtools
(in the previous command, either an underscore or hyphen b/w radyn and xtools will work!)
See the Jupyter notebook radyn_xtools_Demo.ipynb
for a demonstration on how to use the analysis tools. This notebook should be in the your_env_name/site-packages/radyn_xtools/
folder. To find it, start python and type:
import radyn_xtools.radyn_xtools as radx
radx
`radyn_xtools_Demo.html' shows what the notebook does without having to start up a Jupyter notebook session.
The only (optional) dependency that is not installed automatically is ffmpeg
. One of the cells in the notebook relies on this (but can be skipped).
To install this, activate your environment and then type:
conda install -c conda-forge ffmpeg
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
File details
Details for the file radyn_xtools-1.9.5.tar.gz
.
File metadata
- Download URL: radyn_xtools-1.9.5.tar.gz
- Upload date:
- Size: 4.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b148d1c4d92701194a5d2575664fdc84c42de784bbbf665c1d089b33c006b9c2 |
|
MD5 | e782e9d91e96dfd7d5d233ecbe6a738c |
|
BLAKE2b-256 | e206dd7373bae752ddb73ad26dc2bc1f1fbf47bb0f3c8aad2d3677c5d5b2b023 |