It is recommended to use Miniforge for managing your Python environment: https://conda-forge.org/download/
Alternatively, you can also use conda, miniconda or any other environment manager.
Use the provided environment file. You can edit it to include more packages or change the environment name.
mamba create -f environment.yaml
mamba activate <environment_name>If you choose not to use conda, ensure that all packages listed in environment.yaml are installed by other means, as they are required dependencies.
pip install PyAstronomy pysme-astroFrom the root directory of this repository, run:
pip install -e .This installs the package in editable mode, so any changes to the source code are immediately reflected without reinstalling.
For the typical workflow used with pymse-wrapper, see the pysme_wrapper_tutorial.ipynb notebook.
For PySME documentation, see https://pysme-astro.readthedocs.io/en/stable/. pysme-wrapper creates helper classes and functions to streamline workflow based on my experience with noisy FEROS spectra, so it is quite possible you will want to use "pure" pysme instead of the wrapper at some point.