|
61 | 61 | </div> |
62 | 62 | </div> |
63 | 63 | <div class="form-inline mb-2"> |
64 | | - <label class="mr-2"><b>Data granularity</b></label> |
| 64 | + <label class="mr-2"> |
| 65 | + <b>Data granularity</b> |
| 66 | + <font-awesome-icon |
| 67 | + :icon="['fas', 'info-circle']" |
| 68 | + class="ml-1" |
| 69 | + style="cursor: help" |
| 70 | + title="Controls the number of datapoints along the x-axis for the heatmap. For example a value of 2 means every other point is shown. Interpolation is done via max pooling. Higher values show fewer points for faster rendering." |
| 71 | + /> |
| 72 | + </label> |
65 | 73 | <input |
66 | 74 | v-model="data_granularity_buffer" |
67 | 75 | type="text" |
68 | 76 | class="form-control mr-3" |
69 | 77 | style="width: 100px; display: inline-block" |
70 | 78 | /> |
71 | | - <label class="mr-2"><b>Sample granularity</b></label> |
| 79 | + <label class="mr-2"> |
| 80 | + <b>Sample granularity</b> |
| 81 | + <font-awesome-icon |
| 82 | + :icon="['fas', 'info-circle']" |
| 83 | + class="ml-1" |
| 84 | + style="cursor: help" |
| 85 | + title="Controls how many samples are displayed in the heatmap. For example a value of 2 means every other sample is plotted. Higher values show fewer samples for faster rendering." |
| 86 | + /> |
| 87 | + </label> |
72 | 88 | <input |
73 | 89 | v-model="sample_granularity_buffer" |
74 | 90 | type="text" |
75 | | - class="form-control" |
| 91 | + class="form-control mr-3" |
76 | 92 | style="width: 100px; display: inline-block" |
77 | 93 | /> |
| 94 | + <label class="mr-2"> |
| 95 | + <b>File pattern</b> |
| 96 | + <font-awesome-icon |
| 97 | + :icon="['fas', 'info-circle']" |
| 98 | + class="ml-1" |
| 99 | + style="cursor: help" |
| 100 | + title="Filter files by pattern (using glob). Use * as wildcard (e.g., *.xy for all .xy files, data_*.txt for files starting with 'data_' and ending with '.txt', or for example '*summed*' for all files containing 'summed'). Leave empty to use all files." |
| 101 | + /> |
| 102 | + </label> |
| 103 | + <input |
| 104 | + v-model="glob_str" |
| 105 | + type="text" |
| 106 | + class="form-control" |
| 107 | + style="width: 250px; display: inline-block" |
| 108 | + placeholder="e.g., *.xy or data_*.txt" |
| 109 | + @keyup.enter="updateBlock" |
| 110 | + /> |
78 | 111 | <button class="btn btn-primary ml-3" @click="onGranularitySubmit">Apply</button> |
79 | 112 | </div> |
80 | 113 | <div |
@@ -162,6 +195,7 @@ export default { |
162 | 195 | data_granularity: createComputedSetterForBlockField("data_granularity"), |
163 | 196 | sample_granularity: createComputedSetterForBlockField("sample_granularity"), |
164 | 197 | time_series_source: createComputedSetterForBlockField("time_series_source"), |
| 198 | + glob_str: createComputedSetterForBlockField("glob_str"), |
165 | 199 | isEchemMode() { |
166 | 200 | return this.time_series_source === "echem"; |
167 | 201 | }, |
|
0 commit comments