Right now, there is no simple way to use fitsignal to fit a background-only trace (e.g. from a singly-labeled protein that doesn't associate or aggregate). This should be possible in a straightfoward way.
For this, one way would be to adjust the syntax for the three model inputs to fitsignal such that a function handle supplies a model, [] gives a default model, and 'none' means no model.
Distribution: @dd_model to give a parametric model, [] to ask for a parameter-free distributions (which is also the default), and 'none' to indicate that there is no foreground signal.
Background: @bg_model to give a parametric model, [] to ask for the default (@bg_exp), and 'none' to fit background-free data.
Experiment: @ex_model to specify the experiment, [] to ask for the default (ex_4pdeer), and 'none' to use a pure single-pathway dipolar signal, without modulation depth.
Right now, there is no simple way to use
fitsignal
to fit a background-only trace (e.g. from a singly-labeled protein that doesn't associate or aggregate). This should be possible in a straightfoward way.For this, one way would be to adjust the syntax for the three model inputs to
fitsignal
such that a function handle supplies a model,[]
gives a default model, and'none'
means no model.Distribution:
@dd_model
to give a parametric model,[]
to ask for a parameter-free distributions (which is also the default), and'none'
to indicate that there is no foreground signal.Background:
@bg_model
to give a parametric model,[]
to ask for the default (@bg_exp
), and'none'
to fit background-free data.Experiment:
@ex_model
to specify the experiment,[]
to ask for the default (ex_4pdeer
), and'none'
to use a pure single-pathway dipolar signal, without modulation depth.