Installation

Prerequisites

  1. Requires a valid Anaconda or Miniconda installation.

  2. (optional). Download and extract the Chianti Atomic Database v9.0.1 and set the following environment variable in your shell configuration file:

    export XUVTOP=/path/to/chianti/root
    
  3. (optional). Download and extract the CMFGEN Atomic Data.

Clone the Repository

$ git clone https://github.com/tardis-sn/carsus.git

Setup the Environment

$ cd carsus

If you’re using GNU/Linux or Intel-based Mac installation then directly create the environment using the below command:

$ conda env create -f carsus_env3.yml

However, if you’re using M1-based Mac (Apple Silicon), then force conda to install Intel-based packages:

$ CONDA_SUBDIR=osx-64 conda env create -f carsus_env3.yml

Install the Package

$ conda activate carsus
$ pip install -e .

You are ready! Follow the Quickstart for Carsus guide to continue.