SPARE Calibrations » History » Version 8
Alexis Jeandet, 14/06/2016 06:39 PM
1 | 1 | Alexis Jeandet | h1. SPARE Calibrations |
---|---|---|---|
2 | |||
3 | {{>toc}} |
||
4 | |||
5 | 8 | Alexis Jeandet | h2. Python scrip to build archives |
6 | |||
7 | <pre><code class="python"> |
||
8 | import sys |
||
9 | import os |
||
10 | import shutil |
||
11 | import path |
||
12 | from glob import glob |
||
13 | from lfrcompliance.test_engine.testcontext import * |
||
14 | from lfrcompliance.test_engine.result_loader import * |
||
15 | OUTPUT_FOLDER="/run/media/jeandet/key64/OwnCloud/TESTS_LFR_SPARE_CALIBRATIONS/scripts/tests/inputs/" |
||
16 | |||
17 | files=glob.glob(OUTPUT_FOLDER+"/TF*.output") |
||
18 | |||
19 | os.chdir("/home/jeandet/Documents/temp") |
||
20 | for file in files: |
||
21 | res=ResultLoader(file) |
||
22 | if len(res.PacketsRecords): |
||
23 | print(res.PacketsRecords) |
||
24 | archive=os.path.basename(file).split('_')[0] |
||
25 | print(os.path.basename(file).split('_')[0]) |
||
26 | os.mkdir(archive) |
||
27 | shutil.copy(res.PacketsRecords[0],archive+"/") |
||
28 | shutil.copy(file,archive+"/") |
||
29 | print(os.system("tar cv {} | 7z a -si -mx=3 {}.tar.7z".format(archive,archive))) |
||
30 | shutil.rmtree(archive) |
||
31 | </code></pre> |
||
32 | |||
33 | 1 | Alexis Jeandet | h2. Transfer Function |
34 | |||
35 | |||
36 | h3. 1) Transfer Functions @F0 |
||
37 | |||
38 | For the whole test we will use the following parameters: |
||
39 | * LFR mode= Normal Mode |
||
40 | * ASM period = 4s |
||
41 | * Snapshots period = 22s |
||
42 | * Input signal amplitude 1.4Vp |
||
43 | |||
44 | h4. a) Low Frequencies and FFT frequencies |
||
45 | |||
46 | 7 frequencies: from 12Hz to 84Hz with ∆f = 12Hz |
||
47 | 128 frequencies: from 96Hz to 12288Hz with ∆f = 96Hz |
||
48 | |||
49 | {{collapse(View measurements...) |
||
50 | |||
51 | table(){width: 90%;text-align: center;}. |
||
52 | |_.Channels |_.Parameters |_.Curves |_.data | |
||
53 | | B1 and B2|BIAS Work = 1 |
||
54 | R0=R1=R2 = 1 |
||
55 | SP0=SP1 = 0 | | |
||
56 | 2 | Alexis Jeandet | "Result files":https://hephaistos.lpp.polytechnique.fr/redmine/attachments/download/1628/TF1aB1B2.tar.7z| |
57 | 1 | Alexis Jeandet | |B2 and B3|BIAS Work = 1 |
58 | R0=R1=R2 = 1 |
||
59 | 2 | Alexis Jeandet | SP0=SP1 = 0| | |
60 | "Result files":https://hephaistos.lpp.polytechnique.fr/redmine/attachments/download/1630/TF1aB2B3.tar.7z| |
||
61 | 1 | Alexis Jeandet | |B3 and BIAS1|BIAS Work = 1 |
62 | R0=R1=R2 = 1 |
||
63 | 2 | Alexis Jeandet | SP0=SP1 = 0| | |
64 | "Result files":https://hephaistos.lpp.polytechnique.fr/redmine/attachments/download/1632/TF1aB3BIAS1.tar.7z| |
||
65 | 1 | Alexis Jeandet | |BIAS1 and BIAS2|BIAS Work = 1 |
66 | R0=R1=R2 = 1 |
||
67 | 2 | Alexis Jeandet | SP0=SP1 = 0| | |
68 | "Result files":https://hephaistos.lpp.polytechnique.fr/redmine/attachments/download/1633/TF1aBIAS1BIAS2.tar.7z| |
||
69 | 1 | Alexis Jeandet | |BIAS2 and BIAS3|BIAS Work = 1 |
70 | R0=R1=R2 = 1 |
||
71 | 2 | Alexis Jeandet | SP0=SP1 = 0| | |
72 | "Result files":https://hephaistos.lpp.polytechnique.fr/redmine/attachments/download/1635/TF1aBIAS2BIAS3.tar.7z| |
||
73 | 1 | Alexis Jeandet | |BIAS1 and BIAS4|BIAS Work = 1 |
74 | R0=R1=R2 = 0 |
||
75 | 2 | Alexis Jeandet | SP0=SP1 = 0| | |
76 | "Result files":https://hephaistos.lpp.polytechnique.fr/redmine/attachments/download/1634/TF1aBIAS1BIAS4.tar.7z| |
||
77 | 1 | Alexis Jeandet | |BIAS4 and BIAS5|BIAS Work = 1 |
78 | R0=R1=R2 = 0 |
||
79 | 2 | Alexis Jeandet | SP0=SP1 = 0| | |
80 | "Result files":https://hephaistos.lpp.polytechnique.fr/redmine/attachments/download/1637/TF1aBIAS4BIAS5.tar.7z| |
||
81 | 1 | Alexis Jeandet | |B1, B2, B3, BIAS1, |
82 | BIAS2 (φ = 90°), BIAS3 (φ = 90°)|BIAS Work = 1 |
||
83 | R0=R1=R2 = 1 |
||
84 | 2 | Alexis Jeandet | SP0=SP1 = 1| | |
85 | "Result files":https://hephaistos.lpp.polytechnique.fr/redmine/attachments/download/1629/TF1aB1B2B3BIA1BIA290BIA390.tar.7z| |
||
86 | 1 | Alexis Jeandet | |B1, B2, B3, VHF1, VHF2, VHF3|BIAS Work = 0 |
87 | R0=R1=R2 = 1 |
||
88 | 2 | Alexis Jeandet | SP0=SP1 = 0| | |
89 | 7 | Alexis Jeandet | "Result files":https://hephaistos.lpp.polytechnique.fr/redmine/attachments/download/1700/TF1aB1B2B3V1V2V3.7z| |
90 | 1 | Alexis Jeandet | |
91 | }} |
||
92 | |||
93 | h4. b) Frequencies > F0/2 |
||
94 | |||
95 | 24 frequencies: from 13056Hz to 30720Hz with ∆f = 768Hz |
||
96 | |||
97 | {{collapse(View measurements...) |
||
98 | |||
99 | table(){width: 90%;text-align: center;}. |
||
100 | |_.Channels |_.Parameters |_.Curves |_.data | |
||
101 | |B1, B2, B3, BIAS1, |
||
102 | BIAS2 and BIAS3| BIAS Work = 1 |
||
103 | R0=R1=R2 = 1 |
||
104 | SP0=SP1 = 0 | | |
||
105 | 4 | Alexis Jeandet | "Result files":https://hephaistos.lpp.polytechnique.fr/redmine/attachments/download/1636/TF1bB1B2B3BIAS1BIAS2BIAS3.tar.7z| |
106 | 1 | Alexis Jeandet | |B1, B2, B3, BIAS1, |
107 | BIAS4, BIAS5| BIAS Work = 1 |
||
108 | R0=R1=R2 = 0 |
||
109 | SP0=SP1 = 0| | |
||
110 | 4 | Alexis Jeandet | "Result files":https://hephaistos.lpp.polytechnique.fr/redmine/attachments/download/1639/TF1bB1B2B3BIAS1BIAS4BIAS5.tar.7z| |
111 | 1 | Alexis Jeandet | |B1, B2, B3, BIAS1, |
112 | BIAS2 (φ = 90°) and BIAS3 (φ = 90°)| BIAS Work = 1 |
||
113 | R0=R1=R2 = 1 |
||
114 | SP0=SP1 = 1| | |
||
115 | 5 | Alexis Jeandet | "Result files":https://hephaistos.lpp.polytechnique.fr/redmine/attachments/download/1640/TF1bB1B2B3BIAS1BIAS290BIAS390.tar.7z| |
116 | 1 | Alexis Jeandet | |B1, B2, B3, VHF1, |
117 | VHF2 and VHF3|BIAS Work = 0 |
||
118 | R0=R1=R2 = 1 |
||
119 | SP0=SP1 = 0| | |
||
120 | 4 | Alexis Jeandet | "Result files":https://hephaistos.lpp.polytechnique.fr/redmine/attachments/download/1641/TF1bB1B2B3V1V2V3.tar.7z| |
121 | 1 | Alexis Jeandet | |B1, B2, B3, VHF1, |
122 | VHF2 (φ = 90°) and VHF3 (φ = 90°)|BIAS Work = 0 |
||
123 | R0=R1=R2 = 1 |
||
124 | SP0=SP1 = 1| | |
||
125 | 4 | Alexis Jeandet | "Result files":https://hephaistos.lpp.polytechnique.fr/redmine/attachments/download/1638/TF1bB1B2B3V1V290V390.tar.7z| |
126 | 1 | Alexis Jeandet | |
127 | }} |
||
128 | 6 | Alexis Jeandet | |
129 | |||
130 | h3. 2) Transfer Functions @F1 |
||
131 | |||
132 | h4. a) Low Frequencies |
||
133 | |||
134 | * LFR mode= SBM1 |
||
135 | * ASM period = 32s |
||
136 | * Snapshots period = 32s |
||
137 | * Input signal amplitude 3Vp |
||
138 | * Step duration = 420s |
||
139 | |||
140 | 10 frequencies: from 0.01Hz to 0.1Hz with ∆f = 0.01Hz |
||
141 | |||
142 | {{collapse(View measurements...) |
||
143 | |||
144 | table(){width: 90%;text-align: center;}. |
||
145 | |_.Channels |_.Parameters |_.Curves |_.data | |
||
146 | |B1, B2, B3, BIAS1, |
||
147 | BIAS2 and BIAS3|BIAS Work = 1 |
||
148 | R0=R1=R2 = 1 |
||
149 | SP0=SP1 = 0| | |
||
150 | "Result files":https://hephaistos.lpp.polytechnique.fr/redmine/attachments/download/1642/TF2aB1B2B3BIAS1BIAS2BIAS3.tar.7z| |
||
151 | |B1, B2, B3, BIAS1, |
||
152 | BIAS4 and BIAS5|BIAS Work = 1 |
||
153 | R0=R1=R2 = 0 |
||
154 | SP0=SP1 = 0| | |
||
155 | "Result files":MISSING| |
||
156 | |B1, B2, B3, BIAS1, |
||
157 | BIAS2 (φ = 90°) and BIAS3 (φ = 90°)|BIAS Work = 1 |
||
158 | R0=R1=R2 = 1 |
||
159 | SP0=SP1 = 1| | |
||
160 | "Result files":MISSING| |
||
161 | |||
162 | }} |
||
163 | |||
164 | ---- |
||
165 | |||
166 | ---- |