Skip to content

Commit 57d50ef

Browse files
authored
Fixed dose per frame units (#78)
1 parent e31899c commit 57d50ef

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/components/forms.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const SpaForm = (submissionCallback: (arg0: any) => void) => {
7676
<FormControl>
7777
<VStack align="start" spacing={10} width="100%" display="flex">
7878
<VStack align="start" width="100%" display="flex">
79-
<FormLabel>{'Dose per frame [\u212B / pixel]'}</FormLabel>
79+
<FormLabel>{'Dose per frame [e\u207B / \u212B\u00B2]'}</FormLabel>
8080
<Input defaultValue="1" name="dose" />
8181
</VStack>
8282
<VStack align="start" width="100%" display="flex">
@@ -171,7 +171,7 @@ const TomoForm = (submissionCallback: (arg0: any) => void) => {
171171
<FormControl>
172172
<VStack align="start" spacing={10} width="100%" display="flex">
173173
<VStack align="start" width="100%" display="flex">
174-
<FormLabel>{'Dose per frame [\u212B / pixel]'}</FormLabel>
174+
<FormLabel>{'Dose per frame [e\u207B / \u212B\u00B2]'}</FormLabel>
175175
<Input defaultValue="0.5" name="dose" />
176176
</VStack>
177177
<VStack align="start" width="100%" display="flex">

src/routes/ProcessingParameters.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ type ProcessingTable = {
3333
const nameLabelMap: Map<string, string> = new Map([
3434
['pj_id', 'Processing Job ID'],
3535
['angpix', 'Pixel Size [m]'],
36-
['dose_per_frame', 'Dose per frame [e- / \u212B]'],
36+
['dose_per_frame', 'Dose per frame [e\u207B / \u212B\u00B2]'],
3737
['gain_ref', 'Gain Reference'],
3838
['voltage', 'Voltage [kV]'],
3939
['motion_corr_binning', 'Motion correction binning factor'],

src/routes/SessionParameters.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ type ProcessingTable = {
3838
}
3939

4040
const nameLabelMap: Map<string, string> = new Map([
41-
['dose_per_frame', 'Dose per frame [e- / \u212B]'],
41+
['dose_per_frame', 'Dose per frame [e\u207B / \u212B\u00B2]'],
4242
['gain_ref', 'Gain Reference'],
4343
['symmetry', 'Symmetry'],
4444
['eer_fractionation_file', 'EER fractionation file (for motion correction)'],

0 commit comments

Comments
 (0)