Skip to content

spice-herald/QETpy

Repository files navigation

QETpy Package

Python package Documentation Status License: GPL v3 Python 3.6 PyPI Conda (channel only) DOI

QETpy (Quasiparticle-trap-assisted Electrothermal-feedback Transition-edge sensors) provides a general set of tools for TES-based detector calibration and analysis. It contains submodules for noise modeling, IV analysis, complex impedance fitting, nonlinear optimum filter pulse fitting, and many other useful detector R&D analysis tools. This package is NOT intended to contain any tools specific to a particular analysis. It is also meant to be DAQ independent, meaning it contains no IO functionality. It is assumed that the user is able to load their data as NumPy arrays separate from QETpy.

Installation

To install the current stable version of QETpy, from the command line type

pip install --upgrade qetpy

If you prefer conda for package management, QETpy is also available on the conda-forge channel and can be installed via

conda install -c conda-forge qetpy

To install the most recent (stable) development version of QETpy, clone this repo, then from the top-level directory of the repo, type the following into your command line

pip install .

You may need to add the --user flag if using a shared Python installation.

This package requires python 3.6 or greater. A current version of Anaconda3 should be sufficient, however a conda environment file as well as a list of dependencies is provided (condaenv.yml and requirements.txt)

Examples of how to use the package can be found in the demos/ directory. This directory contains Jupyter notebooks with example code and testing data