Construct a particle filter
spim_particle_filter(
data,
pars,
control,
deterministic = FALSE,
initial = NULL,
initial_date = 0
)
Data, from spim_data
Parameters, from spim_fit_pars_load
A list of control parameters including
n_particles
, n_threads
and compiled_compare
, typically the
particle_filter
element of the result of
spim_control()
Logical, indicating if the particle filter to built is to be run deterministically or stochastically
Optionally a matrix of model state or an initial value function.
The initial date to start from. Typically this should be 0 for a parent fit, and be the restart date for a restart date.
A mcstate::particle_filter object