Installation
Installing PlanetMapper
PlanetMapper can easily be installed from PyPI using pip by running:
pip install planetmapper
or with conda by running:
conda install -c conda-forge planetmapper
This will automatically install PlanetMapper, along with any dependencies (e.g. NumPy and Astropy) that you do not already have installed. Note that PlanetMapper requires a minimum Python version of 3.10.
Updating PlanetMapper
If you installed PlanetMapper with pip, it can be upgraded to the latest version by running:
pip install planetmapper --upgrade
or, if you installed PlanetMapper with conda, run:
conda update planetmapper
Note that it can sometimes take a few days for the latest version to appear on conda after it has been released on PyPI, so try again later if you aren’t getting the very latest version.
The release notes for each version can be found on GitHub, and you can check what version of PlanetMapper you have installed by running:
import planetmapper
print(planetmapper.__version__)
First steps
The core logic of PlanetMapper uses a series of files called ‘SPICE kernels’ which contain the information about the positions and properties of Solar System bodies. Therefore, once you have PlanetMapper installed, you will need to download the appropriate kernels before you can properly use PlanetMapper.
Once you have the SPICE kernels downloaded, you can type planetmapper in the command line to open an interactive window, or import planetmapper in a Python script to get the full functionality.
See also
Check the list of common issues if you encounter any problems when using PlanetMapper