https://github.com/princetonuniversity/astro-tigress
https://github.com/princetonuniversity/astro-tigress
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/princetonuniversity/astro-tigress
- Owner: PrincetonUniversity
- Created: 2021-07-06T14:57:00.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-18T16:36:48.000Z (about 1 year ago)
- Last Synced: 2024-09-18T18:11:48.130Z (about 1 year ago)
- Language: Python
- Size: 36.7 MB
- Stars: 9
- Watchers: 6
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TIGRESS public data release
[
](https://doi.org/10.34770/ackh-7y71)
[](https://princetonuniversity.github.io/astro-tigress/)
## Data Download
Full data can be downloaded via [Globus](https://app.globus.org/file-manager?origin_id=bb151d8e-ea3f-4612-b357-94d07f538f0c&origin_path=%2F10.34770%2Fackh-7y71%2F330%2F&two_pane=true).
A few data files used in the tutorials is also available at [this
webpage](https://tigress-web.princeton.edu/~munan/astro-tigress/).You can
browse and download whole datasets as well as individual files. However, you will need to preserve the
file structure (folders and sub-folders) for the scripts provided here to work
properly.Currently, this data release only contains the solar neighborhood models, `R8`,
for selected snapshots with an interval of about 10 Myr after a quasi-steady
state is reached. Full MHD snapshots for every 1 Myr are available upon request.## Installation of scripts
The python scripts and example notebooks are available at the [GitHub](https://github.com/PrincetonUniversity/astro-tigress) repository.
```
git clone git@github.com:PrincetonUniversity/astro-tigress.git
```## Quickstart
``` py
import astro_tigress
dir_master = ... # master path to your data
model_id = "R8_2pc"
model=astro_tigress.Model(model_id,dir_master)
model.load(300,"MHD")# make plots using yt
import yt
slc=yt.SlicePlot(model.MHD.ytds,'z',fields=('gas','nH'))
slc.annotate_magnetic_field()
```## Data types
* `MHD`: Small box (z=+-512 pc) original TIGRESS output for MHD variables including density, pressure, velocity (vector), and magnetic field (vector). Athena VTK format.
* `MHD_PI`: Full box (z=+-3072 pc) MHD data plus electron abundance as a result of UV radiation post-processing. Athena VTK format.
* `chem`: The chemistry post-processing small box output for molecular hydrogen and CO abundances. Athena++ HDF5 format.
* `CO_lines`: The CO lines, J(1-0) and J(2-1). RADMC-3D binary format.Note that the chemistry post-processing data is only available for `R8-2pc`.
## License and Attribution
If you make use of
* only `MHD` data, please cite
`Kim & Ostriker (2017)`
([ADS](https://ui.adsabs.harvard.edu/abs/2017ApJ...846..133K/abstract),
[BibTex](https://ui.adsabs.harvard.edu/abs/2017ApJ...846..133K/exportcitation))
* `chem` and/or `CO_lines` data, please also cite
`Gong et al. (2018)`
([ADS](https://ui.adsabs.harvard.edu/abs/2018ApJ...858...16G/abstract),
[BibTex](https://ui.adsabs.harvard.edu/abs/2018ApJ...858...16G/exportcitation))
and `Gong et al. (2020)`
([ADS](https://ui.adsabs.harvard.edu/abs/2020ApJ...903..142G/abstract),
[BibTex](https://ui.adsabs.harvard.edu/abs/2020ApJ...903..142G/exportcitation))
* `MHD_PI`, please also cite
([ADS](https://ui.adsabs.harvard.edu/abs/2020ApJ...897..143K/abstract),
[BibTex](https://ui.adsabs.harvard.edu/abs/2020ApJ...897..143K/exportcitation))