Skip to main content

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.

alt text

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.

  1. Activate your virtual environment:
    % conda activate myenv
  2. Install the h2ssscam package 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]

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).

License A rectangular badge, half black half purple containing the text made at Code Astro

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

h2ssscam-0.2.3.tar.gz (510.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

h2ssscam-0.2.3-py3-none-any.whl (511.8 kB view details)

Uploaded Python 3

File details

Details for the file h2ssscam-0.2.3.tar.gz.

File metadata

  • Download URL: h2ssscam-0.2.3.tar.gz
  • Upload date:
  • Size: 510.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for h2ssscam-0.2.3.tar.gz
Algorithm Hash digest
SHA256 7cb9959b4606e88335498bc54035e1f77cabb962fbcb9464a36c073f0b3b96da
MD5 e0bf12f9f1f2c499935a36cc8c3199f6
BLAKE2b-256 f718e982a64a983ea4e10bb05dbd2f42be56e5a4ddd5b7eae6a120afe866e8f4

See more details on using hashes here.

File details

Details for the file h2ssscam-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: h2ssscam-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 511.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for h2ssscam-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0fdb78801e7a399f1ba3edd6d9fa5640668aad03809000af926c271b57a06f5c
MD5 d338d6b46698cf5aad5c2a9eda0883b3
BLAKE2b-256 89cf0440cd418d909f64f5a6114b67c07088c985afb7856789ff27464cf905a3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page