LALPulsar  6.1.0.1-fe68b98
testSFTWindows Namespace Reference

Variables

int maxd = 2e-3
 
int maxdrms = 1e-5
 
int exitcode = 0
 
bool plot = True
 
 window_data = subprocess.check_output(["./genSFTWindows"]).decode("utf-8").splitlines()
 
 window_csv = csv.reader(window_data)
 
 window_csv_itr = iter(window_csv)
 
 header = next(window_csv)
 
 csv_cols = dict()
 
 winrms = dict()
 
 win = dict()
 
int t = np.arange(len(win[name])) / 256
 
 win_ref_name
 
 win_ref
 
int headtail = 512
 
list ranges
 
list legend_loc = ["lower center", "lower right", "lower left"]
 
 fig = plt.figure(tight_layout=True, figsize=(16, 8))
 
 gs = gridspec.GridSpec(3, 2)
 
list axs
 
 label
 
 color
 
 linewidth
 
 zorder
 
 axis
 
 useOffset
 
 style
 
 scilimits
 
 win_cmp_name
 
 loc
 
 d = win_cmp - win_ref
 
 md = max(abs(d))
 
 drms = abs(winrms[win_cmp_name] - winrms[win_ref_name])
 

Variable Documentation

◆ maxd

int testSFTWindows.maxd = 2e-3

Definition at line 6 of file testSFTWindows.py.

◆ maxdrms

int testSFTWindows.maxdrms = 1e-5

Definition at line 7 of file testSFTWindows.py.

◆ exitcode

int testSFTWindows.exitcode = 0

Definition at line 9 of file testSFTWindows.py.

◆ plot

bool testSFTWindows.plot = True

Definition at line 18 of file testSFTWindows.py.

◆ window_data

testSFTWindows.window_data = subprocess.check_output(["./genSFTWindows"]).decode("utf-8").splitlines()

Definition at line 23 of file testSFTWindows.py.

◆ window_csv

testSFTWindows.window_csv = csv.reader(window_data)

Definition at line 26 of file testSFTWindows.py.

◆ window_csv_itr

testSFTWindows.window_csv_itr = iter(window_csv)

Definition at line 27 of file testSFTWindows.py.

◆ header

testSFTWindows.header = next(window_csv)

Definition at line 28 of file testSFTWindows.py.

◆ csv_cols

testSFTWindows.csv_cols = dict()

Definition at line 29 of file testSFTWindows.py.

◆ winrms

testSFTWindows.winrms = dict()

Definition at line 35 of file testSFTWindows.py.

◆ win

testSFTWindows.win = dict()

Definition at line 36 of file testSFTWindows.py.

◆ t

int testSFTWindows.t = np.arange(len(win[name])) / 256

Definition at line 40 of file testSFTWindows.py.

◆ win_ref_name

testSFTWindows.win_ref_name

Definition at line 44 of file testSFTWindows.py.

◆ win_ref

testSFTWindows.win_ref

Definition at line 44 of file testSFTWindows.py.

◆ headtail

int testSFTWindows.headtail = 512

Definition at line 48 of file testSFTWindows.py.

◆ ranges

list testSFTWindows.ranges
Initial value:
1 = [
2  range(0, len(t)),
3  range(0, headtail),
4  range(len(t) - headtail, len(t)),
5  ]

Definition at line 49 of file testSFTWindows.py.

◆ legend_loc

list testSFTWindows.legend_loc = ["lower center", "lower right", "lower left"]

Definition at line 54 of file testSFTWindows.py.

◆ fig

testSFTWindows.fig = plt.figure(tight_layout=True, figsize=(16, 8))

Definition at line 55 of file testSFTWindows.py.

◆ gs

testSFTWindows.gs = gridspec.GridSpec(3, 2)

Definition at line 56 of file testSFTWindows.py.

◆ axs

list testSFTWindows.axs
Initial value:
1 = [
2  fig.add_subplot(gs[0, :]),
3  fig.add_subplot(gs[1, 0]),
4  fig.add_subplot(gs[1, 1]),
5  fig.add_subplot(gs[2, 0]),
6  fig.add_subplot(gs[2, 1]),
7  ]

Definition at line 57 of file testSFTWindows.py.

◆ label

testSFTWindows.label

Definition at line 68 of file testSFTWindows.py.

◆ color

testSFTWindows.color

Definition at line 69 of file testSFTWindows.py.

◆ linewidth

testSFTWindows.linewidth

Definition at line 70 of file testSFTWindows.py.

◆ zorder

testSFTWindows.zorder

Definition at line 71 of file testSFTWindows.py.

◆ axis

testSFTWindows.axis

Definition at line 74 of file testSFTWindows.py.

◆ useOffset

testSFTWindows.useOffset

Definition at line 74 of file testSFTWindows.py.

◆ style

testSFTWindows.style

Definition at line 75 of file testSFTWindows.py.

◆ scilimits

testSFTWindows.scilimits

Definition at line 75 of file testSFTWindows.py.

◆ win_cmp_name

testSFTWindows.win_cmp_name

Definition at line 84 of file testSFTWindows.py.

◆ loc

testSFTWindows.loc

Definition at line 86 of file testSFTWindows.py.

◆ d

testSFTWindows.d = win_cmp - win_ref

Definition at line 89 of file testSFTWindows.py.

◆ md

testSFTWindows.md = max(abs(d))

Definition at line 90 of file testSFTWindows.py.

◆ drms

testSFTWindows.drms = abs(winrms[win_cmp_name] - winrms[win_ref_name])

Definition at line 94 of file testSFTWindows.py.