Repository navigation
New metadata API
New Metadata API layer for working from python
from RadFiled3D.metadata.v1 import Metadata
from RadFiled3D.utils import FieldStore # important to use RadFiled3D.utils module, as the plain FieldStore will not load the API
# support of accessing more simulation parameters from RadField3D datasets
m = FieldStore.load_metadata(file)
m.simulation.tube.spectrum
m.simulation.tube.field_shape # [FieldShape.CONE, FieldShape.RECTANGLE, FieldShape.ELLIPSIS]
m.simulation.tube.opening_angle_deg # for cone fields
m.simulation.tube.field_rect_dimensions_m # for rect fields
m.simulation.tube.field_ellipsis_opening_angles_deg # for ellipsis fieldsBug fix for histograms in metadata
Bug fix for numpy accessing of fields switched from fortan-style to C-style
Full Changelog: 1.1.5...1.2.0