Synthetic H2 fluorescence code refactored by Cole Meyer, Daniel Lopez-Sanders, Cassandra S. Cruz, Dominik P. Pacholski during Code/Astro 2025. The code is based on ''Empirically estimated far-UV extinction curves for classical T Tauri stars'', McJunkin, M., France, K., Schindhelm, R., Herczeg, G., Schneider, P. C., & Brown, A. (2016), ApJ, 828, 69.
Project description
h2ssscam
Synthetic H2 fluorescence code refactored by Cole Meyer, Daniel Lopez-Sanders, Cassandra S. Cruz, Dominik P. Pacholski during Code/Astro 2025.
The code is based on ''Empirically estimated far-UV extinction curves for classical T Tauri stars'', McJunkin, M., France, K., Schindhelm, R., Herczeg, G., Schneider, P. C., & Brown, A. (2016), ApJ, 828, 69.
Installation instructions
Here are some installation instructions for the average Anaconda user. (Note: in the instructions below, we will assume that you are using a virtual environment named myenv.) We've tested this using Python 3.10.
- Activate your virtual environment:
% conda activate myenv - Install the
h2ssscampackage and its dependencies:
% pip install h2ssscam
Usage instructions
You're now ready to use the h2ssscam package! To run the code, execute the following in the terminal:
% python -m h2ssscam
The user may also modify the input parameters for the model. To do so, navigate into the desired directory and run in the terminal
% python -m h2ssscam.create_config_file [directory] [config file name]
If the user would like to save the config file in the current directory, they should specify . in place of [directory]. Note that the file extension for the created configuration file will always be .ini (even if the user specifies some other extension) to satisfy code requirements. Modify the desired parameters and run the model as usual by executing the following in the terminal:
% python -m h2ssscam [directory]/[config file name]
Complete documentation can be found on Read the Docs: https://h2ssscam.readthedocs.io/en/latest/index.html
The GitHub repository for h2ssscam can be found at https://github.com/colemeyer/h2ssscam
The PyPI project for h2ssscam can be found at https://pypi.org/project/h2ssscam/
The paper on which this code is based, McJunkin et al. 2016, can be found at https://iopscience.iop.org/article/10.3847/0004-637X/828/2/69/meta
More information about the Code/Astro workshop during which this package was developed can be found at https://semaphorep.github.io/codeastro/
Note that package dependencies for h2ssscam are managed using the uv package manager. Advanced users are encouraged to run h2ssscam using uv functionalities (e.g., uv run h2ssscam).
Project details
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 h2ssscam-0.2.6.tar.gz.
File metadata
- Download URL: h2ssscam-0.2.6.tar.gz
- Upload date:
- Size: 511.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fc63b42db10e982de96331751063b054d90fdd6bd3f8ad1b37ffaaaff62be6a
|
|
| MD5 |
3b5f4a7dc90bab888a1f053d7dc4c2bd
|
|
| BLAKE2b-256 |
b94d3920cb0359e8bfb22df15f146acfa20dbaf5a08ea0d713a4db9263387279
|
File details
Details for the file h2ssscam-0.2.6-py3-none-any.whl.
File metadata
- Download URL: h2ssscam-0.2.6-py3-none-any.whl
- Upload date:
- Size: 512.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
058d3f2a56d5305e60c73fe9b79c8f1d9e6ff785782d24c8b394421867d5ff7e
|
|
| MD5 |
950e90b23862fe8d9c4e4a82cb37513a
|
|
| BLAKE2b-256 |
6374d2c2c568644760f8d79c652a8dfe0bf7cac273e5f92208618c5fd9794b77
|