|
82 | 82 | "metadata": {},
|
83 | 83 | "outputs": [],
|
84 | 84 | "source": [
|
85 |
| - "yml_path = os.path.join('..','data','yaml','')\n", |
| 85 | + "yml_path = os.path.join('..', 'data','yaml','')\n", |
86 | 86 | "\n",
|
87 | 87 | "# Change to get date+git version, etc\n",
|
88 | 88 | "outfile = csv_path + 'custom_pipelines.csv'\n",
|
|
93 | 93 | "for infile in infile_names:\n",
|
94 | 94 | " infile_paths.append(yml_path + infile)\n",
|
95 | 95 | "\n",
|
96 |
| - "custom_arrays = [False, False, False, False]\n", |
97 | 96 | "\n",
|
98 |
| - "reports.write_csv_custom(infile_paths, outfile, custom_arrays, parallel=parallel, verbose=False)\n" |
| 97 | + "reports.write_csv_custom(infile_paths, outfile, parallel=parallel, verbose=False)\n" |
99 | 98 | ]
|
100 | 99 | },
|
101 | 100 | {
|
|
111 | 110 | "infile_names = ['all_custom_options.yml', 'hpso_max_mid_band1_ICal.yml', 'hpso01_DPrepD.yml', 'hpso01_ICal.yml']\n",
|
112 | 111 | "\n",
|
113 | 112 | "infile_paths = []\n",
|
114 |
| - "custom_arrays = []\n", |
115 | 113 | "for infile in infile_names:\n",
|
116 | 114 | " infile_paths.append(yml_path + infile)\n",
|
117 | 115 | "\n",
|
118 |
| - "custom_arrays = [True, False, False, False]\n", |
119 |
| - "\n", |
120 |
| - "# array_configs and list_num_bins:\n", |
121 |
| - "# Must be the same length as len(np.where(custom_arrays)[0])\n", |
122 |
| - "# Must be ordered (ie first array_config corresponds to the first infile with custom_array == True\n", |
123 |
| - "array_configs = ['SKA1_Mid_rev_05_prop.txt']\n", |
124 |
| - "list_num_bins = [12]\n", |
125 |
| - "\n", |
126 |
| - "reports.write_csv_custom(infile_paths, outfile, custom_arrays, array_configs, list_num_bins, parallel=parallel, verbose=False)\n" |
| 116 | + "reports.write_csv_custom(infile_paths, outfile, parallel=parallel, verbose=False)\n" |
127 | 117 | ]
|
128 | 118 | },
|
129 | 119 | {
|
|
137 | 127 | "# Change to get date+git version, etc\n",
|
138 | 128 | "outfile = csv_path + 'custom_max_mid_band1.csv'\n",
|
139 | 129 | "prefix = 'reduced_max_mid_band1/hpso_max_mid_band1_'\n",
|
140 |
| - "pipelines = ['Ingest', 'RCal', 'FastImg', 'ICal', 'DPrepA', 'DPrepB', 'DPrepC']\n", |
| 130 | + "pipelines = ['Ingest', 'RCAL', 'FastImg', 'ICAL', 'DPrepA', 'DPrepB', 'DPrepC']\n", |
141 | 131 | "suffix = '.yml'\n",
|
142 | 132 | "\n",
|
143 | 133 | "infile_names = []\n",
|
|
146 | 136 | " infile_names.append(prefix + pipeline + suffix)\n",
|
147 | 137 | "\n",
|
148 | 138 | "infile_paths = []\n",
|
149 |
| - "custom_arrays = []\n", |
150 | 139 | "\n",
|
151 | 140 | "for infile in infile_names:\n",
|
152 | 141 | " infile_paths.append(yml_path + infile)\n",
|
153 |
| - " custom_arrays.append(False)\n", |
154 | 142 | "\n",
|
155 |
| - "reports.write_csv_custom(infile_paths, outfile, custom_arrays, parallel=parallel, verbose=False)" |
| 143 | + "reports.write_csv_custom(infile_paths, outfile, parallel=parallel, verbose=False)" |
156 | 144 | ]
|
157 | 145 | },
|
158 | 146 | {
|
|
166 | 154 | "# Change to get date+git version, etc\n",
|
167 | 155 | "outfile = csv_path + 'max_mid_band1.csv'\n",
|
168 | 156 | "prefix = 'max_mid_band1/hpso_max_mid_band1_'\n",
|
169 |
| - "pipelines = ['Ingest', 'RCal', 'FastImg', 'ICal', 'DPrepA', 'DPrepB', 'DPrepC']\n", |
| 157 | + "pipelines = ['Ingest', 'RCAL', 'FastImg', 'ICAL', 'DPrepA', 'DPrepB', 'DPrepC']\n", |
170 | 158 | "suffix = '.yml'\n",
|
171 | 159 | "\n",
|
172 | 160 | "infile_names = []\n",
|
|
175 | 163 | " infile_names.append(prefix + pipeline + suffix)\n",
|
176 | 164 | "\n",
|
177 | 165 | "infile_paths = []\n",
|
178 |
| - "custom_arrays = []\n", |
179 | 166 | "\n",
|
180 | 167 | "for infile in infile_names:\n",
|
181 | 168 | " infile_paths.append(yml_path + infile)\n",
|
182 |
| - " custom_arrays.append(False)\n", |
183 | 169 | "\n",
|
184 |
| - "reports.write_csv_custom(infile_paths, outfile, custom_arrays, parallel=parallel, verbose=False)" |
| 170 | + "reports.write_csv_custom(infile_paths, outfile, parallel=parallel, verbose=False)" |
185 | 171 | ]
|
186 | 172 | },
|
187 | 173 | {
|
|
198 | 184 | "prefix_1 = 'reduced_max_mid_band1/hpso_max_mid_band1_'\n",
|
199 | 185 | "prefix_2 = 'reduced_hpso_4b/hpso_4b_'\n",
|
200 | 186 | "\n",
|
201 |
| - "pipelines_1 = ['Ingest', 'RCal', 'FastImg', 'ICal', 'DPrepA', 'DPrepB', 'DPrepC']\n", |
| 187 | + "pipelines_1 = ['Ingest', 'RCAL', 'FastImg', 'ICAL', 'DPrepA', 'DPrepB', 'DPrepC']\n", |
202 | 188 | "pipelines_2 = ['Ingest', 'RCAL', 'PSS', 'FastImg']\n",
|
203 | 189 | "\n",
|
204 | 190 | "suffix = '.yml'\n",
|
|
212 | 198 | " infile_names.append(prefix_2 + pipeline + suffix)\n",
|
213 | 199 | "\n",
|
214 | 200 | "infile_paths = []\n",
|
215 |
| - "custom_arrays = []\n", |
216 | 201 | "\n",
|
217 | 202 | "for infile in infile_names:\n",
|
218 | 203 | " infile_paths.append(yml_path + infile)\n",
|
219 |
| - " custom_arrays.append(False)\n", |
220 | 204 | "\n",
|
221 |
| - "reports.write_csv_custom(infile_paths, outfile, custom_arrays, parallel=parallel, verbose=False)" |
| 205 | + "reports.write_csv_custom(infile_paths, outfile, parallel=parallel, verbose=False)" |
222 | 206 | ]
|
223 | 207 | },
|
224 | 208 | {
|
|
0 commit comments