Skip to content

Commit b6b8284

Browse files
Fix 'experiment_instrument' component_set in Nomad Eln. (#41)
1 parent bfc0cb7 commit b6b8284

File tree

9 files changed

+107
-119
lines changed

9 files changed

+107
-119
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"data":{"m_def":"../upload/raw/afm.scheme.archive.yaml#/definitions/section_definitions/0","reader":"spm","nxdl":"NXafm","default":"current_forward","definition":"NXafm","input_files":["A151216.123306-02602.sxm","config.json"],"experiment_technique":"AFM","scan_mode":"tapping mode","experiment_description":"<div>\n<div>An demo NeXus example for AFM.</div>\n</div>","identifier_experiment":"D:\\\\\\\\Data\\\\\\\\123306\\\\A151216.123306-02602","identifier_collection":"D:\\\\\\\\Data\\\\\\\\123306","user":[{"name":"Rubel Mozumder","affiliation":["Dr. Cojal González, José David","Dr. Carlos-Andres Palma"],"email":["cojal@physik.hu-berlin.de","palma@physik.hu-berlin.de","mozumder@physik.hu-berlin.de"]}],"Instrument":{"hardware":{"vendor":"Nanonis","name":"Nanonis","model":"Generic 4","model/@version":"4"},"software":{"model":"Generic 4","model/@version":"4","vendor":"Nanonis","name":"Nanonis"}},"Sample":{"name":"diPAMY","Sample_component":[{"name":"Au(Mica)","description":"<div>\n<div>Gold on Mica.</div>\n</div>","chemical_formula":" KAl₂(AlSi₃O₁₀)(OH)₂)"}],"description":"<div>\n<div>We used the diPAMY sample used in this demo example.</div>\n</div>"}}}

src/pynxtools_spm/nomad/examples/afm/AFMExampleWithCustomization/AFMNeXusExample.archive.json

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"data":{"m_def":"../upload/raw/stm.scheme.archive.yaml#/definitions/section_definitions/0","reader":"spm","nxdl":"NXstm","default":"current_forward","definition":"NXstm","experiment_description":"<div>\n<div>Experiment with</div>\n<div>Bias: -50mV</div>\n<div>Setpoint: 25pA</div>\n</div>","input_files":["Au_mica_2023_Y_A_diPAMY_195.sxm","config.json"],"experiment_technique":"STM","scan_mode":"constant current","identifier_experiment":"D:\\\\Data\\\\20230428\\\\Au_mica_2023_Y_A_diPAMY_154-211C_370C_1min_385C_30min_400C_1min_400C_30min_415_30min_430_30min_11min_30min_30min_20230419_1min_0420_30min_0425_30min_195.sxm","identifier_collection":"D:\\\\Data\\\\20230428\\\\Au_mica_2023_Y_A_diPAMY_154-211C_370C_1min_385C_30min_400C_1min_400C_30min_415_30min_430_30min_11min_30min_30min_20230419","user":{"name":"Yichen Jin","affiliation":["Rubel Mozumder","Dr. Cojal González, José David","Dr. Carlos-Andres Palma"],"email":["ycjin@physik.hu-berlin.de","rubel.mozumder@physik.hu-berlin.de","cojal@physik.hu-berlin.de","palma@physik.hu-berlin.de"]},"Instrument":{"hardware":{"name":"Nanonis","vendor":"Nanonis","model":"Generic 4.5","model/@version":"4.5"},"software":{"name":"Nanonis","vendor":"Nanonis","model":"Generic 4.5","model/@version":"4.5"}},"Sample":{"name":"diPAMY","Sample_component":{"name":"Au(Mica)","chemical_formula":"Au(KAl3Si3012H2)","description":"<div>\n<div>Substrate:</div>\n<div>Stack of two layers: Au(111) on Mica</div>\n</div>"}}}}

src/pynxtools_spm/nomad/examples/stm/STMExampleWithCustomization/STMNeXusExample.archive.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/pynxtools_spm/nomad/examples/stm/STMExampleWithCustomization/stm.scheme.archive.yaml

Lines changed: 51 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ definitions:
109109
component: StringEditQuantity
110110
description: |
111111
List of emails from users who performed the experiment.
112-
experiment_instrument:
112+
Instrument:
113113
section:
114114
m_annotations:
115115
eln:
@@ -280,66 +280,60 @@ definitions:
280280
description: |
281281
Description of the sample or sample preparation.
282282
sub_sections:
283-
sample_component_set:
283+
Sample_component:
284284
section:
285285
m_annotations:
286286
eln:
287287
overview: true
288-
sub_sections:
289-
sample_component:
290-
section:
291-
m_annotations:
292-
eln:
293-
overview: true
294-
description: |
295-
A sample component is a part of the sample that is of interest.
296-
For example, a sample component could be a layer of a multilayer sample.
297-
quantities:
298-
name:
299-
type: str
300-
m_annotations:
301-
eln:
302-
component: StringEditQuantity
303-
description: |
304-
Name of the sample component.
305-
sample_id:
306-
type: str
307-
m_annotations:
308-
eln:
309-
component: StringEditQuantity
310-
description: |
311-
An unique identifier for the sample component.
312-
chemical_formula:
313-
type: str
314-
m_annotations:
315-
eln:
316-
component: StringEditQuantity
317-
description: |
318-
The chemical formula specified using CIF conventions.
319-
Abbreviated version of CIF standard:
320-
321-
* Only recognized element symbols may be used.
322-
* Each element symbol is followed by a 'count' number. A count of '1' may be omitted.
323-
* A space or parenthesis must separate each cluster of (element symbol + count).
324-
* Where a group of elements is enclosed in parentheses, the multiplier for the
325-
group must follow the closing parentheses. That is, all element and group
326-
multipliers are assumed to be printed as subscripted numbers.
327-
* Unless the elements are ordered in a manner that corresponds to their chemical
328-
structure, the order of the elements within any group or moiety depends on
329-
whether or not carbon is present.
330-
* If carbon is present, the order should be:
331-
332-
- C, then H, then the other elements in alphabetical order of their symbol.
333-
- If carbon is not present, the elements are listed purely in alphabetic order of their symbol.
334-
335-
* This is the *Hill* system used by Chemical Abstracts.
336-
description:
337-
type: str
338-
m_annotations:
339-
eln:
340-
component: RichTextEditQuantity
341-
description: |
342-
Description of the sample component or sample preparation.
288+
description: |
289+
A sample component is a part of the sample that is of interest.
290+
For example, a sample component could be a layer of a multilayer sample.
291+
quantities:
292+
name:
293+
type: str
294+
m_annotations:
295+
eln:
296+
component: StringEditQuantity
297+
description: |
298+
Name of the sample component.
299+
sample_id:
300+
type: str
301+
m_annotations:
302+
eln:
303+
component: StringEditQuantity
304+
description: |
305+
An unique identifier for the sample component.
306+
chemical_formula:
307+
type: str
308+
m_annotations:
309+
eln:
310+
component: StringEditQuantity
311+
description: |
312+
The chemical formula specified using CIF conventions.
313+
Abbreviated version of CIF standard:
314+
315+
* Only recognized element symbols may be used.
316+
* Each element symbol is followed by a 'count' number. A count of '1' may be omitted.
317+
* A space or parenthesis must separate each cluster of (element symbol + count).
318+
* Where a group of elements is enclosed in parentheses, the multiplier for the
319+
group must follow the closing parentheses. That is, all element and group
320+
multipliers are assumed to be printed as subscripted numbers.
321+
* Unless the elements are ordered in a manner that corresponds to their chemical
322+
structure, the order of the elements within any group or moiety depends on
323+
whether or not carbon is present.
324+
* If carbon is present, the order should be:
325+
326+
- C, then H, then the other elements in alphabetical order of their symbol.
327+
- If carbon is not present, the elements are listed purely in alphabetic order of their symbol.
328+
329+
* This is the *Hill* system used by Chemical Abstracts.
330+
description:
331+
type: str
332+
m_annotations:
333+
eln:
334+
component: RichTextEditQuantity
335+
description: |
336+
Description of the sample component or sample preparation.
343337
History:
344338
section:
345339
m_annotations:
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"data":{"m_def":"../upload/raw/sts.scheme.archive.yaml#/definitions/section_definitions/0","reader":"spm","nxdl":"NXsts","input_files":["config.json","Bias-Spectroscopy00015_20230420.dat"],"export":true,"nexus_view":"../upload/archive/vO8URld58Uv17CJzLgLCFkxng_rU#/data","default":"current_filter_grad","definition":"NXsts","experiment_technique":"STS","experiment_description":"<div>\n<div>The experiment with</div>\n<div>&nbsp;</div>\n<div>Bias: -50mA</div>\n<div>Setpoint: 25pA</div>\n</div>","identifier_experiment":"Au_mica_2023_Y_A_diPAMY_154-211C_370C_1min_385C_30min_400C_1min_400C_30min_415_30min_430_30min_11min_30min_30min_20230416_20230420","identifier_collection":"Au_mica_2023_Y_A_diPAMY_154-211C_370C_1min_385C_30min_400C_1min_400C_30min_415_30min_430_30min_11min_30min_30min_20230419","User":{"name":"Yichen Jin","affiliation":["Rubel Mozumder","Dr. Cojal Gonzalez","Dr. Carlos-Andres Palma"],"email":["ycjin@physik.hu-berlin.de","rubel.mozumder@physik.hu-berlin.de","cojal@physik.hu-berlin.de","palma@physik.hu-berlin.de"]},"Instrument":{"hardware":{"name":"Nanonis","vendor":"Nanonis","model":"Generic5","model/@version":"5"},"software":{"vendor":"Nanonis","name":"Nanonis","model":"Generic5","model/@version":"5"},"lockin_amplifier":{"modulation_signal":"Current","lockin_current_flip_sign":-1},"scan_environment":{"tip_temp":10}},"Sample":{"name":"diPAMY","Sample_component":{"name":"Au(Mica)","sample_id":"Au(KAl3Si3O12H2)","description":"<div>\n<div>Substrate:</div>\n<div>Two layers stack: Au-Mica</div>\n</div>"}}}}

src/pynxtools_spm/nomad/examples/sts/STSExampleWithCustomization/STSNeXusExample.archive.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/pynxtools_spm/nomad/examples/sts/STSExampleWithCustomization/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"ENTRY[entry]": {
3-
"@default": { "raw_path": "@default:current_filter_grad" },
3+
"@default": { "raw_path": "@default:current_grad" },
44
"definition": { "@version": "" },
55
"start_time": {
66
"raw_path": "/Start time/value"

0 commit comments

Comments
 (0)