Skip to content

Commit f274159

Browse files
authored
144 standardized headers for tutorials and harmonization fixes (#190)
* mirrored topics of upload_publish-md, using the nomard-utility-workflows[vis]>=0.2.0 * link fixes and linting adjustments * Lint fixes: disable MD013/MD046 where required, update links, cleanup formatting. * Navigation reorganization so that gui and API uploading and publishing operations are combined in one section * general modification of the titles of tutorials * harmonizing headers * Modified admonition on the API tutorial page * fixed links to the new API page * linting fixes * fixes to upload_published.md file and typo check * minor fixes to upload_publish_api * Improved structure of the Explore page * harmonizing strucutre and ttypo fixes for Using NOMAD as an ELN * adding the standard sections to this tutorial - full review is needed * fixes to upload_publish page * applied the changes from the branch 55. * major changes to the strucutre and style of develope_plugin tutorial * Replaced normalization logic with normalizaion process, and fixed the intro * Harmonization of the introduction, before you start, and what you will learn sections * Harmonization of the introduction, before you begin, and what you will learn sections * Harmonize the introduction, before you begin, and what you will learn sections * Harmoinzation of the introduction, before you begin, and what you will learn sections * a draft for a template for tutorials * Move the what_you_learn sections before the before_you_begin sections for all tuorial pages * made changes based on the review provided by Joe #190 * Updated the introductory abstracts of the tutorial pages to minimize redundancy with what we learn section * linting fixes * linting fixes --------- Co-authored-by: Siamak <siamaknak@yahoo.de> and Ahmed <amansour@physik.hu-berlin.de
1 parent e3d7078 commit f274159

File tree

7 files changed

+547
-465
lines changed

7 files changed

+547
-465
lines changed

docs/tutorial/NOMAD_ELN.md

Lines changed: 62 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,62 @@
1-
# Using NOMAD as an electronic lab notebook
1+
# Use NOMAD as an electronic lab notebook
22

3-
In this tutorial, we will explore how to use NOMAD's Electronic Lab Notebook (ELN) functionality to record experiments effectively. You will learn how to create entries for substances and instruments, record samples along with their processing conditions, and the various measurements that make up your experiments. We will also cover NOMAD's built-in ELN templates, which help structure and interlink different aspects of an experiment, providing a clear, visual overview of the entire workflow.
3+
In this tutorial, we use NOMADs Electronic Lab Notebook (ELN) functionality to document an experiment in the NOMAD GUI. We follow the experimental workflow from defining substances and instruments to recording processing steps and measurements, using built-in ELN templates to structure and interlink the resulting entries. By the end of the tutorial, we will have documented complete experiment as a coherent, navigable ELN record in NOMAD.
44

5-
In doing this, we will apply an example of an experiment on preparing solution-processed polymer thin-films and measuring their optical absorption spectrum.
5+
---
6+
7+
## What you will learn
8+
9+
In this tutorial, you will learn how to:
10+
11+
1. Create and manage an ELN upload in NOMAD
12+
2. Create ELN entries for substances, samples, instruments, processes, and measurements using built-in schemas
13+
3. Reference and interlink ELN entries to represent complete experimental workflows
14+
4. Document material processing steps and visualize them using workflow graphs
15+
5. Combine processes and measurements into a single experiment entry
16+
6. Search, filter, and explore your ELN entries using the NOMAD GUI and custom widgets
17+
18+
---
19+
20+
## Before you begin
21+
22+
This tutorial requires no prior experience with NOMAD.
23+
24+
Before starting, make sure you have:
25+
26+
1. **NOMAD user account**
27+
Creating and editing ELN entries requires a NOMAD user account.
28+
You can create an account by following the steps described in the
29+
[overview page](overview.md#create-a-nomad-user-account){:target="_blank" rel="noopener"}.
30+
31+
2. **Basic understanding of uploads and entries**
32+
Familiarity with uploads, entries, and how they relate to each other can be helpful. These concepts are introduced in the section [key elements in NOMAD](upload_publish.md#the-key-elements-in-nomad){:target="_blank" rel="noopener"} and will be reinforced throughout the tutorial.
33+
34+
3. **Basic familiarity with experimental workflows**
35+
Familiarity with preparation, processing, and measurements can be helpful, but not required.
36+
37+
In this tutorial, we will use an example experiment involving the preparation of solution-processed polymer thin films and the measurement of their optical absorption spectrum.
638

739
??? example "About the example experiment used for this exercise"
840
In this exercise, we will work with an example experiment involving the preparation and characterization of Poly(3-hexylthiophene-2,5-diyl) ("P3HT") thin films. The experiment consists of three main activities: preparing solutions, depositing thin films, and measuring optical absorption.
941

1042
1. **Preparing solutions:** The polymer powder is mixed with a solvent in predefined quantities to achieve the desired concentration. A scale is used to accurately weigh the polymer powder, ensuring precise solution concentration.
1143

12-
2. **Depositing thin-films:** The prepared solution is used to create a thin film on a glass substrate through spin-coating. By carefully controlling the spin speed and duration, the desired film thickness is achieved.
44+
2. **Depositing thin films:** The prepared solution is used to create a thin film on a glass substrate through spin-coating. By carefully controlling the spin speed and duration, the desired film thickness is achieved.
1345

1446
3. **Measuring optical absorption:** The optical absorption spectrum of the thin film is acquired using a UV-Vis-NIR spectrometer. The measurement results are saved as a .csv file for further analysis.
1547

1648
To effectively document this experiment, we will create and interlink electronic lab notebook (ELN) entries in NOMAD. These entries will include key entities such as substances, instruments, and samples, as well as activities like material processing and measurements. By structuring the data in this way, we ensure a comprehensive and FAIR-compliant record of the experiment.
1749

1850
![Overview of the example entities and activities](images/ELN_2.png)
51+
---
1952

2053
## Create a new ELN upload
2154

22-
In NOMAD, an Electronic Lab Notebook (ELN) is created by initiating a NOMAD upload. This process allows you to structure and document your research data efficiently. For a step-by-step guide on how to create an upload, please refer to [this page](upload_publish.md#create-new-upload){:target="_blank"}.
55+
In NOMAD, an Electronic Lab Notebook (ELN) is created by initiating a NOMAD upload. This process allows you to structure and document your research data efficiently. For a step-by-step guide on how to create an upload, please refer to [this page](upload_publish.md#create-new-upload){:target="_blank" rel="noopener"}.
2356

2457
## Create ELN entries
2558

26-
The next step is to create entries for your substances, instruments, processes, and measurements. In NOMAD, each ELN entry is structured using templates called *built-in schema*. These templates are specifically designed to capture relevant information for different types of entries, ensuring consistency and completeness in documentation.
59+
The next step is to create entries for your substances, instruments, processes, and measurements. In NOMAD, each ELN entry is structured using templates called *built-in schemas*. These templates are specifically designed to capture relevant information for different types of entries, ensuring consistency and completeness in documentation.
2760

2861
They include general fields tailored to the type of entry you are creating. The currently available ELN built-in schemas in NOMAD are illustrated in the figure below.
2962

@@ -95,10 +128,10 @@ Once the entry is created, we can fill in the relevant fields with detailed and
95128

96129
### Create a sample entry
97130

98-
Now, let's create an entry using the built-in *Generic Sample ELN* schema for **P3HT Thin Film**. Follow the steps of creating an entry described above and select *Generic Sample ELN* from the drop-down menu in step 4.
131+
Now, let's create an entry using the built-in *Generic Sample ELN* schema for **P3HT thin film**. Follow the steps of creating an entry described above and select *Generic Sample ELN* from the drop-down menu in step 4.
99132

100133
<div style="text-align: center;">
101-
<img src="images/ELN_built-in_12.png" alt="P3HT thin-film sample ELN substance entry" width="400">
134+
<img src="images/ELN_built-in_12.png" alt="P3HT thin film sample ELN substance entry" width="400">
102135
</div>
103136

104137
??? info "Input fields offered by the built-in schema *Generic Sample ELN*"
@@ -153,7 +186,7 @@ Now, let's create an entry using the built-in *Instrument ELN* schema for **scal
153186
- **name:** Automatically used as the entry name.
154187
- **tags:** User selected tags to improve searchability.
155188
- **datetime:** Allows entry of a date/time stamp.
156-
- **ID:** A unique, human-readable ID for the.
189+
- **ID:** A unique, human-readable ID for the instrument.
157190
- **description:** A free text field for additional information.
158191

159192
Additional subsections available in the *data* subsection include:
@@ -231,9 +264,9 @@ The *steps* subsection in the *Materials Processing ELN* allows us to document e
231264

232265
For the example process entry **Preparation of P3HT solution**, we will define the following three steps:
233266

234-
1. weighing the powder
235-
2. filling the solvent
236-
3. mixing the solution
267+
1. Weighing the powder
268+
2. Filling the solvent
269+
3. Mixing the solution
237270

238271
**Use the arrow buttons ⬅️➡️ below to follow the steps for defining the process stages in your material processing entry.**
239272
<div class="image-slider" id="slider6">
@@ -245,15 +278,15 @@ For the example process entry **Preparation of P3HT solution**, we will define t
245278
<div class="nav-arrow right" id="next6">→</div>
246279
</div>
247280

248-
Note that the added information in the **subsections** will be used to automatically fill in the Workflow graph as **tasks**, as well as **the References section**. You can find the Workflow Graph the in **OVERVIEW** tab of the entry.
281+
Note that the added information in the **subsections** will be used to automatically fill in the Workflow graph as **tasks**, as well as **the References section**. You can find the Workflow Graph in the **OVERVIEW** tab of the entry.
249282

250283
<div style="text-align: center;">
251284
<img src="images/ELN_built-in_33.png" alt="Process workflow graph" width="400">
252285
</div>
253286

254287
The workflow graph can be modified and enriched by adding additional information such as **inputs**, **additional tasks**, and **outputs** for each step. You can do this in the **workflow2** section.
255288

256-
The **workflow2** section of the **Preparation of P3HT solution** example can be found under the **DATA** tab, in the left panel under **workflow2**. We can now add inputs, by referencing existing substance entries.
289+
The **workflow2** section of the **Preparation of P3HT solution** example can be found under the **DATA** tab, in the left panel under **workflow2**. We can now add inputs by referencing existing substance entries.
257290

258291
**Use the arrow buttons ⬅️➡️ below to follow the steps for editing the workflow graph.**
259292
<div class="image-slider" id="slider7">
@@ -288,15 +321,15 @@ Now, let's create an entry using the built-in *Measurement ELN* schema for **Opt
288321

289322
??? info "Input fields offered by the built-in schema *Measurement ELN*"
290323
- **name:** Automatically used as the entry name.
291-
- **starting time** Allows entry of a date/time stamp for the measurement.
324+
- **starting time:** Allows entry of a date/time stamp for the measurement.
292325
- **tags:** User selected tags to improve searchability.
293-
- **ID:** A unique, human-readable ID for the process.
294-
- **location:** A text field specifying the location where the process took place.
295-
- **description:** A free text field for additional information about the process.
326+
- **ID:** A unique, human-readable ID for the measurement.
327+
- **location:** A text field specifying the location where the measurement took place.
328+
- **description:** A free text field for additional information about the measurement.
296329

297330
Additional subsections available in the *data* subsection include:
298331

299-
- **steps:** Define the step-by-step procedure for the material processing.
332+
- **steps:** Define the step-by-step procedure for the measurement.
300333
- **samples:** Specify the samples that are being measured.
301334
- **measurement identifier:** Add unique identifiers for the measurement.
302335
- **instruments:** List the instruments used in the measurement.
@@ -324,23 +357,23 @@ Once the entry is created, we can fill in the relevant fields with detailed and
324357

325358
Once all substances, samples, processes, and measurements are defined, you can integrate them into a structured workflow using the *Experiment ELN* schema. The *Experiment ELN* schema allows linking *processes* and *measurements* into a single entry for a comprehensive overview of your experimental workflow.
326359

327-
To create an entry using the built-in *Experiment ELN* schema for **Characterization of P3HT**. Follow the steps of creating an entry described above and select *Experiment ELN* from the drop-down menu in step 4.
360+
Now create an entry using the built-in *Experiment ELN* schema for **Characterization of P3HT**. Follow the steps of creating an entry described above and select *Experiment ELN* from the drop-down menu in step 4.
328361

329362
<div style="text-align: center;">
330363
<img src="images/ELN_built-in_48.png" alt="Experiment ELN entry" width="400">
331364
</div>
332365

333366
??? info "Input fields offered by the built-in schema *Experiment ELN*"
334367
- **name:** Automatically used as the entry name.
335-
- **starting time** Allows entry of a date/time stamp for the measurement.
368+
- **starting time:** Allows entry of a date/time stamp for the experiment.
336369
- **tags:** User selected tags to improve searchability.
337-
- **ID:** A unique, human-readable ID for the process.
338-
- **location:** A text field specifying the location where the process took place.
339-
- **description:** A free text field for additional information about the process.
370+
- **ID:** A unique, human-readable ID for the experiment.
371+
- **location:** A text field specifying the location where the experiment took place.
372+
- **description:** A free text field for additional information about the experiment.
340373

341374
Additional subsections available in the *data* subsection include:
342375

343-
- **steps:** Define the step-by-step procedure for the material processing.
376+
- **steps:** Reference the processes and measurements that make up the experiment.
344377
- **experiment identifiers:** Specify the additional metadata for the experiment.
345378

346379
The *steps* subsection allows us to reference the various processes and measurements that were part of the experiments. By organizing these elements into a structured and interactive workflow, we can provide a clearer overview of the experimental sequence, enabling better visualization and understanding of how different steps are interconnected.
@@ -396,7 +429,7 @@ Imagine you have created multiple entries of substances, samples, instruments, p
396429

397430
To search for entries in your ELN, follow these steps:
398431

399-
1. on the top of the ELN upload page, click on the <img src="images/icon_search_upload.png" alt="Search ELN icon" width="20"> icon.
432+
1. At the top of the ELN upload page, click on the <img src="images/icon_search_upload.png" alt="Search ELN icon" width="20"> icon.
400433

401434
![screenshot of step 1](images/explore_ELN_step_1.png)
402435

@@ -406,12 +439,12 @@ To search for entries in your ELN, follow these steps:
406439

407440
This will open NOMAD's **EXPLORE** page with a filter applied to display only the entries from your upload.
408441

409-
![screenshot of NOMAD EXPLORE page wiht the filter applied](images/explore_ELN_step_2r.png)
442+
![screenshot of NOMAD EXPLORE page with the filter applied](images/explore_ELN_step_2r.png)
410443

411-
On the **EXPLORE** page, you can use the filter options in the sidebar to refine your search, enter specific keywords in the search bar to find relevant entries, or create custom widgets to visualise your ELN data.
444+
On the **EXPLORE** page, you can use the filter options in the sidebar to refine your search, enter specific keywords in the search bar to find relevant entries, or create custom widgets to visualize your ELN data.
412445

413446
??? info "Filtering entries in NOMAD"
414-
NOMAD provides various filters that can be used to efficiently find your ELN entries, but the following two filters are particularlly effective:
447+
NOMAD provides various filters that can be used to efficiently find your ELN entries, but the following two filters are particularly effective:
415448

416449
- Filter by built-in schema used to create the entry.
417450

0 commit comments

Comments
 (0)