matsci
Example schema for Metador in Materials Science tutorial.
The metadata modelling here is intentionally left simple and minimal.
Material ¶
Bases: MetadataSchema
A material that was used in an experiment or simulation.
Source code in src/metador_core/schema/examples/matsci.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
|
chemicalComposition
instance-attribute
¶
chemicalComposition: Optional[schemaorg.Text]
Chemical formula reflecting distribution of elements in the material.
density
instance-attribute
¶
density: Optional[PositiveFloat]
The density of the material (in g/cm3).
crystalGrainType
instance-attribute
¶
crystalGrainType: Optional[
Literal["single_crystal", "bi_crystal", "poly_crystal"]
]
Type of a grain of a crystalline material.
Instrument ¶
Bases: MetadataSchema
Metadata of the instrument used to generate some data.
Source code in src/metador_core/schema/examples/matsci.py
36 37 38 39 40 41 42 43 44 45 |
|
Specimen ¶
Bases: MetadataSchema
Metadata of the specimen tested in an experiment.
Source code in src/metador_core/schema/examples/matsci.py
48 49 50 51 52 53 54 55 56 57 58 59 |
|
Method ¶
Bases: MetadataSchema
A method used to conduct a materials science experiment or simulation.
Source code in src/metador_core/schema/examples/matsci.py
62 63 64 65 66 67 68 69 70 71 72 73 |
|
methodType
instance-attribute
¶
methodType: Optional[Literal['tensile_test', 'other']]
Type of method used to obtain the resulting data.
MatsciFileInfo ¶
Bases: CreativeWork
Metadata for a file with data obtained from research in Materials Science.
Note: To state authors or contributors, use the core.person
schema.
Source code in src/metador_core/schema/examples/matsci.py
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
|
material
instance-attribute
¶
material: Annotated[
List[Material],
Field(default_factory=lambda: [], min_items=1),
]
Physical material associated with the file.
method
instance-attribute
¶
method: Annotated[
List[Method], Field(default_factory=lambda: [])
]
Materials Science method associated with the file.