PyONDE 0.1.3__tar.gz → 0.1.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. {pyonde-0.1.3 → pyonde-0.1.4}/PKG-INFO +1 -1
  2. {pyonde-0.1.3 → pyonde-0.1.4}/PyONDE/__init__.py +1 -1
  3. {pyonde-0.1.3 → pyonde-0.1.4}/PyONDE/_version.py +3 -3
  4. {pyonde-0.1.3 → pyonde-0.1.4}/PyONDE/onde.py +17 -3
  5. pyonde-0.1.4/PyONDE/onde_versions/ONDE_fields_v0.9.2pre.csv +212 -0
  6. {pyonde-0.1.3 → pyonde-0.1.4}/PyONDE.egg-info/PKG-INFO +1 -1
  7. {pyonde-0.1.3 → pyonde-0.1.4}/PyONDE.egg-info/SOURCES.txt +1 -0
  8. {pyonde-0.1.3 → pyonde-0.1.4}/PyONDE.egg-info/scm_file_list.json +1 -0
  9. pyonde-0.1.4/PyONDE.egg-info/scm_version.json +8 -0
  10. {pyonde-0.1.3 → pyonde-0.1.4}/demos/build_onde_file.py +16 -15
  11. pyonde-0.1.3/PyONDE.egg-info/scm_version.json +0 -8
  12. {pyonde-0.1.3 → pyonde-0.1.4}/.github/workflows/doc.yml +0 -0
  13. {pyonde-0.1.3 → pyonde-0.1.4}/.github/workflows/push-to-pypi.yml +0 -0
  14. {pyonde-0.1.3 → pyonde-0.1.4}/.gitignore +0 -0
  15. {pyonde-0.1.3 → pyonde-0.1.4}/.vscode/settings.json +0 -0
  16. {pyonde-0.1.3 → pyonde-0.1.4}/LICENSE.txt +0 -0
  17. {pyonde-0.1.3 → pyonde-0.1.4}/PyONDE/bin/__init__.py +0 -0
  18. {pyonde-0.1.3 → pyonde-0.1.4}/PyONDE/onde_versions/ONDE_fields_v0.9.1pre.csv +0 -0
  19. {pyonde-0.1.3 → pyonde-0.1.4}/PyONDE.egg-info/dependency_links.txt +0 -0
  20. {pyonde-0.1.3 → pyonde-0.1.4}/PyONDE.egg-info/not-zip-safe +0 -0
  21. {pyonde-0.1.3 → pyonde-0.1.4}/PyONDE.egg-info/top_level.txt +0 -0
  22. {pyonde-0.1.3 → pyonde-0.1.4}/README.md +0 -0
  23. {pyonde-0.1.3 → pyonde-0.1.4}/demos/build_onde_graph.py +0 -0
  24. {pyonde-0.1.3 → pyonde-0.1.4}/demos/build_simple_graph.py +0 -0
  25. {pyonde-0.1.3 → pyonde-0.1.4}/demos/graph_modification.py +0 -0
  26. {pyonde-0.1.3 → pyonde-0.1.4}/demos/load_onde_file.py +0 -0
  27. {pyonde-0.1.3 → pyonde-0.1.4}/doc/LowLevel_Class_Structure.md +0 -0
  28. {pyonde-0.1.3 → pyonde-0.1.4}/doc/Makefile +0 -0
  29. {pyonde-0.1.3 → pyonde-0.1.4}/doc/source/PyONDE.rst +0 -0
  30. {pyonde-0.1.3 → pyonde-0.1.4}/doc/source/about.rst +0 -0
  31. {pyonde-0.1.3 → pyonde-0.1.4}/doc/source/architecture.rst +0 -0
  32. {pyonde-0.1.3 → pyonde-0.1.4}/doc/source/conf.py +0 -0
  33. {pyonde-0.1.3 → pyonde-0.1.4}/doc/source/index.rst +0 -0
  34. {pyonde-0.1.3 → pyonde-0.1.4}/doc/source/installation.rst +0 -0
  35. {pyonde-0.1.3 → pyonde-0.1.4}/doc/source/modules.rst +0 -0
  36. {pyonde-0.1.3 → pyonde-0.1.4}/doc/source/quickstart.rst +0 -0
  37. {pyonde-0.1.3 → pyonde-0.1.4}/pyproject.toml +0 -0
  38. {pyonde-0.1.3 → pyonde-0.1.4}/setup.cfg +0 -0
  39. {pyonde-0.1.3 → pyonde-0.1.4}/setup.py +0 -0
  40. {pyonde-0.1.3 → pyonde-0.1.4}/tests/try_array.py +0 -0
  41. {pyonde-0.1.3 → pyonde-0.1.4}/tests/try_csv_read.py +0 -0
  42. {pyonde-0.1.3 → pyonde-0.1.4}/tests/try_dictionary.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyONDE
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: PyONDE library for reading, modifying, and writing ONDE files
5
5
  Home-page: http://github.com/isuthermography/PyONDE
6
6
  Author: Stephen D. Holland
@@ -35,7 +35,7 @@ onde_versions_path = os.path.join(pkgdir,"onde_versions")
35
35
  def generate_onde_uuid(vendor_name,equip_serial,timestamp,suffix):
36
36
  """Generate and return an ONDE UUID string beginning with "2.25.".
37
37
  If you have no way to extract an equipment serial number, suggest using the python UUID module str(uuid.getnode()) to use ethernet hardware interface information in its place. timestamp can come from datetime.now() and suffix should distinguish between multiple datasets that might have the same timestamp."""
38
- unique_string = f"{vendor_name:s} {equip_serial:s} {timestamp.year:d} {timestamp.month:d} {timestamp.day:d} {timestamp.hour:d} {timestamp.minute:d} {timestamp.second:d} {timestamp.microsecond:d} {suffix:s}"
38
+ unique_string = f"{vendor_name:s} {equip_serial:s} {timestamp.isoformat(timespec='microseconds'):s} {suffix:s}"
39
39
  py_major = sys.version_info.major
40
40
  py_minor = sys.version_info.minor
41
41
  hl_kwargs = {}
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
18
18
  commit_id: str | None
19
19
  __commit_id__: str | None
20
20
 
21
- __version__ = version = '0.1.3'
22
- __version_tuple__ = version_tuple = (0, 1, 3)
21
+ __version__ = version = '0.1.4'
22
+ __version_tuple__ = version_tuple = (0, 1, 4)
23
23
 
24
- __commit_id__ = commit_id = 'g5359d8d4c'
24
+ __commit_id__ = commit_id = 'g154afec3d'
@@ -1908,6 +1908,10 @@ class ONDEObject(ONDEBase):
1908
1908
  if not ":" in attrname:
1909
1909
  raise ValueError(f"Error loading fields from hdf5 group {h5_group.name:s} in file {onde_file.h5path:s}: field name {attrname:s} does not contain a colon separator between the defining class and the name.")
1910
1910
  h5_attr = h5_group.attrs[attrname]
1911
+ if isinstance(h5_attr,bytes):
1912
+ # Scalar HDF5 fixed-length string; decode as above.
1913
+ h5_attr = h5_attr.decode("utf-8",errors="replace")
1914
+ pass
1911
1915
  if isinstance(h5_attr,str) or isinstance(h5_attr,int) or isinstance(h5_attr,float):
1912
1916
  attr_obj = ONDEValue.new(h5_attr)
1913
1917
  _ONDE_attrs[attrname] = attr_obj
@@ -1916,7 +1920,17 @@ class ONDEObject(ONDEBase):
1916
1920
  elif isinstance(h5_attr,np.ndarray):
1917
1921
  string_info = h5py.check_string_dtype(h5_attr.dtype)
1918
1922
  if string_info is not None:
1919
- # array of strings
1923
+ # array of strings. HDF5 fixed-length strings come back
1924
+ # from h5py as bytes ("S" dtype); decode them here so that
1925
+ # everything downstream -- class name comparisons,
1926
+ # add() validation, flush() -- sees str, as it does for
1927
+ # variable-length strings.
1928
+ if h5_attr.dtype.kind == "S":
1929
+ h5_attr = np.array(
1930
+ [element.decode(string_info.encoding,errors="replace")
1931
+ for element in h5_attr.ravel()],
1932
+ dtype=h5py.string_dtype()).reshape(h5_attr.shape)
1933
+ pass
1920
1934
  pass
1921
1935
 
1922
1936
  # Check if hdf5 reference
@@ -2073,7 +2087,7 @@ class ONDEFileGraphSnapshot(ONDEObject):
2073
2087
  break
2074
2088
  if num_chars_for_unique == len(shortable_key):
2075
2089
  #Didn't find any prefix
2076
- shortable_keys[shortable_key] = shortable_key
2090
+ shortable_keys[shortable_key] = shortable_key[5:]
2077
2091
  pass
2078
2092
  pass
2079
2093
  pass
@@ -3681,7 +3695,7 @@ def _search_h5_for_onde_datasets(h5_fh,h5_group,dataset_h5_groups,h5_groups_seen
3681
3695
  h5_groups_seen is a set of hdf5 group paths seen during the traversal
3682
3696
  """
3683
3697
 
3684
- if "ONDE:TYPE" in h5_group.attrs and h5_group.attrs["ONDE:TYPE"][0] == "ONDE_DATASET":
3698
+ if "ONDE:TYPE" in h5_group.attrs and (h5_group.attrs["ONDE:TYPE"][0] == "ONDE_DATASET" or h5_group.attrs["ONDE:TYPE"][0] == b"ONDE_DATASET"):
3685
3699
  dataset_h5_groups[h5_group.name] = h5_group
3686
3700
  pass
3687
3701
 
@@ -0,0 +1,212 @@
1
+ Class;Name;Comments;M or O;D or A;Class;Dims;Size or content;Min;Max;Accessory Class
2
+ ONDE_UT;ONDE:FILETYPE;For detailed information, see the [data model specification](../data_model.html);M;A;H5T_STRING;[*];["ONDE_DATASET","ONDE_UT"];;;
3
+ ONDE_UT;ONDE:VERSION;;M;A;H5T_STRING;1;"0.9.1";;;
4
+ ONDE_DATASET;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[1];["ONDE_DATASET"];;;
5
+ ONDE_DATASET;ONDE:LABEL;A name for this dataset;O;A;H5T_STRING;1;;;;
6
+ ONDE_DATASET;ONDE:UUID;The UUID field is a mandatory universally unique identifier. These are stored as strings, limited to no more than 63 printable ASCII characters. UUIDs should be compatible with DICOM for interoperabiltity. See [Creating a Privately Defined Unique Identifier](https://dicom.nema.org/medical/dicom/current/output/chtml/part05/chapter_B.html) and [UUID Derived UID](https://dicom.nema.org/medical/dicom/current/output/chtml/part05/sect_B.2.html). The recommended process is to create a 128 bit UUID for each dataset by hashing information including equipment model and serial number and time, and if possible end user information as well. This UUID should be printed as a decimal number, with leading zeros eliminated, and given a prefix of "2.25.". ;M;A;H5T_STRING;1;;;;
7
+ ONDE_DATASET;ONDE_DATASET:SETUP;;M;A;H5T_STD_REF_OBJ<ONDE_SETUP>;1;;;;
8
+ ONDE_DATASET;ONDE_DATASET:OPERATOR;;O;A;H5T_STRING;1;;;;
9
+ ONDE_DATASET;ONDE_DATASET:DATE_AND_TIME;The ISO 8601 extended format: 'yyyy-mm-ddTHH:MM:SS' (e.g. '2019-01-16T17:05:06') must be used with a capital T separating the date and the time. Optionally, a decimal point ('.') and a fractional portion of a second may be appended. In addition, time zone information is usually appended: * "Z", indicating a timestamp in UTC * "±hh:mm", indicating a timezone with the specified offset from UTC * (no timezone information), indicating an unknown timezone, software will usually interpret this as local time or UTC. ;M;A;H5T_STRING;1;;;;
10
+ ONDE_DATASET;ONDE_DATASET:DATA;Data can be either an array or a reference to an array. Omitting this field is possible, in the event when Tscan or Cscan data is recorded but the underlying Ascan data is not. The dimensions of the dataset are application dependent, subclasses can override and specify the dimensions.;O;A or D;H5T_STD_REF_OBJ<data> or H5T_INTEGER or H5T_FLOAT;;;;;
11
+ ONDE_DATASET;ONDE_DATASET:AMPLITUDE_DIMENSION;If absent, treated as coordinate "Amplitude", units "Arbitrary", offset 0.0, scale 1.0;O;A;H5T_STD_REF_OBJ<ONDE_DIMENSION>;1;;;;
12
+ ONDE_DATASET;ONDE_DATASET:INDEX_DIMENSIONS;One entry per dimension of ONDE_DATASET:DATA. Any that are absent are treated as coordinate "Time", units "seconds", offset 0.0, scale 1.0;O;A;H5T_STD_REF_OBJ<ONDE_DIMENSION>;[n_data_dims];;;;
13
+ ONDE_DATASET_UT;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[2];["ONDE_DATASET", "ONDE_DATASET_UT"];;;
14
+ ONDE_DATASET_UT_ASCAN;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[3];["ONDE_DATASET", "ONDE_DATASET_UT", "ONDE_DATASET_UT_ASCAN"];;;
15
+ ONDE_DATASET_UT_ASCAN;ONDE_DATASET:DATA;Data can be either an array or a reference to an array. Omitting this field is possible, in the event when Tscan or Cscan data is recorded but the underlying Ascan data is not.;O;A or D;H5T_STD_REF_OBJ<data> or H5T_INTEGER or H5T_FLOAT;1 or [N_U<m>,N_V<m>,N_Ascan<m>,Ntime<m>];;;;
16
+ ONDE_DATASET_UT_TSCAN;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[3];["ONDE_DATASET", "ONDE_DATASET_UT", "ONDE_DATASET_UT_TSCAN"];;;
17
+ ONDE_DATASET_UT_TSCAN;ONDE_DATASET:DATA;can be either an array or a reference to an array;M;A or D;H5T_STD_REF_OBJ<ONDE_UT_ASCAN_DATASET> or H5T_INTEGER;1 or [N_U<m>,N_V<m>,N_ROW<m>,N_COL<m>] or [N_U<m>,N_V<m>,NROW<m>,NCOL<m>,N_PLANE<m>];;;;
18
+ ONDE_DATASET_UT_TSCAN;ONDE_DATASET_UT_TSCAN:ZONE_FRAME;frame associated with the center of the image zone;M;A;H5T_FLOAT;[7];;;;
19
+ ONDE_DATASET_UT_TSCAN;ONDE_DATASET_UT_TSCAN:ZONE_DIMENSION;physical dimension of the zone;M;A;H5T_FLOAT;[3];;;;
20
+ ONDE_DATASET_UT_TSCAN;ONDE_DATASET_UT_TSCAN:ZONE_SIZE;number of pixels of the zone;M;A;H5T_INTEGER;[3];;;;
21
+ ONDE_DATASET_UT_TSCAN;ONDE_DATASET_UT_TSCAN:RECONSTRUCTION_MODE;;O;A;H5T_STRING;1;;;;
22
+ ONDE_DATASET_UT_TSCAN;ONDE_DATASET_UT_TSCAN:REFERENCE_PROBE_INDEX;Points the the index of the reference probe in the Geometric setup probe list. Defaults to 0.;O;A;H5T_INTEGER;1;;;;
23
+ ONDE_DATASET_UT_TSCAN;ONDE_DATASET_UT_TSCAN:SOURCE_ASCAN_DATASET;reference to the elementary channels ascans that were used for the reconstruction;M;A;H5T_STD_REF_OBJ<ONDE_UT_ASCAN_DATASET>;1;;;;
24
+ ONDE_DATASET_UT_CSCAN;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[3];["ONDE_DATASET", "ONDE_DATASET_UT", "ONDE_DATASET_UT_CSCAN"];;;
25
+ ONDE_DATASET_UT_CSCAN;ONDE_DATASET:DATA;The field contains either an array containing the CScan data (3D hdf5 dataset) or a reference to this array (hdf5 reference stored as an attribute). Dimensions of this array are [N_U<m>, N_V<m>, N_A<m>], N_A<m> being the number of scans at each point. In the case of monoelement scans, the third dimension is therefore of size 1.;M;A or D;H5T_STD_REF_OBJ<data> or H5T_INTEGER or H5T_FLOAT;1 or [N_U<m>,N_V<m>,N_A<m>];;;;
26
+ ONDE_DATASET_UT_CSCAN;ONDE_DATASET_UT_CSCAN:UNDERLYING_DATA;reference to the dataset containing the underlying data;O;A;H5T_STD_REF_OBJ<ONDE_UT_ASCAN_DATASET> or H5T_STD_REF_OBJ<ONDE_UT_TSCAN_DATASET>;1;;;;
27
+ ONDE_DATASET_UT_CSCAN;ONDE_DATASET_UT_CSCAN:UNDERLYING_DATA_REFERENCE;Correspondancy between the C-Scan scalar data and the scan originating. For a A-Scan, the scan is expressed in terms of (dataframe, law). For a 2D Tscan, it will be (dataframe, column), for a 3D Tscan, it will be (dataframe, plane, column);M;D;H5T_INTEGER;[N_U<m>,N_V<m>,2] or [N_U<m>,N_V<m>,3];;;;
28
+ ONDE_DATASET_UT_CSCAN;ONDE_DATASET_UT_CSCAN:CSCAN_GRID;;M;A;H5T_STD_REF_OBJ<ONDE_ACQUISITION_GRID>;1;;;;
29
+ ONDE_DATASET_UT_CSCAN;ONDE_DATASET_UT_CSCAN:ONDE_UT_EXTRACTION;The referenced object describes the extraction process that was used to obtain the Cscan data from the underlying data.;O;A;H5T_STD_REF_OBJ<ONDE_UT_EXTRACTION>;1;;;;
30
+ ONDE_DIMENSION;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[1];["ONDE_DIMENSION"];;;
31
+ ONDE_DIMENSION;ONDE_DIMENSION:COORDINATE;String defining the stored data (for the AMPLITUDE_DIMENSION) or the indexed coordinates (for INDEX_DIMENSIONS). The name can be either custom (MY_MATERIAL_PROPERTY for instance) or a standardized name: Time, Voltage, Pressure, Thickness, Time of flight, Depth, Amax, etc. The default interpretation if this value is unspecified depends on context (default coordinate is Amplitude for AMPLITUDE_DIMENSION or Time for INDEX_DIMENSIONs);O;A;H5T_STRING;1;;;;
32
+ ONDE_DIMENSION;ONDE_DIMENSION:UNITS;Units for the stored data (for the AMPLITUDE_DIMENSION) or for the indexed coordinates (for INDEX_DIMENSIONS). Units are strings such as "meters", "seconds", "arbitrary", etc. and should generally be spelled out for clarity. All units must be MKS base units if applicable, except for angles, which should be in degrees rather than radians. The default interpretation if this value is unspecified depends on context (default units are arbitrary for AMPLITUDE_DIMENSION or seconds for INDEX_DIMENSIONS);O;A;H5T_STRING;1;;;;
33
+ ONDE_DIMENSION;ONDE_DIMENSION:OFFSET;Offset to be added to scaled stored data (for the AMPLITUDE_DIMENSION) or scaled zero-based integer indices (for INDEX_DIMENSIONS). Calibrated value in given units = (data or index)*SCALE + OFFSET. Default value of 0.0 if unspecified;O;A;H5T_FLOAT;1;;;;
34
+ ONDE_DIMENSION;ONDE_DIMENSION:SCALE;Scale to be applied to stored data (for the AMPLITUDE_DIMENSION) or integer indices (for INDEX_DIMENSIONS). Calibrated value in given units = (data or index)*SCALE + OFFSET. Default value of 1.0 if unspecified;O;A;H5T_FLOAT;1;;;;
35
+ ONDE_UT_GATE;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[1];["ONDE_UT_GATE"];;;
36
+ ONDE_UT_GATE;ONDE_UT_GATE:START;For scalar data relying on Ascan data, defines the start time for the gate. Mandatory for data related to Ascans.;O;A;H5T_FLOAT;1;;;;
37
+ ONDE_UT_GATE;ONDE_UT_GATE:WIDTH;For Cscans scalar data relying on Ascan data, defines the width of the gate. Mandatory for data related to Ascans;O;A;H5T_FLOAT;1;;;;
38
+ ONDE_UT_GATE;ONDE_UT_GATE:THRESHOLD;Defines the threshold of the gate for data to be stored;O;A;H5T_FLOAT;1;;;;
39
+ ONDE_UT_GATE;ONDE_UT_GATE:DETECTION;;O;A;H5T_STRING;1;"FIRST_PEAK"|"LAST_PEAK"|"MAX_PEAK"|"FIRST_FLANK"|"LAST_FLANK"|"MAX_FLANK";;;
40
+ ONDE_UT_GATE;ONDE_UT_GATE:POLARITY;;O;A;H5T_STRING;1;"ABSOLUTE"|"POSITIVE"|"NEGATIVE";;;
41
+ ONDE_UT_GATE;ONDE_UT_GATE:SYNCHRONIZATION_SOURCE;Reference to the gate that is used as a synchronization source for this gate. If absent, the gate is defined as a static gate.;O;A;H5T_STD_REF_OBJ<ONDE_UT_GATE>;1;;;;
42
+ ONDE_SETUP;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[1];["ONDE_SETUP"];;;
43
+ ONDE_SETUP;ONDE_SETUP:GEOMETRIC_SETUP;;M;A;H5T_STD_REF_OBJ<ONDE_GEOMETRIC_SETUP>;1;;;;
44
+ ONDE_SETUP_UT;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[2];["ONDE_SETUP", "ONDE_SETUP_UT"];;;
45
+ ONDE_SETUP_UT;ONDE_SETUP_UT:ULTRASONIC_SETUP;Mandatory for Ascan sequences;O;A;H5T_STD_REF_OBJ<ONDE_ULTRASONIC_SETUP>;1;;;;
46
+ ONDE_GEOMETRIC_SETUP;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[1];["ONDE_GEOMETRIC_SETUP"];;;
47
+ ONDE_GEOMETRIC_SETUP;ONDE_GEOMETRIC_SETUP:COMPONENT;Reference to the inspected component. If missing, semi-infinite half plane is assumed, with interface at z=0 and material for z>0;O;A;H5T_STD_REF_OBJ<ONDE_COMPONENT>;1;;;;
48
+ ONDE_GEOMETRIC_SETUP;ONDE_GEOMETRIC_SETUP:PROBE_LIST;List all probes used in the acquisition of the dataset;M;D;H5T_STD_REF_OBJ<ONDE_PROBE>;[N_Prob<M>];;;;
49
+ ONDE_GEOMETRIC_SETUP;ONDE_GEOMETRIC_SETUP:ACQUISITION_TRAJECTORY;References to the block describing the trajectory, references have the same order as PROBE_LIST;M;D;H5T_STD_REF_OBJ<ONDE_ACQUISITION_TRAJECTORY>;[N_Prob<M>];;;;
50
+ ONDE_GEOMETRIC_SETUP;ONDE_GEOMETRIC_SETUP:PROBE_COORDINATE_FRAME;Offset and direction of the probe w.r.t the trajectory frame- identity is assumed if not provided;O;D;H5T_FLOAT;[N_Prob<M>,7];;;;
51
+ ONDE_BINARYFILE;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[1];["ONDE_BINARYFILE"];;;
52
+ ONDE_BINARYFILE_EMBEDDED;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[2];["ONDE_BINARYFILE", "ONDE_BINARYFILE_EMBEDDED"];;;
53
+ ONDE_BINARYFILE_EMBEDDED;ONDE_BINARYFILE_EMBEDDED:CONTENT;The bytes of the binary file;M;D;H5T_NATIVE_OPAQUE;[N_bytes];;;;
54
+ ONDE_BINARYFILE_EMBEDDED;ONDE_BINARYFILE_EMBEDDED:CONTENT_TYPE;The MIME type of the file provided. May be "application/octet-string" for unknown binary data.;M;A;H5T_STRING;;;;;
55
+ ONDE_BINARYFILE_EMBEDDED;ONDE_BINARYFILE_EMBEDDED:NAME;An optional file name identifying the contained information.;O;A;H5T_STRING;;;;;
56
+ ONDE_COMPONENT;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[1];["ONDE_COMPONENT"];;;
57
+ ONDE_COMPONENT;ONDE:LABEL;;O;A;H5T_STRING;;;;;
58
+ ONDE_COMPONENT;ONDE_COMPONENT:VELOCITIES;The two values indicate the longitudinal and shear wave velocities respectively. Missing values should be replaced by NaN.;M;A;H5T_FLOAT;[2];;;;
59
+ ONDE_COMPONENT;ONDE_COMPONENT:DENSITY;;O;A;H5T_FLOAT;1;;;;
60
+ ONDE_COMPONENT;ONDE_COMPONENT:VISUALIZATION_CAD;Optional CAD used for visualisation purposes. Contains the CAD file itself. The recommended formats are: * STEP with a CONTENT_TYPE of "model/step", "model/step+xml", "model/step+zip", or "model/step-xml+zip". Exactly which of the preceding CONTENT_TYPEs is specified should not be treated as significant. The step file should contain application protocols AP203, AP214, or AP242. * IGES with a CONTENT_TYPE of "application/iges" * STL with a CONTENT_TYPE of "model/stl", "model/x.stl-ascii", "model/x.stl-binary". Exactly which of the preceding CONTENT_TYPEs is specified should not be treated as significant. * DXF with a CONTENT_TYPE of "image/vnd.dxf". Applications should warn or otherwise get consent from the end-user before embedding a non-recommended format. When a dxf is provided for the Visualization CAD, the extrusion of the CAD is implied from the specimen shape: it is of linear nature if the specimen is a plate or a 2D CAD with linear extrusion, it is cylindrical if the specimen is a cylinder or a 2D CAD with cylindrical extrusion. A typical use case for this feature is the ability to superimpose a weld profile to a plate or cylindrical specimen in order to facilitate the interpretation of the indications. ;O;A;H5T_STD_REF_OBJ<ONDE_BINARYFILE>;1;;;;
61
+ ONDE_COMPONENT;ONDE_COMPONENT:VISUALIZATION_CAD_FRAME;Definition of the frame defining the visualisation CAD with offset and quaternions in the specimen frame- Identity is used if absent;O;A;H5T_FLOAT;[7];;;;
62
+ ONDE_COMPONENT;ONDE_COMPONENT:COMPONENT_FRAME;Definition of the specimen frame in the reference frame. If not provided, default value is identity with the reference frame.;O;A;H5T_FLOAT;[7];;;;
63
+ ONDE_COMPONENT;ONDE_COMPONENT:COMMENT;;O;A;H5T_STRING;1;;;;
64
+ ONDE_COMPONENT;ONDE_COMPONENT:IMAGE;Photograph or other image of the component. Recommended formats are: * PNG with a CONTENT_TYPE of "image/png" * JPEG with a CONTENT_TYPE of "image/jpeg" Applications should warn or otherwise get consent from the end-user before embedding a non-recommended format. ;O;A;H5T_STD_REF_OBJ<ONDE_BINARYFILE>;1;;;;
65
+ ONDE_PLANE;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[2];["ONDE_COMPONENT", "ONDE_PLANE"];;;
66
+ ONDE_PLANE;ONDE_PLANE:PLATE_DIMENSIONS;;M;A;H5T_FLOAT;[3];;;;
67
+ ONDE_CYLINDER;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[2];["ONDE_COMPONENT", "ONDE_CYLINDER"];;;
68
+ ONDE_CYLINDER;ONDE_CYLINDER:DIMENSIONS;;M;A;H5T_FLOAT;[3];;;;
69
+ ONDE_2DCAD;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[2];["ONDE_COMPONENT", "ONDE_2DCAD"];;;
70
+ ONDE_2DCAD;ONDE_2DCAD:EXTRUSION_TYPE;;M;A;H5T_STRING;1;"PLANE"|"CYLINDER";;;
71
+ ONDE_2DCAD;ONDE_2DCAD:EXTRUSION_DIMENSION;;M;A;H5T_FLOAT;1;;;;
72
+ ONDE_2DCAD;ONDE_2DCAD:CAD;Contains the 2D CAD file representation of the component. The recommended format is DXF with a CONTENT_TYPE of "image/vnd.dxf". Applications should warn or otherwise get consent from the end-user before embedding a non-recommended format. ;M;A;H5T_STD_REF_OBJ<ONDE_BINARYFILE>;1;;;;
73
+ ONDE_3DCAD;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[2];["ONDE_COMPONENT", "ONDE_3DCAD"];;;
74
+ ONDE_3DCAD;ONDE_3DCAD:CAD;Contains a 3D CAD file representation of the component. The recommended formats are: * STEP with a CONTENT_TYPE of "model/step", "model/step+xml", "model/step+zip", or "model/step-xml+zip". Exactly which of the preceding CONTENT_TYPEs is specified should not be treated as significant. The step file should contain application protocols AP203, AP214, or AP242. * IGES with a CONTENT_TYPE of "application/iges" * STL with a CONTENT_TYPE of "model/stl", "model/x.stl-ascii", "model/x.stl-binary". Exactly which of the preceding CONTENT_TYPEs is specified should not be treated as significant. Applications should warn or otherwise get consent from the end-user before embedding a non-recommended format. ;M;A;H5T_STD_REF_OBJ<ONDE_BINARYFILE>;1;;;;
75
+ ONDE_WELD;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[2];["ONDE_COMPONENT", "ONDE_WELD"];;;
76
+ ONDE_WELD;ONDE_WELD:EXTRUSION_TYPE;;M;A;H5T_STRING;1;"PLANE"|"CYLINDER";;;
77
+ ONDE_WELD;ONDE_WELD:EXTRUSION_DIMENSION;;M;A;H5T_FLOAT;1;;;;
78
+ ONDE_WELD;ONDE_WELD:WELD_TYPE;;M;A;H5T_STRING;1;"V"|"U";;;
79
+ ONDE_WELD;ONDE_WELD:WELD_SYMMETRY;;M;A;H5T_STRING;1;"SYMMETRIC"|"STRAIGHT_LEFT"|"STRAIGHT_RIGHT";;;
80
+ ONDE_WELD;ONDE_WELD:WELD_UPPER_CAP_WIDTH;;M;A;H5T_FLOAT;1;;;;
81
+ ONDE_WELD;ONDE_WELD:WELD_UPPER_CAP_HEIGHT;;M;A;H5T_FLOAT;1;;;;
82
+ ONDE_WELD;ONDE_WELD:WELD_FILL_ANGLE;;M;A;H5T_FLOAT;1;;;;
83
+ ONDE_WELD;ONDE_WELD:WELD_FILL_HEIGHT;;M;A;H5T_FLOAT;1;;;;
84
+ ONDE_WELD;ONDE_WELD:WELD_HOT_PASS_ANGLE;;M;A;H5T_FLOAT;1;;;;
85
+ ONDE_WELD;ONDE_WELD:WELD_HOT_PASS_HEIGHT;;M;A;H5T_FLOAT;1;;;;
86
+ ONDE_WELD;ONDE_WELD:WELD_LAND_OFFSET;;M;A;H5T_FLOAT;1;;;;
87
+ ONDE_WELD;ONDE_WELD:WELD_LAND_HEIGHT;;M;A;H5T_FLOAT;1;;;;
88
+ ONDE_WELD;ONDE_WELD:WELD_ROOT_ANGLE;;M;A;H5T_FLOAT;1;;;;
89
+ ONDE_WELD;ONDE_WELD:WELD_ROOT_HEIGHT;;M;A;H5T_FLOAT;1;;;;
90
+ ONDE_WELD;ONDE_WELD:WELD_LOWER_CAP_HEIGHT;;M;A;H5T_FLOAT;1;;;;
91
+ ONDE_WELD;ONDE_WELD:WELD_LOWER_CAP_WIDTH;;M;A;H5T_FLOAT;1;;;;
92
+ ONDE_WELD;ONDE_WELD:WELD_HAZ_WIDTH;;O;A;H5T_FLOAT;1;;;;
93
+ ONDE_PROBE;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[1];["ONDE_PROBE"];;;
94
+ ONDE_PROBE;ONDE:LABEL;;O;A;H5T_STRING;1;;;;
95
+ ONDE_PROBE;ONDE_PROBE:MANUFACTURER;;O;A;H5T_STRING;1;;;;
96
+ ONDE_PROBE;ONDE_PROBE:SERIAL_NUMBER;;O;A;H5T_STRING;1;;;;
97
+ ONDE_UT_PROBE;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[2];["ONDE_PROBE", "ONDE_UT_PROBE"];;;
98
+ ONDE_UT_PROBE;ONDE:TYPE_TAGS;;M;A;H5T_STRING;[*];["ONDE_UT_ELEMENTS"];;;
99
+ ONDE_UT_PROBE;ONDE_UT_PROBE:FREQUENCY;;M;A;H5T_FLOAT;1;;;;
100
+ ONDE_UT_PROBE;ONDE_UT_PROBE:BANDWIDTH;;O;A;H5T_FLOAT;1;;;;
101
+ ONDE_UT_PROBE;ONDE_UT_PROBE:INDEX_POINT_FRAME;If absent, identity is assumed;O;D;H5T_FLOAT;[7];;;;
102
+ ONDE_UT_PROBE;ONDE_UT_PROBE:FOCUSING_SURFACE;Defines the shape of the surface on which the elements are arranged —if absent, FLAT is assumed;O;A;H5T_STRING;;"FLAT"|"CYLINDRICAL_INC"|"CYLINDRICAL_PERP"|"SPHERICAL"|"BIFOCAL"|"TRIFOCAL";;;
103
+ ONDE_UT_PROBE;ONDE_UT_PROBE:FOCUSING_SURFACE_PARAMETERS;Multi values: value in mm - FLAT: no value - CYLINDRICAL_INC, CYLINDRICAL_PER: Surface radius - SPHERICAL: Surface radius - BIFOCAL: Surface radius in the incidence plane, surface radius in the plane perpendicular to the incidence plane - TRIFOCAL: Surface radius in the incidence plane (bottom), Surface radius in the incidence plane (top), surface radius in the plane perpendicular to the incidence plane.;O;A;H5T_FLOAT;[3];;;;
104
+ ONDE_UT_PROBE;ONDE_UT_PROBE:COUPLING;Reference to the coupling system (wedge, immersion, direct);M;A;H5T_STD_REF_OBJ<ONDE_UT_COUPLING>;1;;;;
105
+ ONDE_UT_ELEMENTS;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[1];["ONDE_UT_ELEMENTS"];;;True
106
+ ONDE_UT_ELEMENTS;ONDE_UT_ELEMENTS:FRAME;Array defining the location of the elements of the probe;M;D;H5T_FLOAT;[N_Elem<p>,7];;;;
107
+ ONDE_UT_ELEMENTS;ONDE_UT_ELEMENTS:SHAPE;The shape of each element will be defined as one of the following: rectangle (ELE_GEOM_REC), part of a ring (ELE_GEOM_RING_PART), part of an elliptical ring (ELE_GEOM_ELLIPSE_PART),;M;D;H5T_INTEGER;[N_Elem<p>];;;;
108
+ ONDE_UT_ELEMENTS;ONDE_UT_ELEMENTS:SIZE;;M;D;H5T_FLOAT;[N_Elem<p>,6];;;;
109
+ ONDE_UT_ELEMENTS;ONDE_UT_ELEMENTS:RADIUS_OF_CURVATURE;If absent, flat elements are assumed;O;D;H5T_FLOAT;[N_Elem<p>];;;;
110
+ ONDE_UT_ELEMENTS;ONDE_UT_ELEMENTS:AXIS_OF_CURVATURE;If absent, flat elements are assumed;O;D;H5T_FLOAT;[N_Elem<p>,3];;;;
111
+ ONDE_UT_ELEMENTS;ONDE_UT_ELEMENTS:DEAD_ELEMENT;Datafield of logical values (0 = false, 1 = true) used to flag non-functioning elements in an array probe (if not present, assumption should be that all elements are performing correctly),;O;D;H5T_INTEGER;[N_Elem<p>];;;;
112
+ ONDE_MONO_UT_PROBE;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[3];["ONDE_PROBE", "ONDE_UT_PROBE", "ONDE_MONO_UT_PROBE"];;;
113
+ ONDE_LINEAR_UT_PROBE;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[3];["ONDE_PROBE", "ONDE_UT_PROBE", "ONDE_LINEAR_UT_PROBE"];;;
114
+ ONDE_LINEAR_UT_PROBE;ONDE_LINEAR_UT_PROBE:TOTAL_NUMBER_OF_ELEMENTS;;M;A;H5T_INTEGER;1;;;;
115
+ ONDE_LINEAR_UT_PROBE;ONDE_LINEAR_UT_PROBE:ELEMENT_DIM_MAJOR;;M;A;H5T_FLOAT;1;;;;
116
+ ONDE_LINEAR_UT_PROBE;ONDE_LINEAR_UT_PROBE:ELEMENT_DIM_MINOR;;M;A;H5T_FLOAT;1;;;;
117
+ ONDE_LINEAR_UT_PROBE;ONDE_LINEAR_UT_PROBE:ELEMENT_PITCH_DIM_MAJOR;;M;A;H5T_FLOAT;1;;;;
118
+ ONDE_LINEAR_UT_PROBE;ONDE_LINEAR_UT_PROBE:ELEMENT_NUMBERING;Defines the element numbering relating the numbering implicitly defined by the probe description and the order defined in the element tables (ELEMENT_POSITION, ELEMENT_GEOMETRY, etc);O;D;H5T_INTEGER;[N_Elem<p>];;;;
119
+ ONDE_MATRIX_UT_PROBE;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[3];["ONDE_PROBE", "ONDE_UT_PROBE", "ONDE_MATRIX_UT_PROBE"];;;
120
+ ONDE_MATRIX_UT_PROBE;ONDE_MATRIX_UT_PROBE:TOTAL_NUMBER_OF_ELEMENTS;;M;A;H5T_INTEGER;1;;;;
121
+ ONDE_MATRIX_UT_PROBE;ONDE_MATRIX_UT_PROBE:NUMBER_OF_ELEMENTS_DIM_MINOR;;M;A;H5T_INTEGER;1;;;;
122
+ ONDE_MATRIX_UT_PROBE;ONDE_MATRIX_UT_PROBE:ELEMENT_DIM_MAJOR;;M;A;H5T_FLOAT;1;;;;
123
+ ONDE_MATRIX_UT_PROBE;ONDE_MATRIX_UT_PROBE:ELEMENT_DIM_MINOR;;M;A;H5T_FLOAT;1;;;;
124
+ ONDE_MATRIX_UT_PROBE;ONDE_MATRIX_UT_PROBE:ELEMENT_PITCH_DIM_MAJOR;;M;A;H5T_FLOAT;1;;;;
125
+ ONDE_MATRIX_UT_PROBE;ONDE_MATRIX_UT_PROBE:ELEMENT_PITCH_DIM_MINOR;;M;A;H5T_FLOAT;1;;;;
126
+ ONDE_MATRIX_UT_PROBE;ONDE_MATRIX_UT_PROBE:ELEMENT_NUMBERING;Defines the element numbering relating the numbering implicitly defined by the probe description and the order defined in the element tables (ELEMENT_POSITION, ELEMENT_GEOMETRY, etc);O;D;H5T_INTEGER;[N_Elem<p>];;;;
127
+ ONDE_UT_COUPLING;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[1];["ONDE_UT_COUPLING"];;;
128
+ ONDE_UT_COUPLING;ONDE_UT_COUPLING:MEDIUM_VELOCITY;;M;A;H5T_FLOAT;[2];;;;
129
+ ONDE_UT_COUPLING;ONDE_UT_COUPLING:MEDIUM_DENSITY;;O;A;H5T_FLOAT;1;;;;
130
+ ONDE_UT_COUPLING;ONDE_UT_COUPLING:INCIDENCE_ANGLE;;M;A;H5T_FLOAT;1;;;;
131
+ ONDE_IMMERSION;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[2];["ONDE_UT_COUPLING", "ONDE_IMMERSION"];;;
132
+ ONDE_IMMERSION;ONDE_IMMERSION:WATER_PATH;;M;A;H5T_FLOAT;1;;;;
133
+ ONDE_WEDGE;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[2];["ONDE_UT_COUPLING", "ONDE_WEDGE"];;;
134
+ ONDE_WEDGE;ONDE:LABEL;;O;A;H5T_STRING;1;;;;
135
+ ONDE_WEDGE;ONDE_WEDGE:MANUFACTURER;;O;A;H5T_STRING;1;;;;
136
+ ONDE_WEDGE;ONDE_WEDGE:SERIAL_NUMBER;;O;A;H5T_STRING;1;;;;
137
+ ONDE_WEDGE;ONDE_WEDGE:CONTACT_SURFACE;Type of the wedge contact surface - PLANAR, SPHERICAL, CYLINDRICAL_MAJOR, CYLINDRICAL_MINOR - If missing PLANAR assumed;M;A;H5T_STRING;;"PLANAR"|"SPHERICAL"|"CYLINDRICAL_MAJOR"|"CYLINDRICAL_MINOR";;;
138
+ ONDE_WEDGE;ONDE_WEDGE:CURVATURE_RADIUS;Wedge curvature radius (0 assumed if missing) - Concave: positive - Convex: negative - Planar wedge: 0;O;A;H5T_FLOAT;1;;;;
139
+ ONDE_WEDGE;ONDE_WEDGE:CONTACT_AREA;Equivalent to L1, L2 and L3 (See Figure 15);M;A;H5T_FLOAT;[3];;;;
140
+ ONDE_WEDGE;ONDE_WEDGE:HEIGHT;For a wedge, distance of the ultrasonic beam between the probe center and the index point (See Figure 15);M;A;H5T_FLOAT;1;;;;
141
+ ONDE_WEDGE;ONDE_WEDGE:SKEW_ANGLE;wedge /skew angle (B) (See Figure 15);O;A;H5T_FLOAT;1;;;;
142
+ ONDE_WEDGE;ONDE_WEDGE:DISORIENTATION_ANGLE;wedge /disorientation angle (D) (See Figure 15);O;A;H5T_FLOAT;1;;;;
143
+ ONDE_SINGLE_WEDGE;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[3];["ONDE_UT_COUPLING", "ONDE_WEDGE", "ONDE_SINGLE_WEDGE"];;;
144
+ ONDE_DUAL_WEDGE;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[3];["ONDE_UT_COUPLING", "ONDE_WEDGE", "ONDE_DUAL_WEDGE"];;;
145
+ ONDE_DUAL_WEDGE;ONDE_DUAL_WEDGE:PROBE_SEPARATION;For dual probes, inter-probes distance (L6) (See Figure 15);M;A;H5T_FLOAT;1;;;;
146
+ ONDE_DUAL_WEDGE;ONDE_DUAL_WEDGE:ROOF_ANGLE;For dual probes and only for dual probes defines the roof angle (See Figure 15);M;A;H5T_FLOAT;1;;;;
147
+ ONDE_DUAL_WEDGE;ONDE_DUAL_WEDGE:SQUINT_ANGLE;For dual probes, squint angle (A2) (See Figure 15);M;A;H5T_FLOAT;1;;;;
148
+ ONDE_ACQUISITION_TRAJECTORY;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[1];["ONDE_ACQUISITION_TRAJECTORY"];;;
149
+ ONDE_TIME_TRAJECTORY;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[2];["ONDE_ACQUISITION_TRAJECTORY", "ONDE_TIME_TRAJECTORY"];;;
150
+ ONDE_TIME_TRAJECTORY;ONDE_TIME_TRAJECTORY:ACQUISITION_RATE;For time encoded trajectories, defines the acquisition rate;O;A;H5T_FLOAT;1;;;;
151
+ ONDE_SPATIAL_TRAJECTORY;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[2];["ONDE_ACQUISITION_TRAJECTORY", "ONDE_SPATIAL_TRAJECTORY"];;;
152
+ ONDE_SPATIAL_TRAJECTORY;ONDE_SPATIAL_TRAJECTORY:TRAJECTORY;List of positions and quaternions giving the positions and orientations of the trajectory frame at the different positions;O;D;H5T_FLOAT;[N_U<m>,N_V<m>,7];;;;
153
+ ONDE_ACQUISITION_GRID;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[3];["ONDE_ACQUISITION_TRAJECTORY", "ONDE_SPATIAL_TRAJECTORY", "ONDE_ACQUISITION_GRID"];;;
154
+ ONDE_ACQUISITION_GRID;ONDE_ACQUISITION_GRID:REFERENCE_SPECIMEN;When defining an acquisition grid, it is necessary to define a reference specimen that is either a cylinder or a plane.;M;A;H5T_STD_REF_OBJ<ONDE_COMPONENT>;1;;;;
155
+ ONDE_ACQUISITION_GRID;ONDE_ACQUISITION_GRID:CYLINDER_DEFINITION;Defines whether the grid is expressed in the inner surface of the cylinder or on the outer surface;O;A;H5T_STRING;;"INNER"|"OUTER";;;
156
+ ONDE_ACQUISITION_GRID;ONDE_ACQUISITION_GRID:UV_GRID_FRAME;2D Frame defining the U_GRID and V_GRID directions of the encoding in the surface representation of the specimen (X,Y) for planar specimens, (X,THETA) for cylindrical specimens. (1,0,) is assumed if missing;O;A;H5T_FLOAT;[3];;;;
157
+ ONDE_ACQUISITION_GRID;ONDE_ACQUISITION_GRID:U_GRID_DATA;The specified values of the first coder at the different positions;M;D;H5T_FLOAT;[N_U<m>];;;;
158
+ ONDE_ACQUISITION_GRID;ONDE_ACQUISITION_GRID:V_GRID_DATA;The specified values of the second coder at the different positions. If missing while U_GRID_DATA is present, 1D array of data is assumed.;O;D;H5T_FLOAT;[N_V<m>];;;;
159
+ ONDE_ACQUISITION_GRID;ONDE_ACQUISITION_GRID:SCAN_TYPE;Defines whether the data is ordered in the same direction for each scan (COMB) or is inversed every second scan (RASTER);M;A;H5T_STRING;1;"COMB"|"RASTER";;;
160
+ ONDE_ACQUISITION_GRID;ONDE_ACQUISITION_GRID:U_ENCODER;Obtained encoder values on the u axis;O;D;H5T_FLOAT;[N_V<m>,N_U<m>];;;;
161
+ ONDE_ACQUISITION_GRID;ONDE_ACQUISITION_GRID:V_ENCODER;Obtained encoder values on the v axis;O;D;H5T_FLOAT;[N_V<m>,N_U<m>];;;;
162
+ ONDE_ACQUISITION_GRID;ONDE_ACQUISITION_GRID:PROBE_DIRECTION;For grid data, direction of the probe in the (u, v, w) coordinate system. Defaults to identity matrix.;O;D;H5T_FLOAT;[3,3];;;;
163
+ ONDE_ULTRASONIC_SETUP;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[1];["ONDE_ULTRASONIC_SETUP"];;;
164
+ ONDE_ULTRASONIC_SETUP;ONDE:LABEL;;O;A;H5T_STRING;1;;;;
165
+ ONDE_ULTRASONIC_SETUP;ONDE_ULTRASONIC_SETUP:RECTIFICATION;Defines if the data are FULL_WAVE or RECTIFIED_POSITIVE, RECTIFIED_NEGATIVE, RECTIFIED_FULL;M;A;H5T_STRING;;"FULL_WAVE","RECTIFIED_POSITIVE","RECTIFIED_NEGATIVE","RECTIFIED_FULL";;;
166
+ ONDE_ULTRASONIC_SETUP;ONDE_ULTRASONIC_SETUP:FILTER_TYPE;Defines the type of filtering applied to the signals: NO_FILTER, LOW_PASS, HIGH_PASS, BAND_PASS, OTHER;O;A;H5T_STRING;;"NO_FILTER","LOW_PASS","HIGH_PASS","BAND_PASS","OTHER";;;
167
+ ONDE_ULTRASONIC_SETUP;ONDE_ULTRASONIC_SETUP:FILTER_PARAMETERS;Optional datafield providing analogue filter parameters - see notes for detailed explanation;O;A;H5T_FLOAT;1 or [N_Ascan<m>] or [ N_U<m>,N_V<m>,N_Ascan<m>];;;;
168
+ ONDE_ULTRASONIC_SETUP;ONDE_ULTRASONIC_SETUP:FILTER_DESCRIPTION;Description of the filtering applied;O;A;H5T_STRING;1;;;;
169
+ ONDE_ULTRASONIC_SETUP;ONDE_ULTRASONIC_SETUP:ASCAN_SAMPLE_RATE;This indicates the sampling frequency of A-scan data points. It is assumed that a uniform sampling rate is used throughout A-scan data collection.;M;A;H5T_FLOAT;1;;;;
170
+ ONDE_ULTRASONIC_SETUP;ONDE_ULTRASONIC_SETUP:ASCAN_START;This indicates the starting time for data acquisition. If dimension is 1, the same start time is used for all A-Scans, else a different start time is specified for each A-Scan.;M;D;H5T_FLOAT;1 or [N_Ascan<m>] or [ N_Ascan<m>,N_U<m>, N_V<m>];;;;
171
+ ONDE_ULTRASONIC_SETUP;ONDE_ULTRASONIC_SETUP:SIGNAL;Digitization of the emission signal (can be used to store arbitrary signals). If missing impulse emission at time 0.0 is assumed. 2D Array with one row for time and one for amplitude.;O;D;H5T_FLOAT;[N_TSig<m>,2];;;;
172
+ ONDE_ULTRASONIC_SETUP;ONDE_ULTRASONIC_SETUP:GAIN;This indicates the total gain for each A-scan during reception. Multiplying factor that was applied at acquisition.;M;D;H5T_FLOAT;[ N_Ascan<m> ];;;;
173
+ ONDE_ULTRASONIC_SETUP;ONDE_ULTRASONIC_SETUP:PRF;Pulse Repetition Frequency;O;D;H5T_FLOAT;[N_Ascan<m>] or [2];;;;
174
+ ONDE_ULTRASONIC_SETUP;ONDE_ULTRASONIC_SETUP:TCG_CURVE;TCG curve applied to the received signals. The amplitude correction is given for each time sample as a multiplying factor.;O;D;H5T_FLOAT;[N_Ascan<m>,N_TCG<m> ];;;;
175
+ ONDE_ULTRASONIC_SETUP;ONDE_ULTRASONIC_SETUP:PHASED_ARRAY_SETUP;;O;A;H5T_STD_REF_OBJ<ONDE_PHASED_ARRAY_SETUP>;1;;;;
176
+ ONDE_ULTRASONIC_SETUP;ONDE_ULTRASONIC_SETUP:TRANSMIT_LAW;Each A-scan in a dataframe must be associated with both a transmit and a receive focal law through the datafields. These contain HDF5 references to the groups which provide the detailed description of each focal laws (the same structure is used for both transmit and receive focal laws). Mandatory for phased array setups.;M;D;H5T_STD_REF_OBJ<ONDE_UT_LAW>;[N_Ascan<m>] or [N_U<m>, N_V<m>, N_Ascan<m>];;;;
177
+ ONDE_ULTRASONIC_SETUP;ONDE_ULTRASONIC_SETUP:RECEIVE_LAW;Each A-scan in a dataframe must be associated with both a transmit and a receive focal law through the datafields. These contain HDF5 references to the groups which provide the detailed description of each focal laws (the same structure is used for both transmit and receive focal laws).Mandatory for phased array setups.;O;D;H5T_STD_REF_OBJ<ONDE_UT_LAW>;[N_Ascan<m>] or [N_U<m>, N_V<m>, N_Ascan<m>];;;;
178
+ ONDE_UT_LAW;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[1];["ONDE_UT_LAW"];;;
179
+ ONDE_UT_LAW;ONDE_UT_LAW:PROBE;;M;D;H5T_STD_REF_OBJ<ONDE_UT_PROBE>;[N_C<k>];;;;
180
+ ONDE_UT_LAW;ONDE_UT_LAW:ELEMENT;;M;D;H5T_INTEGER;[N_C<k>];;;;
181
+ ONDE_UT_LAW;ONDE_UT_LAW:DELAY;Specifies the relative delay (in ultrasonic time) between the different Probe Element Combinations in the focal law. The default value is zero delay for all Probe Element Combinations.;O;D;H5T_FLOAT;[N_C<k>];;;;
182
+ ONDE_UT_LAW;ONDE_UT_LAW:WEIGHTING;Specifies the weighting between the different Probe Element Combinations in the focal law. The default is one for all Probe Element Combinations.;O;D;H5T_FLOAT;[N_C<k>];;;;
183
+ ONDE_UT_LAW;ONDE_UT_LAW:PROPAGATION_LINE;Represents the ultrasonic ray along which the data is to be represented in a true visualisation. It contains at least two points in the Probe Coordinates Frame corresponding to the start and end of the ray. (x,y,z) positions in Probe Coordinate Frame and time of flight are stored).;O;D;H5T_FLOAT;[N_Points<k>,4];;;;
184
+ ONDE_PHASED_ARRAY_SETUP;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[1];["ONDE_PHASED_ARRAY_SETUP"];;;
185
+ ONDE_PHASED_ARRAY_SETUP;ONDE_PHASED_ARRAY_SETUP:EMITTER_PROBE;;M;A;H5T_STD_REF_OBJ<ONDE_UT_PROBE>;1;;;;
186
+ ONDE_PHASED_ARRAY_SETUP;ONDE_PHASED_ARRAY_SETUP:RECEIVING_PROBE;;M;A;H5T_STD_REF_OBJ<ONDE_UT_PROBE>;1;;;;
187
+ ONDE_PHASED_ARRAY_SETUP;ONDE_PHASED_ARRAY_SETUP:SEQUENCE_ANGLE_MODE;;M;A;H5T_STRING;;"L"|"T";;;
188
+ ONDE_PHASED_ARRAY_ANGLE;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[2];["ONDE_PHASED_ARRAY_SETUP", "ONDE_PHASED_ARRAY_ANGLE"];;;
189
+ ONDE_PHASED_ARRAY_ANGLE;ONDE_PHASED_ARRAY_ANGLE:BSCAN_ANGLE;;M;A;H5T_FLOAT;1;;;;
190
+ ONDE_PHASED_ARRAY_SSCAN;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[2];["ONDE_PHASED_ARRAY_SETUP", "ONDE_PHASED_ARRAY_SSCAN"];;;
191
+ ONDE_PHASED_ARRAY_SSCAN;ONDE_PHASED_ARRAY_SSCAN:STARTING_ANGLE;;M;A;H5T_FLOAT;1;;;;
192
+ ONDE_PHASED_ARRAY_SSCAN;ONDE_PHASED_ARRAY_SSCAN:FINISHING_ANGLE;;M;A;H5T_FLOAT;1;;;;
193
+ ONDE_PHASED_ARRAY_SSCAN;ONDE_PHASED_ARRAY_SSCAN:NUMBER_OF_ANGLES;;M;A;H5T_INTEGER;1;;;;
194
+ ONDE_PHASED_ARRAY_ESCAN;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[2];["ONDE_PHASED_ARRAY_SETUP", "ONDE_PHASED_ARRAY_ESCAN"];;;
195
+ ONDE_PHASED_ARRAY_ESCAN;ONDE_PHASED_ARRAY_ESCAN:NUMBER_OF_ELEMENTS;;M;A;H5T_INTEGER;1;;;;
196
+ ONDE_PHASED_ARRAY_ESCAN;ONDE_PHASED_ARRAY_ESCAN:STEP;;M;A;H5T_INTEGER;1;;;;
197
+ ONDE_PHASED_ARRAY_ESCAN;ONDE_PHASED_ARRAY_ESCAN:ANGLE;;M;A;H5T_FLOAT;1;;;;
198
+ ONDE_PHASED_ARRAY_PWI;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[2];["ONDE_PHASED_ARRAY_SETUP", "ONDE_PHASED_ARRAY_PWI"];;;
199
+ ONDE_PHASED_ARRAY_PWI;ONDE_PHASED_ARRAY_PWI:STARTING_ANGLE;;M;A;H5T_FLOAT;1;;;;
200
+ ONDE_PHASED_ARRAY_PWI;ONDE_PHASED_ARRAY_PWI:FINISHING_ANGLE;;M;A;H5T_FLOAT;1;;;;
201
+ ONDE_PHASED_ARRAY_PWI;ONDE_PHASED_ARRAY_PWI:NUMBER_OF_ANGLES;;M;A;H5T_INTEGER;1;;;;
202
+ ONDE_PHASED_ARRAY_COMPOUND;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[2];["ONDE_PHASED_ARRAY_SETUP", "ONDE_PHASED_ARRAY_COMPOUND"];;;
203
+ ONDE_PHASED_ARRAY_COMPOUND;ONDE_PHASED_ARRAY_COMPOUND:INITIAL_ANGLE;;M;A;H5T_FLOAT;1;;;;
204
+ ONDE_PHASED_ARRAY_COMPOUND;ONDE_PHASED_ARRAY_COMPOUND:FINAL_ANGLE;;M;A;H5T_FLOAT;1;;;;
205
+ ONDE_PHASED_ARRAY_COMPOUND;ONDE_PHASED_ARRAY_COMPOUND:NUMBER_OF_ANGLES;;M;A;H5T_INTEGER;1;;;;
206
+ ONDE_PHASED_ARRAY_COMPOUND;ONDE_PHASED_ARRAY_COMPOUND:NUMBER_OF_ELEMENTS;;M;A;H5T_INTEGER;1;;;;
207
+ ONDE_PHASED_ARRAY_FMC;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[2];["ONDE_PHASED_ARRAY_SETUP", "ONDE_PHASED_ARRAY_FMC"];;;
208
+ ONDE_COMPUTATION;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[1];["ONDE_COMPUTATION"];;;
209
+ ONDE_UT_EXTRACTION;ONDE:TYPE;The `ONDE:TYPE` attribute dictates the semantic meaning of the HDF5 group. It contains a 1D array of strings that traces the class inheritance from the root class down to this specific class.;M;A;H5T_STRING;[2];["ONDE_COMPUTATION", "ONDE_UT_EXTRACTION"];;;
210
+ ONDE_UT_EXTRACTION;ONDE_UT_EXTRACTION:GATE_LIST;References to the gates that are used for the extraction. The list can be of size 1 or 2.;M;A;H5T_STD_REF_OBJ<ONDE_UT_GATE>;[1] or [2];;;;
211
+ ONDE_UT_EXTRACTION;ONDE_UT_EXTRACTION:DATATYPE;Defines the type of extraction. The allowed values are *TIME_OF_FLIGHT*, *AMPLITUDE*, *DEPTH* or *ALARM*.;M;A;H5T_STRING;"TIME_OF_FLIGHT"|"AMPLITUDE"|"DEPTH"|"ALARM";;;;
212
+ ONDE_UT_EXTRACTION;ONDE_UT_EXTRACTION:VELOCITY;Defines the velocity of the wave in the material, used to translate the time of flight into depth.;O;A;H5T_FLOAT;1;;;;
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyONDE
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: PyONDE library for reading, modifying, and writing ONDE files
5
5
  Home-page: http://github.com/isuthermography/PyONDE
6
6
  Author: Stephen D. Holland
@@ -18,6 +18,7 @@ PyONDE.egg-info/scm_version.json
18
18
  PyONDE.egg-info/top_level.txt
19
19
  PyONDE/bin/__init__.py
20
20
  PyONDE/onde_versions/ONDE_fields_v0.9.1pre.csv
21
+ PyONDE/onde_versions/ONDE_fields_v0.9.2pre.csv
21
22
  demos/build_onde_file.py
22
23
  demos/build_onde_graph.py
23
24
  demos/build_simple_graph.py
@@ -9,6 +9,7 @@
9
9
  "PyONDE/bin/__init__.py",
10
10
  "PyONDE/onde.py",
11
11
  "PyONDE/onde_versions/ONDE_fields_v0.9.1pre.csv",
12
+ "PyONDE/onde_versions/ONDE_fields_v0.9.2pre.csv",
12
13
  "README.md",
13
14
  "demos/build_onde_file.py",
14
15
  "demos/build_onde_graph.py",
@@ -0,0 +1,8 @@
1
+ {
2
+ "tag": "0.1.4",
3
+ "distance": 0,
4
+ "node": "g154afec3da7fce4a5df8aabb2ce3dcee3f8802be",
5
+ "dirty": false,
6
+ "branch": "main",
7
+ "node_date": "2026-09-18"
8
+ }
@@ -27,7 +27,7 @@ value = np.cos(2*np.pi*800e3*t)
27
27
 
28
28
  of = ONDEDatasetFile.new(output_path, "w",
29
29
  #class_defs_path = class_def_csv_path,
30
- onde_version = "0.9.1pre"
30
+ onde_version = "0.9.2pre"
31
31
  )
32
32
 
33
33
  ds = ONDEObject.new(of,"ONDE_DATASET_UT_ASCAN")
@@ -36,14 +36,15 @@ ds["ONDE:TYPE"]
36
36
  #of.graph["ds"] = ds
37
37
  #ds = of.graph["ds"]
38
38
  ds.LABEL = "First dataset"
39
- ds.UUID = generate_onde_uuid("ISUCNDE",str(uuid.getnode()),datetime.now(),"")
39
+ timestamp = datetime.now().astimezone()
40
+ ds.UUID = generate_onde_uuid("ISUCNDE",str(uuid.getnode()),timestamp,"")
40
41
  ds.AMPLITUDE_DIMENSION = ONDEObject.new(of,"ONDE_DIMENSION")
41
42
  ds.AMPLITUDE_DIMENSION.COORDINATE = "Voltage"
42
43
  ds.AMPLITUDE_DIMENSION.OFFSET = 0.0
43
44
  ds.AMPLITUDE_DIMENSION.SCALE = 1.0
44
45
  ds.AMPLITUDE_DIMENSION.UNITS = "Volts"
45
- ds.DATA = ONDEArray.new(value = value)
46
- ds.DATE_AND_TIME = datetime.now(timezone.utc).isoformat().replace("+00:00","Z")
46
+ ds.DATA = ONDEArray.new(value = value[np.newaxis,np.newaxis,np.newaxis,:])
47
+ ds.DATE_AND_TIME = timestamp.isoformat(timespec="microseconds")
47
48
  ds.INDEX_DIMENSIONS = ONDEReferenceArray.new(of,refs = np.empty(4,dtype = "O"))
48
49
  ds.INDEX_DIMENSIONS[0] = ONDEObject.new(of,"ONDE_DIMENSION")
49
50
  ds.INDEX_DIMENSIONS[0].COORDINATE = "U Position"
@@ -76,18 +77,18 @@ ds.SETUP.GEOMETRIC_SETUP.ACQUISITION_TRAJECTORY[0] = ONDEObject.new(of,"ONDE_SPA
76
77
  ds.SETUP.GEOMETRIC_SETUP.ACQUISITION_TRAJECTORY[0].TRAJECTORY = ONDEArray.new(value = np.array(((0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0),)))
77
78
  ds.SETUP.GEOMETRIC_SETUP.COMPONENT = ONDEObject.new(of,"ONDE_COMPONENT")
78
79
  ds.SETUP.GEOMETRIC_SETUP.COMPONENT.VELOCITIES = ONDEArray.new(value = [np.nan,np.nan])
79
- ds.SETUP.GEOMETRIC_SETUP.SENSOR_LIST = ONDEReferenceArray.new(of,shape = (1,))
80
- ds.SETUP.GEOMETRIC_SETUP.SENSOR_LIST[0] = ONDEObject.new(of,"ONDE_UT_PROBE")
81
- ds.SETUP.GEOMETRIC_SETUP.SENSOR_LIST[0].COUPLING = ONDEObject.new(of,"ONDE_UT_COUPLING")
82
- ds.SETUP.GEOMETRIC_SETUP.SENSOR_LIST[0].COUPLING.INCIDENCE_ANGLE = 0.0
83
- ds.SETUP.GEOMETRIC_SETUP.SENSOR_LIST[0].COUPLING.MEDIUM_VELOCITY = ONDEArray.new(shape = (2,))
84
- ds.SETUP.GEOMETRIC_SETUP.SENSOR_LIST[0].COUPLING.MEDIUM_VELOCITY[0] = np.nan
85
- ds.SETUP.GEOMETRIC_SETUP.SENSOR_LIST[0].COUPLING.MEDIUM_VELOCITY[1] = np.nan
86
- ds.SETUP.GEOMETRIC_SETUP.SENSOR_LIST[0].FRAME = ONDEArray.new(value = np.array(((0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0),)))
87
- ds.SETUP.GEOMETRIC_SETUP.SENSOR_LIST[0].FREQUENCY = 1e6 # Hz
80
+ ds.SETUP.GEOMETRIC_SETUP.PROBE_LIST = ONDEReferenceArray.new(of,shape = (1,))
81
+ ds.SETUP.GEOMETRIC_SETUP.PROBE_LIST[0] = ONDEObject.new(of,"ONDE_UT_PROBE")
82
+ ds.SETUP.GEOMETRIC_SETUP.PROBE_LIST[0].COUPLING = ONDEObject.new(of,"ONDE_UT_COUPLING")
83
+ ds.SETUP.GEOMETRIC_SETUP.PROBE_LIST[0].COUPLING.INCIDENCE_ANGLE = 0.0
84
+ ds.SETUP.GEOMETRIC_SETUP.PROBE_LIST[0].COUPLING.MEDIUM_VELOCITY = ONDEArray.new(shape = (2,))
85
+ ds.SETUP.GEOMETRIC_SETUP.PROBE_LIST[0].COUPLING.MEDIUM_VELOCITY[0] = np.nan
86
+ ds.SETUP.GEOMETRIC_SETUP.PROBE_LIST[0].COUPLING.MEDIUM_VELOCITY[1] = np.nan
87
+ ds.SETUP.GEOMETRIC_SETUP.PROBE_LIST[0].FRAME = ONDEArray.new(value = np.array(((0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0),)))
88
+ ds.SETUP.GEOMETRIC_SETUP.PROBE_LIST[0].FREQUENCY = 1e6 # Hz
88
89
  # SHAPE type is currently documented as integer but in fact it should be a string
89
- ds.SETUP.GEOMETRIC_SETUP.SENSOR_LIST[0].SHAPE = ONDEArray.new(value = np.array(("ELE_GEOM_RING_PART",),dtype = "O"))
90
- ds.SETUP.GEOMETRIC_SETUP.SENSOR_LIST[0].SIZE = ONDEArray.new(value = np.array(((0, (0.5/2)*25.4e-3, 0, 360, 0, 0),)))
90
+ ds.SETUP.GEOMETRIC_SETUP.PROBE_LIST[0].SHAPE = ONDEArray.new(value = np.array(("ELE_GEOM_RING_PART",),dtype = "O"))
91
+ ds.SETUP.GEOMETRIC_SETUP.PROBE_LIST[0].SIZE = ONDEArray.new(value = np.array(((0, (0.5/2)*25.4e-3, 0, 360, 0, 0),)))
91
92
  ds.SETUP.ULTRASONIC_SETUP = ONDEObject.new(of,"ONDE_ULTRASONIC_SETUP")
92
93
  ds.SETUP.ULTRASONIC_SETUP.ASCAN_SAMPLE_RATE = 1/dt
93
94
  ds.SETUP.ULTRASONIC_SETUP.ASCAN_START = ONDEArray.new(value = np.array(0.0))
@@ -1,8 +0,0 @@
1
- {
2
- "tag": "0.1.3",
3
- "distance": 0,
4
- "node": "g5359d8d4c21b55b15159d69d6fec32175a17a658",
5
- "dirty": false,
6
- "branch": "main",
7
- "node_date": "2026-08-14"
8
- }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes