Quickstart#
The easiest way to install lamatrix
and all of its dependencies is to use the pip
command.
To install lamatrix
, run the following command in a terminal window:
$ python -m pip install lamatrix --upgrade
The --upgrade
flag is optional, but recommended if you already
have lamatrix
installed and want to upgrade to the latest version.
Depending on the specific Python environment, you may need to replace python
with the correct Python interpreter, e.g., python3
.
If you are trying to develop functionality to lamatrix
you can install using github and poetry. Make sure you install the development dependencies
$ git clone https://github.com/PandoraMission/lamatrix
$ cd lamatrix
$ poetry install --with dev
You can then add functionality and run tests using
$ cd lamatrix
$ make
If you install in this way you will need to use poetry to use the code. Check out the poetry documentation for more information on how to use poetry.
Now you have the package installed, you should check out the tutorials to see how to build a model with lamatrix
and fit data.