@@ -9,7 +9,6 @@ export const ToolsTab = withForm({
99 < >
1010 < ChartTools form = { form } fields = "display.toolBarButtons" />
1111 < ImportExportTools form = { form } fields = "display.toolBarButtons" />
12- < SpectraManipulationTools form = { form } fields = "display.toolBarButtons" />
1312 < Spectra1DManipulationTools
1413 form = { form }
1514 fields = "display.toolBarButtons"
@@ -71,13 +70,13 @@ const ImportExportTools = withFieldGroup({
7170 } ,
7271} ) ;
7372
74- const SpectraManipulationTools = withFieldGroup ( {
73+ const Spectra1DManipulationTools = withFieldGroup ( {
7574 defaultValues : defaultGeneralSettingsFormValues . display . toolBarButtons ,
7675 render : ( { group } ) => {
7776 const { Section, AppField } = group ;
7877
7978 return (
80- < Section title = "Spectra manipulation " >
79+ < Section title = "1D Spectra " >
8180 < AppField name = "peakPicking" >
8281 { ( { Checkbox } ) => < Checkbox label = "Peak picking" /> }
8382 </ AppField >
@@ -122,46 +121,34 @@ const SpectraManipulationTools = withFieldGroup({
122121 } ,
123122} ) ;
124123
125- const Spectra1DManipulationTools = withFieldGroup ( {
124+ const Spectra2DManipulationTools = withFieldGroup ( {
126125 defaultValues : defaultGeneralSettingsFormValues . display . toolBarButtons ,
127126 render : ( { group } ) => {
128127 const { Section, AppField } = group ;
129128
130129 return (
131- < Section title = "1D Spectra manipulation " >
130+ < Section title = "2D Spectra" >
132131 < AppField name = "zeroFillingDimension1" >
133- { ( { Checkbox } ) => < Checkbox label = "Zero filling" /> }
132+ { ( { Checkbox } ) => < Checkbox label = "Zero filling direct" /> }
133+ </ AppField >
134+ < AppField name = "zeroFillingDimension2" >
135+ { ( { Checkbox } ) => < Checkbox label = "Zero filling indirect" /> }
134136 </ AppField >
135137 < AppField name = "apodizationDimension1" >
136- { ( { Checkbox } ) => < Checkbox label = "Apodization" /> }
138+ { ( { Checkbox } ) => < Checkbox label = "Apodization direct " /> }
137139 </ AppField >
138- < AppField name = "fftDimension1 " >
139- { ( { Checkbox } ) => < Checkbox label = "Fourier transform " /> }
140+ < AppField name = "apodizationDimension2 " >
141+ { ( { Checkbox } ) => < Checkbox label = "Apodization indirect " /> }
140142 </ AppField >
141- </ Section >
142- ) ;
143- } ,
144- } ) ;
145-
146- const Spectra2DManipulationTools = withFieldGroup ( {
147- defaultValues : defaultGeneralSettingsFormValues . display . toolBarButtons ,
148- render : ( { group } ) => {
149- const { Section, AppField } = group ;
150-
151- return (
152- < Section title = "2D Spectra manipulation" >
153- < AppField name = "zeroFillingDimension2" >
154- { ( { Checkbox } ) => < Checkbox label = "Zero filling" /> }
143+ < AppField name = "fftDimension1" >
144+ { ( { Checkbox } ) => < Checkbox label = "Fourier transform direct" /> }
155145 </ AppField >
156- < AppField name = "apodizationDimension2 " >
157- { ( { Checkbox } ) => < Checkbox label = "Apodization " /> }
146+ < AppField name = "fftDimension2 " >
147+ { ( { Checkbox } ) => < Checkbox label = "Fourier transform indirect " /> }
158148 </ AppField >
159149 < AppField name = "phaseCorrectionTwoDimensions" >
160150 { ( { Checkbox } ) => < Checkbox label = "Phase correction" /> }
161151 </ AppField >
162- < AppField name = "fftDimension2" >
163- { ( { Checkbox } ) => < Checkbox label = "Fourier transform" /> }
164- </ AppField >
165152 </ Section >
166153 ) ;
167154 } ,
0 commit comments