From e1401f91704946320679a9d5a30fec9b7af5039f Mon Sep 17 00:00:00 2001 From: jdbocarsly Date: Tue, 20 Feb 2024 18:07:03 -0600 Subject: [PATCH] make it so block options are not visible until a file is selected --- .../src/components/datablocks/CycleBlock.vue | 238 +++++++++--------- webapp/src/components/datablocks/NMRBlock.vue | 156 ++++++------ webapp/src/components/datablocks/XRDBlock.vue | 48 ++-- 3 files changed, 225 insertions(+), 217 deletions(-) diff --git a/webapp/src/components/datablocks/CycleBlock.vue b/webapp/src/components/datablocks/CycleBlock.vue index 30647731e..7f8955996 100644 --- a/webapp/src/components/datablocks/CycleBlock.vue +++ b/webapp/src/components/datablocks/CycleBlock.vue @@ -9,136 +9,138 @@ updateBlockOnChange /> -
-
- - - Showing cycles: {{ parsedCycles }} -
- -
- {{ cycle_num_error }} -
-
- -
-
- -
-
+
+
+ + - Cycle Summary -
-
- dQ/dV + /> + Showing cycles: {{ parsedCycles }} +
+ +
+ {{ cycle_num_error }} +
+
+ +
+
+ +
+
+ Cycle Summary +
+
+ dQ/dV +
+
+ dV/dQ +
-
+
+ +
+
+ +
+ Spline fit: {{ -s_spline }} +
+
+ + +
+
-
-
-
- - +
+

+ Smoothing parameter that determines how close the spline fits to the real data. Larger + values result in a smoother fit with decreased detail. +

-
- - +
+

Window size for the Savitzky-Golay filter to apply to the derivatives.

- -
- -
-

- Smoothing parameter that determines how close the spline fits to the real data. Larger - values result in a smoother fit with decreased detail. -

-
-
-

Window size for the Savitzky-Golay filter to apply to the derivatives.

-
-
-
- +
+
+ +
diff --git a/webapp/src/components/datablocks/NMRBlock.vue b/webapp/src/components/datablocks/NMRBlock.vue index af18ae2e8..ea57e2eda 100644 --- a/webapp/src/components/datablocks/NMRBlock.vue +++ b/webapp/src/components/datablocks/NMRBlock.vue @@ -9,90 +9,94 @@ DataBlockBase as a prop, and save from within DataBlockBase --> :extensions="['.zip']" updateBlockOnChange /> -
-
- - +
+
+
+ + +
-
- -
- -
-
- -
- Plotting currently not available for data with dimension > 1 +
+
+ {{ block.topspin_title }}
-
- - - - - - - - - - - - - - - - - - +
+
+ +
+ Plotting currently not available for data with dimension > 1 +
+
+
+
nucleus
pulse program{{ block.pulse_program_name }}
Data shape - {{ block.processed_data_shape }} (d = - {{ block.processed_data_shape.length }}) -
probe{{ block.probe_name }} s
+ + + + + + + + + + + + + + + + + - - - - + + + + - - - - - - - - + + + + + + + + - - - - - - - - - -
nucleus
pulse program{{ block.pulse_program_name }}
Data shape + {{ block.processed_data_shape }} (d = + {{ block.processed_data_shape.length }}) +
probe{{ block.probe_name }} s
# of scans{{ block.nscans }}
# of scans{{ block.nscans }}
recycle delay{{ block.recycle_delay }} s
carrier frequency{{ block.carrier_frequency_MHz }} MHz
recycle delay{{ block.recycle_delay }} s
carrier frequency{{ block.carrier_frequency_MHz }} MHz
carrier offset{{ (block.carrier_offset_Hz / block.carrier_frequency_MHz).toFixed(1) }} ppm
cnst31{{ block.CNST31 }}
+ + carrier offset + + {{ (block.carrier_offset_Hz / block.carrier_frequency_MHz).toFixed(1) }} ppm + + + + cnst31 + {{ block.CNST31 }} + + + +
diff --git a/webapp/src/components/datablocks/XRDBlock.vue b/webapp/src/components/datablocks/XRDBlock.vue index 2688728df..5ce27f19b 100644 --- a/webapp/src/components/datablocks/XRDBlock.vue +++ b/webapp/src/components/datablocks/XRDBlock.vue @@ -12,32 +12,34 @@ DataBlockBase as a prop, and save from within DataBlockBase --> />
-
-
- - -
- {{ wavelengthParseError }} +
+
+
+ + +
+ {{ wavelengthParseError }} +
-
-
-
- +
+
+ +