Installation

Requirements

  • Python (3.10 is tested)

  • numpy

Installing

Pystog releases can be installed via pip.

pip install pystog

As well as conda.

conda install -c neutrons pystog

Development

pixi is used to manage local installations and development environments:

cd pystog
pixi install

You can then activate the pixi environment or use it to run commands/tasks:

pixi run <command or task>

# or simply
pixi shell

A number of convenience “tasks” are available, and can be viewed within the pyproject.toml, or by running:

pixi task list

Tests

From the parent directory of the module, run:

pixi run test