Installation and Deployment
FLITS can be used from a local Python install, a Git checkout, Docker, Apptainer, or a remote/HPC deployment.
Python package
Install the published package:
Run it against a directory of filterbanks:
Optional fitburst support
fitburst is intentionally not included in the PyPI runtime metadata because
public package indexes do not accept direct URL runtime dependencies. If you
want FLITS's optional scattering-fit workflow:
pip install "fitburst @ https://github.com/CHIMEFRB/fitburst/archive/3c76da8f9e3ec7bc21951ce1b4a26a0255096b69.tar.gz"
Local checkout
If you are developing locally or want to run from a source checkout:
You can also install directly from GitHub:
Docker
The canonical image is intended to live at ghcr.io/dirkkuiper/flits.
If an image is already published:
docker run --rm -p 8123:8123 \
-e FLITS_DATA_DIR=/data \
-v /path/to/filterbanks:/data \
ghcr.io/dirkkuiper/flits:latest
To build locally instead:
docker build -t flits .
docker run --rm -p 8123:8123 \
-e FLITS_DATA_DIR=/data \
-v /path/to/filterbanks:/data \
flits
Docker Compose
If your filterbanks are in the current directory:
If they are elsewhere:
To use a different host port:
Apptainer
Apptainer users should normally consume the OCI image rather than maintain a separate recipe:
apptainer pull flits.sif docker://ghcr.io/dirkkuiper/flits:latest
APPTAINERENV_FLITS_DATA_DIR=/data \
apptainer exec --bind /path/to/filterbanks:/data flits.sif \
flits --data-dir /data --host 127.0.0.1 --port 8123
Remote and HPC use
FLITS works well on remote Linux systems where you forward a local browser port:
Then start FLITS on the remote host and open http://127.0.0.1:8123 locally.
On clusters where Docker is unavailable, Apptainer is usually the right runtime.
Data-directory behavior
- Relative paths in the UI are resolved against
FLITS_DATA_DIRwhen it is set. - Otherwise, relative paths are resolved against the current working directory.
- The file browser lists every recognized input file recursively under
that base directory. Extensions owned by any registered reader are
picked up automatically — out of the box this covers
.fil(SIGPROC),.fits/.sf(PSRFITS), and.h5/.hdf5(CHIME/FRB HDF5). See Supported Formats for the full matrix and Custom Readers for adding new formats via entry points.