Skip to content

Installation

Prerequisites

SANS Fitter requires Python 3.10 or later.

Installing from Source

Using pip

You can install SANS Fitter directly from the repository using pip:

# Clone the repository
git clone https://github.com/rozyczko/SANS-fitter.git
cd SANS-fitter

# Install the package
pip install -e .

To install with development dependencies (for running tests or building documentation):

pip install -e ".[dev,docs]"

Using Pixi

If you use Pixi for package management:

# Clone the repository
git clone https://github.com/rozyczko/SANS-fitter.git
cd SANS-fitter

# Install dependencies
pixi install

Dependencies

SANS Fitter relies on the following libraries:

  • numpy: Numerical computing
  • matplotlib: Plotting and visualization
  • scipy: Scientific computing and optimization
  • sasmodels: SANS model calculations
  • sasdata: SANS data loading
  • bumps: Bayesian Uncertainty Modeling for Parameter Selection (fitting engine)

These will be automatically installed when you install SANS Fitter.