Reset command

Quickly reset the data, model or both. This command will delete all the loaded instruments, all the loaded model components, or both.

Spex.reset(doreset)

Reset the data, model or both. This deletes all instruments and/or model components so you can start again.

Parameters:

doreset (str) – Input is ‘data’, ‘model’, or ‘all’

Examples:

>>> s.reset('data')
>>> s.reset('model')