Jupyter Analysis
JupyterAnalysis¶
description: Section for analysis using Jupyter notebooks.
inherits from: nomad.datamodel.metainfo.basesections.v1.Analysis, nomad.datamodel.data.EntryData
properties:
| name | type | |
|---|---|---|
| method | str |
A short consistent handle for the applied method.default=Generic |
| trigger_generate_notebook | bool |
Generates a Jupyter notebook and connects it with notebook quantity. If the notebook already exists, the cells containing nomad-analysis-predefined tag will be reset. All other cells will be preserved. |
| trigger_reset_inputs | bool |
Removes the existing references in inputs sub-section and creates new references based on the query_for_inputs quantity. |
| notebook | str |
Generated Jupyter notebook file. |
| query_for_inputs | nomad.datamodel.data.Query |
Search queries for connecting input entries to be used in the analysis. These queries are used to populates the inputs sub-section.shape=['*'] |
normalization:
Handles the behavior of trigger buttons (generate notebook, reset inputs) and normalizes the input references.
The normalize method orchestrates:
generate_notebook: If triggered, generates a Jupyter notebook file. Thewrite_predefined_cellsmethod is used to write the pre-defined cells in the notebook.reset_inputs: If triggered, resets the existing input references and creates new references based on thequery_for_inputsquantity.process_query_for_inputs: Processes thequery_for_inputsquantity to get the list of input entries based on the queries.normalize_input_references: Combines existing inputs with query results, filters duplicates bym_proxy_valueandlab_id, and updates theinputs.
XRDJupyterAnalysis¶
description: Section for XRD analysis using Jupyter notebooks.
inherits from: JupyterAnalysis, nomad.datamodel.data.EntryData
normalization:
Sets the method to XRD and normalizes the entry.