API
saspt is an object-oriented Python 3 library. The classes perform discrete roles:
TrajectoryGrouprepresents a set of trajectories to be analyzed by state arrays
Likelihoodrepresents a likelihood function, or physical model for the type of motion. Some examples of likelihood functions include Brownian motion with localization error (RBME), various approximations of RBME, and fractional Brownian motion (FBM). TheLikelihoodclass also defines the grid of state parameters on which the state array is constructed.
StateArrayParametersis a struct with the settings for state array inference, including the pixel size, frame rate, and other imaging parameters.
StateArrayimplements the actual state array inference routines.
StateArrayDatasetparallelizes state arrays across multiple target files, and provides some tools and visualizations for comparing between experimental conditions.