Save configurations and use snapshots
In this document we will learn how to use the
reset methods in xolotl to quickly bookmark parameters and use them to help us explore models.
To quickly save and revert back to a certain set of numerical parameters in a model, you can use the
% first create a model to work with x = xolotl.examples.neurons.BurstingNeuron; % save a model's parameters as 'initial' x.snapshot('initial') % do something else to the model x.AB.NaV.gbar = 0; V = x.integrate; % save this as a different state to return to later x.snapshot('added_current'); % return to the previously saved 'initial' state x.reset('initial');