Skip to content
Snippets Groups Projects
Commit 7de4e5dc authored by Lee McCuller's avatar Lee McCuller
Browse files

cleanup old notebook checkpoints and add them to gitignore

parent b518f9ea
No related branches found
No related tags found
1 merge request!10Docs
*.mat
.ipynb_checkpoints/
%% Cell type:markdown id: tags:
# Export Testcase Example
Here an existing randomly generated testcase is exported
%% Cell type:code id: tags:
``` python
from __future__ import division
from iirrational.utilities.ipynb_lazy import *
```
%% Output
Populating the interactive namespace from numpy and matplotlib
%% Cell type:code id: tags:
``` python
dat = iirrational_data('simple2', instance_num = 2)
axB = plot_fitter_flag(dat.fitter)
```
%% Output
%% Cell type:code id: tags:
``` python
iirrational.v1.data2testcase(
fname = 'simple2.mat',
data = dat.data,
F_Hz = dat.F_Hz,
SNR = dat.SNR,
bestfit_ZPK_z = dat.bestfit_ZPK_z,
F_nyquist_Hz = dat.F_nyquist_Hz,
description = 'test',
)
```
%% Cell type:code id: tags:
``` python
import scipy.io
d = scipy.io.loadmat('simple2.mat')
```
%% Cell type:code id: tags:
``` python
d['bestfit_ZPK_z']
```
%% Output
array([[ array([[ 0.99693204+0.j , 0.99693204+0.j ,
0.99693204+0.j , 0.99968751+0.00337372j,
0.99968751-0.00337372j]]),
array([[ 0.99969320+0.j , 0.99969320+0.j ,
0.99693204+0.j , 0.99965086+0.00920093j,
0.99996461+0.00306786j, 0.99965086-0.00920093j,
0.99996461-0.00306786j]]),
array([[ 9.41201413e-06]])]], dtype=object)
%% Cell type:code id: tags:
``` python
```
Source diff could not be displayed: it is too large. Options to address this: view the blob.
Source diff could not be displayed: it is too large. Options to address this: view the blob.
../../../gwinc_aplus/gwinc-svn2868
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment