Skip to content

User Notes

Don Horner edited this page Oct 25, 2022 · 11 revisions

Herein lies important notes for the users of the Fermi Science Tools distributed via conda.

Using Conda

Environment Variables

The Fermitools relies on unix environment variables to manage the complexity of internal package interactions. Consistent with the prior releases of the Fermi Sciencetools, the conda release of the Fermitools will overwrite environment variables when initialized with conda activate fermi. This is required for the proper functioning of the tools. Environments can be reset to past state with conda deactivate.

Uninstalling an Environment

If you would like to remove the fermi conda environment and all of its associated packages you can conda remove --name fermi --all.

Jupyter Notebooks

In order to use Jupyter Notebooks, you will need to install the nb_conda package: conda install nb_conda and launch the notebook server from the Fermitools conda environment in the terminal with jupyter notebook so that it will use the correct Python environment.

Caveats

gtorbsim

The sign convention used for the rocking profile in gtorbsim is the opposite of that used in the spacecraft file. For the input rocking profile, a positive rocking angle is used to indicate a rock toward the north orbit pole. However, a positive rocking angle in the spacecraft file indicates a rock toward the south orbit pole.

Pulsar Tools

Many of the pulsar tools have been deprecated and removed from the Fermitools. They were not being used by the pulsar community and have not really had anyone to support them for a while. The pulsar community instead uses tools like tempo2 and PRESTO. Please look into using those tools for pulsar analysis.