PyONDE 0.1.4__tar.gz → 0.1.6__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.
- {pyonde-0.1.4 → pyonde-0.1.6}/.github/workflows/push-to-pypi.yml +4 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/PKG-INFO +1 -1
- {pyonde-0.1.4 → pyonde-0.1.6}/PyONDE/__init__.py +5 -2
- {pyonde-0.1.4 → pyonde-0.1.6}/PyONDE/_version.py +3 -3
- {pyonde-0.1.4 → pyonde-0.1.6}/PyONDE/onde.py +22 -13
- pyonde-0.1.6/PyONDE/onde_versions/ONDE_fields_v0.9.2.csv +218 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/PyONDE.egg-info/PKG-INFO +1 -1
- {pyonde-0.1.4 → pyonde-0.1.6}/PyONDE.egg-info/SOURCES.txt +1 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/PyONDE.egg-info/scm_file_list.json +1 -0
- pyonde-0.1.6/PyONDE.egg-info/scm_version.json +8 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/demos/build_onde_file.py +6 -6
- {pyonde-0.1.4 → pyonde-0.1.6}/demos/build_onde_graph.py +7 -4
- {pyonde-0.1.4 → pyonde-0.1.6}/demos/build_simple_graph.py +1 -1
- {pyonde-0.1.4 → pyonde-0.1.6}/demos/graph_modification.py +10 -10
- {pyonde-0.1.4 → pyonde-0.1.6}/demos/load_onde_file.py +1 -1
- pyonde-0.1.4/PyONDE.egg-info/scm_version.json +0 -8
- {pyonde-0.1.4 → pyonde-0.1.6}/.github/workflows/doc.yml +0 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/.gitignore +0 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/.vscode/settings.json +0 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/LICENSE.txt +0 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/PyONDE/bin/__init__.py +0 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/PyONDE/onde_versions/ONDE_fields_v0.9.1pre.csv +0 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/PyONDE/onde_versions/ONDE_fields_v0.9.2pre.csv +0 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/PyONDE.egg-info/dependency_links.txt +0 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/PyONDE.egg-info/not-zip-safe +0 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/PyONDE.egg-info/top_level.txt +0 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/README.md +0 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/doc/LowLevel_Class_Structure.md +0 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/doc/Makefile +0 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/doc/source/PyONDE.rst +0 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/doc/source/about.rst +0 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/doc/source/architecture.rst +0 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/doc/source/conf.py +0 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/doc/source/index.rst +0 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/doc/source/installation.rst +0 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/doc/source/modules.rst +0 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/doc/source/quickstart.rst +0 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/pyproject.toml +0 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/setup.cfg +0 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/setup.py +0 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/tests/try_array.py +0 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/tests/try_csv_read.py +0 -0
- {pyonde-0.1.4 → pyonde-0.1.6}/tests/try_dictionary.py +0 -0
|
@@ -15,6 +15,10 @@ jobs:
|
|
|
15
15
|
run: |
|
|
16
16
|
git fetch --prune --unshallow
|
|
17
17
|
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
|
|
18
|
+
- name: Download hdf5 library
|
|
19
|
+
run: |
|
|
20
|
+
sudo apt-get update
|
|
21
|
+
sudo apt-get install -y libhdf5-dev
|
|
18
22
|
- name: Set up Python
|
|
19
23
|
uses: actions/setup-python@v7
|
|
20
24
|
with:
|
|
@@ -33,7 +33,7 @@ pkgdir=os.path.split(pkgpath)[0]
|
|
|
33
33
|
onde_versions_path = os.path.join(pkgdir,"onde_versions")
|
|
34
34
|
|
|
35
35
|
def generate_onde_uuid(vendor_name,equip_serial,timestamp,suffix):
|
|
36
|
-
"""Generate and return an ONDE UUID string beginning with "
|
|
36
|
+
"""Generate and return an ONDE UUID string beginning with "urn:uuid:".
|
|
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
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
|
|
@@ -49,4 +49,7 @@ def generate_onde_uuid(vendor_name,equip_serial,timestamp,suffix):
|
|
|
49
49
|
assert(len(digest256) == 32)
|
|
50
50
|
digest128 = digest256[16:]
|
|
51
51
|
int128 = int.from_bytes(digest128,signed = False)
|
|
52
|
-
|
|
52
|
+
# print to a hexadecimal string with 32 digits
|
|
53
|
+
hexstr = f'{int128:032x}'
|
|
54
|
+
hexstr_with_dashes = f'{hexstr[:8]}-{hexstr[8:12]}-{hexstr[12:16]}-{hexstr[16:20]}-{hexstr[20:]}'
|
|
55
|
+
return f"urn:uuid:{hexstr_with_dashes}"
|
|
@@ -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.
|
|
22
|
-
__version_tuple__ = version_tuple = (0, 1,
|
|
21
|
+
__version__ = version = '0.1.6'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 1, 6)
|
|
23
23
|
|
|
24
|
-
__commit_id__ = commit_id = '
|
|
24
|
+
__commit_id__ = commit_id = 'ge272c2e36'
|
|
@@ -18,7 +18,8 @@ from typing import Optional, Any
|
|
|
18
18
|
import numpy as np
|
|
19
19
|
|
|
20
20
|
enable_hierarchical = False
|
|
21
|
-
|
|
21
|
+
# standard prefix on ONDE_DATASET:UUID
|
|
22
|
+
UUID_prefix='urn:uuid:'
|
|
22
23
|
onde_basic_attrs = {
|
|
23
24
|
"ONDEValue":(
|
|
24
25
|
"_freeze",
|
|
@@ -904,18 +905,25 @@ class ONDEValue(ONDEBase):
|
|
|
904
905
|
pass
|
|
905
906
|
if "value" in kwargs:
|
|
906
907
|
value = copy.copy(kwargs["value"])
|
|
907
|
-
if isinstance(value, numbers.Integral):
|
|
908
|
+
if isinstance(value, numbers.Integral) or isinstance(value,np.integer):
|
|
908
909
|
value = int(value)
|
|
909
910
|
pass
|
|
910
|
-
elif isinstance(value, numbers.Real):
|
|
911
|
+
elif isinstance(value, numbers.Real) or isinstance(value,np.float32) or isinstance(value,np.float64):
|
|
911
912
|
value = float(value)
|
|
912
913
|
pass
|
|
913
|
-
elif isinstance(value, numbers.Complex):
|
|
914
|
+
elif isinstance(value, numbers.Complex) or isinstance(value,np.complex128) or isinstance(value,np.complex64):
|
|
914
915
|
value = complex(value)
|
|
915
916
|
pass
|
|
916
917
|
elif isinstance(value, str) or isinstance(value,np.str_):
|
|
917
918
|
value = str(value)
|
|
918
919
|
pass
|
|
920
|
+
elif isinstance(value, bool) or isinstance(value,np.bool_):
|
|
921
|
+
value = bool(value)
|
|
922
|
+
pass
|
|
923
|
+
elif isinstance(value, int) or isinstance(value,np.integer):
|
|
924
|
+
value = int(value)
|
|
925
|
+
pass
|
|
926
|
+
|
|
919
927
|
else:
|
|
920
928
|
raise ValueError(f"ONDEValue: Cannot understand value type {value.__class__.__name__:s}")
|
|
921
929
|
self.value=value
|
|
@@ -1912,7 +1920,7 @@ class ONDEObject(ONDEBase):
|
|
|
1912
1920
|
# Scalar HDF5 fixed-length string; decode as above.
|
|
1913
1921
|
h5_attr = h5_attr.decode("utf-8",errors="replace")
|
|
1914
1922
|
pass
|
|
1915
|
-
if isinstance(h5_attr,str) or
|
|
1923
|
+
if isinstance(h5_attr,str) or isinstance(h5_attr,int) or isinstance(h5_attr,np.integer) or isinstance(h5_attr,float) or isinstance(h5_attr,np.float32) or isinstance(h5_attr,np.float64) or isinstance(h5_attr,bool) or isinstance(h5_attr,np.bool_) or isinstance(h5_attr,np.complex64) or isinstance(h5_attr,np.complex128):
|
|
1916
1924
|
attr_obj = ONDEValue.new(h5_attr)
|
|
1917
1925
|
_ONDE_attrs[attrname] = attr_obj
|
|
1918
1926
|
pass
|
|
@@ -2036,7 +2044,7 @@ class ONDEFileGraphSnapshot(ONDEObject):
|
|
|
2036
2044
|
if index in keys:
|
|
2037
2045
|
return ONDEObject._get_attr(self,index)
|
|
2038
2046
|
|
|
2039
|
-
prefixed =
|
|
2047
|
+
prefixed = UUID_prefix + index
|
|
2040
2048
|
matching = [ key for key in keys if key.startswith(prefixed) ]
|
|
2041
2049
|
if len(matching) == 1:
|
|
2042
2050
|
return ONDEObject._get_attr(self,matching[0])
|
|
@@ -2069,25 +2077,26 @@ class ONDEFileGraphSnapshot(ONDEObject):
|
|
|
2069
2077
|
return self._list_items()
|
|
2070
2078
|
|
|
2071
2079
|
def shortkeys(self):
|
|
2080
|
+
|
|
2072
2081
|
full_keys = self._list_items()
|
|
2073
|
-
# shortable_keys is a dictionary listing all of the keys that we can use a shorthand for (i.e. those starting with
|
|
2074
|
-
shortable_keys = { key: None for key in full_keys if key.startswith(
|
|
2082
|
+
# shortable_keys is a dictionary listing all of the keys that we can use a shorthand for (i.e. those starting with urn:uuid:.). Values are intialized to none but will be populated with the shorthand eventually
|
|
2083
|
+
shortable_keys = { key: None for key in full_keys if key.startswith(UUID_prefix) }
|
|
2075
2084
|
shortable_key_set = frozenset(shortable_keys.keys())
|
|
2076
2085
|
#import pdb
|
|
2077
2086
|
#pdb.set_trace()
|
|
2078
2087
|
for shortable_key in shortable_key_set:
|
|
2079
2088
|
for num_chars_for_unique in range(4,len(shortable_key)+1):
|
|
2080
|
-
prefix = shortable_key[:(
|
|
2081
|
-
num_keys_matching_prefix = len([ key for key in shortable_key_set if key[:(
|
|
2089
|
+
prefix = shortable_key[:(len(UUID_prefix) + num_chars_for_unique)]
|
|
2090
|
+
num_keys_matching_prefix = len([ key for key in shortable_key_set if key[:(len(UUID_prefix) + num_chars_for_unique)] == prefix ])
|
|
2082
2091
|
if prefix in full_keys:
|
|
2083
2092
|
num_keys_matching_prefix += 1
|
|
2084
2093
|
pass
|
|
2085
2094
|
if num_keys_matching_prefix == 1:
|
|
2086
|
-
shortable_keys[shortable_key] = prefix[
|
|
2095
|
+
shortable_keys[shortable_key] = prefix[len(UUID_prefix):]
|
|
2087
2096
|
break
|
|
2088
2097
|
if num_chars_for_unique == len(shortable_key):
|
|
2089
2098
|
#Didn't find any prefix
|
|
2090
|
-
shortable_keys[shortable_key] = shortable_key[
|
|
2099
|
+
shortable_keys[shortable_key] = shortable_key[len(UUID_prefix):]
|
|
2091
2100
|
pass
|
|
2092
2101
|
pass
|
|
2093
2102
|
pass
|
|
@@ -3888,7 +3897,7 @@ class ONDEFile(object):
|
|
|
3888
3897
|
baseclass = class_derivation.value[0]
|
|
3889
3898
|
if baseclass == "ONDE_DATASET":
|
|
3890
3899
|
# Write this dataset
|
|
3891
|
-
obj_name = needed_obj["ONDE:UUID"].value[
|
|
3900
|
+
obj_name = needed_obj["ONDE:UUID"].value[len(UUID_prefix):(len(UUID_prefix)+4)] # Skip the 9 characters of the "urn:uuid:" and just use the first 4 digits.
|
|
3892
3901
|
while obj_name in self.fh:
|
|
3893
3902
|
# Guarantee uniqueness
|
|
3894
3903
|
obj_name += "_"
|
|
@@ -0,0 +1,218 @@
|
|
|
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.md);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. This field is intended to uniquely identify this dataset among all others that have ever been created or ever will be created, even those with exactly the same content. This field is stored as a string. For compatibility with future improvements to the specification, readers should treat the strings as opaque sequences of characters. Readers should be able to accommodate strings of up to 512 characters and consisting of the following ASCII characters: 0-9, a-z, A-Z, and the following 19 symbols: ",/?:@&=+$,-_.!~*'()" (not including the double quote). This version of the ONDE specification defines a single format for the UUID based on ISO/IEC 9834-8/ITU X.667. The UUID should consist of the string "urn:uuid:" followed by the hexadecimal representation of a 128 bit unique identifier. The hexadecimal representation should use only lower case letters, and there should be dashes ("-") after the 8th, 12th, 16th, and 20th hexadecimal digits. For example, "urn:uuid:01234567-89ab-cdef-0123-456789abcdef". The recommended procedure for generating the 128 bit identifier is to follow [ISO/IEC 9834-8/ITU X.667](https://www.itu.int/rec/T-REC-X.667-201210-I/en), however any procedure (such as applying a cryptographic hash to unique information such as equipment serial number combined with time) that can guarantee an infintesmial probability of multiple datasets being given the same UUID is sufficient. ;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<data> or H5T_INTEGER;1 or [N_U<m>,N_V<m>,N_ROW<m>,N_COL<m>] or [N_U<m>,N_V<m>,N_ROW<m>,N_COL<m>,N_PLANE<m>];;;;
|
|
18
|
+
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_DATASET_UT_ASCAN>;1;;;;
|
|
19
|
+
ONDE_DATASET_UT_TSCAN;ONDE_DATASET_UT_TSCAN:RECONSTRUCTION_SETUP;reference to the reconstruction setup block that describes the reconstruction zone and the reconstruction parameters;M;A;H5T_STD_REF_OBJ<ONDE_UT_RECONSTRUCTION_SETUP>;1;;;;
|
|
20
|
+
ONDE_UT_RECONSTRUCTION_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_UT_RECONSTRUCTION_SETUP"];;;
|
|
21
|
+
ONDE_UT_RECONSTRUCTION_SETUP;ONDE_UT_RECONSTRUCTION_SETUP:ZONE_FRAME;frame associated with the center of the image zone;M;A;H5T_FLOAT;[7];;;;
|
|
22
|
+
ONDE_UT_RECONSTRUCTION_SETUP;ONDE_UT_RECONSTRUCTION_SETUP:ZONE_DIMENSION;physical dimension of the zone;M;A;H5T_FLOAT;[3];;;;
|
|
23
|
+
ONDE_UT_RECONSTRUCTION_SETUP;ONDE_UT_RECONSTRUCTION_SETUP:ZONE_SIZE;number of pixels of the zone;M;A;H5T_INTEGER;[3];;;;
|
|
24
|
+
ONDE_UT_RECONSTRUCTION_SETUP;ONDE_UT_RECONSTRUCTION_SETUP:RECONSTRUCTION_MODE;;M;A;H5T_STRING;1;;;;
|
|
25
|
+
ONDE_UT_RECONSTRUCTION_SETUP;ONDE_UT_RECONSTRUCTION_SETUP: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;;;;
|
|
26
|
+
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"];;;
|
|
27
|
+
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_Ascan<m>] 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_Ascan<m>];;;;
|
|
28
|
+
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_DATASET_UT_ASCAN> or H5T_STD_REF_OBJ<ONDE_DATASET_UT_TSCAN>;1;;;;
|
|
29
|
+
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];;;;
|
|
30
|
+
ONDE_DATASET_UT_CSCAN;ONDE_DATASET_UT_CSCAN:CSCAN_GRID;;M;A;H5T_STD_REF_OBJ<ONDE_ACQUISITION_GRID>;1;;;;
|
|
31
|
+
ONDE_DATASET_UT_CSCAN;ONDE_DATASET_UT_CSCAN: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;;;;
|
|
32
|
+
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"];;;
|
|
33
|
+
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;;;;
|
|
34
|
+
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;;;;
|
|
35
|
+
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;;;;
|
|
36
|
+
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;;;;
|
|
37
|
+
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"];;;
|
|
38
|
+
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;;;;
|
|
39
|
+
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;;;;
|
|
40
|
+
ONDE_UT_GATE;ONDE_UT_GATE:THRESHOLD;Defines the threshold of the gate for data to be stored;O;A;H5T_FLOAT;1;;;;
|
|
41
|
+
ONDE_UT_GATE;ONDE_UT_GATE:DETECTION;;O;A;H5T_STRING;1;"FIRST_PEAK"|"LAST_PEAK"|"MAX_PEAK"|"FIRST_FLANK"|"LAST_FLANK"|"MAX_FLANK";;;
|
|
42
|
+
ONDE_UT_GATE;ONDE_UT_GATE:POLARITY;;O;A;H5T_STRING;1;"ABSOLUTE"|"POSITIVE"|"NEGATIVE";;;
|
|
43
|
+
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;;;;
|
|
44
|
+
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"];;;
|
|
45
|
+
ONDE_SETUP;ONDE_SETUP:GEOMETRIC_SETUP;;M;A;H5T_STD_REF_OBJ<ONDE_GEOMETRIC_SETUP>;1;;;;
|
|
46
|
+
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"];;;
|
|
47
|
+
ONDE_SETUP_UT;ONDE_SETUP_UT:ULTRASONIC_SETUP;Mandatory for Ascan sequences;O;A;H5T_STD_REF_OBJ<ONDE_ULTRASONIC_SETUP>;1;;;;
|
|
48
|
+
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"];;;
|
|
49
|
+
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;;;;
|
|
50
|
+
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>];;;;
|
|
51
|
+
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>];;;;
|
|
52
|
+
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];;;;
|
|
53
|
+
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"];;;
|
|
54
|
+
ONDE_COMPONENT;ONDE:LABEL;;O;A;H5T_STRING;;;;;
|
|
55
|
+
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];;;;
|
|
56
|
+
ONDE_COMPONENT;ONDE_COMPONENT:DENSITY;;O;A;H5T_FLOAT;1;;;;
|
|
57
|
+
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;;;;
|
|
58
|
+
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];;;;
|
|
59
|
+
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];;;;
|
|
60
|
+
ONDE_COMPONENT;ONDE_COMPONENT:COMMENT;;O;A;H5T_STRING;1;;;;
|
|
61
|
+
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;;;;
|
|
62
|
+
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"];;;
|
|
63
|
+
ONDE_PLANE;ONDE_PLANE:PLATE_DIMENSIONS;;M;A;H5T_FLOAT;[3];;;;
|
|
64
|
+
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"];;;
|
|
65
|
+
ONDE_CYLINDER;ONDE_CYLINDER:DIMENSIONS;;M;A;H5T_FLOAT;[3];;;;
|
|
66
|
+
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"];;;
|
|
67
|
+
ONDE_2DCAD;ONDE_2DCAD:EXTRUSION_TYPE;;M;A;H5T_STRING;1;"PLANE"|"CYLINDER";;;
|
|
68
|
+
ONDE_2DCAD;ONDE_2DCAD:EXTRUSION_DIMENSION;;M;A;H5T_FLOAT;1;;;;
|
|
69
|
+
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;;;;
|
|
70
|
+
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"];;;
|
|
71
|
+
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;;;;
|
|
72
|
+
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"];;;
|
|
73
|
+
ONDE_WELD;ONDE_WELD:EXTRUSION_TYPE;'This field specifies the type of extrusion for the weld geometry, which can be either a plane or a cylindrical shape. The extrusion type determines how the weld is represented in 3D space and affects the interpretation of the component dimensions.' ;M;A;H5T_STRING;1;"PLANE"|"CIRCUMFERENTIAL_CYLINDRICAL"|"AXIAL_CYLINDRICAL";;;
|
|
74
|
+
ONDE_WELD;ONDE_WELD:COMPONENT_DIMENSIONS;The physical dimensions of the welded component, represented as a 2D array. For a plane extrusion, the dimensions are given as (width, length), the length being the dimension along the weld axis. For a cylindrical extrusion, either circumferential or axial, the dimensions of the component are given as (outer diameter, length). By convention, the welds are located at the exact center of the component. The thickness of the component is not specified in this field, as it is assumed to be the same as the weld thickness. It is obtained by adding the heights of the weld passes (fill, hot pass, land, root) together. ;M;A;H5T_FLOAT;[2];;;;
|
|
75
|
+
ONDE_WELD;ONDE_WELD:WELD_TYPE;;M;A;H5T_STRING;1;"V"|"U";;;
|
|
76
|
+
ONDE_WELD;ONDE_WELD:WELD_SYMMETRY;;M;A;H5T_STRING;1;"SYMMETRIC"|"STRAIGHT_LEFT"|"STRAIGHT_RIGHT";;;
|
|
77
|
+
ONDE_WELD;ONDE_WELD:WELD_UPPER_CAP_WIDTH;;M;A;H5T_FLOAT;1;;;;
|
|
78
|
+
ONDE_WELD;ONDE_WELD:WELD_UPPER_CAP_HEIGHT;;M;A;H5T_FLOAT;1;;;;
|
|
79
|
+
ONDE_WELD;ONDE_WELD:WELD_FILL_ANGLE;;M;A;H5T_FLOAT;1;;;;
|
|
80
|
+
ONDE_WELD;ONDE_WELD:WELD_FILL_HEIGHT;;M;A;H5T_FLOAT;1;;;;
|
|
81
|
+
ONDE_WELD;ONDE_WELD:WELD_HOT_PASS_ANGLE;;M;A;H5T_FLOAT;1;;;;
|
|
82
|
+
ONDE_WELD;ONDE_WELD:WELD_HOT_PASS_HEIGHT;;M;A;H5T_FLOAT;1;;;;
|
|
83
|
+
ONDE_WELD;ONDE_WELD:WELD_LAND_OFFSET;;M;A;H5T_FLOAT;1;;;;
|
|
84
|
+
ONDE_WELD;ONDE_WELD:WELD_LAND_HEIGHT;;M;A;H5T_FLOAT;1;;;;
|
|
85
|
+
ONDE_WELD;ONDE_WELD:WELD_ROOT_ANGLE;;M;A;H5T_FLOAT;1;;;;
|
|
86
|
+
ONDE_WELD;ONDE_WELD:WELD_ROOT_HEIGHT;;M;A;H5T_FLOAT;1;;;;
|
|
87
|
+
ONDE_WELD;ONDE_WELD:WELD_LOWER_CAP_HEIGHT;;M;A;H5T_FLOAT;1;;;;
|
|
88
|
+
ONDE_WELD;ONDE_WELD:WELD_LOWER_CAP_WIDTH;;M;A;H5T_FLOAT;1;;;;
|
|
89
|
+
ONDE_WELD;ONDE_WELD:WELD_HAZ_WIDTH;;O;A;H5T_FLOAT;1;;;;
|
|
90
|
+
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"];;;
|
|
91
|
+
ONDE_PROBE;ONDE:LABEL;;O;A;H5T_STRING;1;;;;
|
|
92
|
+
ONDE_PROBE;ONDE_PROBE:MANUFACTURER;;O;A;H5T_STRING;1;;;;
|
|
93
|
+
ONDE_PROBE;ONDE_PROBE:SERIAL_NUMBER;;O;A;H5T_STRING;1;;;;
|
|
94
|
+
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"];;;
|
|
95
|
+
ONDE_UT_PROBE;ONDE:TYPE_TAGS;;M;A;H5T_STRING;[*];["ONDE_UT_ELEMENTS"];;;
|
|
96
|
+
ONDE_UT_PROBE;ONDE_UT_PROBE:FREQUENCY;;M;A;H5T_FLOAT;1;;;;
|
|
97
|
+
ONDE_UT_PROBE;ONDE_UT_PROBE:BANDWIDTH;;O;A;H5T_FLOAT;1;;;;
|
|
98
|
+
ONDE_UT_PROBE;ONDE_UT_PROBE:INDEX_POINT_FRAME;If absent, identity is assumed;O;D;H5T_FLOAT;[7];;;;
|
|
99
|
+
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";;;
|
|
100
|
+
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];;;;
|
|
101
|
+
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;;;;
|
|
102
|
+
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
|
|
103
|
+
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];;;;
|
|
104
|
+
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>];;;;
|
|
105
|
+
ONDE_UT_ELEMENTS;ONDE_UT_ELEMENTS:SIZE;;M;D;H5T_FLOAT;[N_Elem<p>,6];;;;
|
|
106
|
+
ONDE_UT_ELEMENTS;ONDE_UT_ELEMENTS:RADIUS_OF_CURVATURE;If absent, flat elements are assumed;O;D;H5T_FLOAT;[N_Elem<p>];;;;
|
|
107
|
+
ONDE_UT_ELEMENTS;ONDE_UT_ELEMENTS:AXIS_OF_CURVATURE;If absent, flat elements are assumed;O;D;H5T_FLOAT;[N_Elem<p>,3];;;;
|
|
108
|
+
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>];;;;
|
|
109
|
+
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"];;;
|
|
110
|
+
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"];;;
|
|
111
|
+
ONDE_LINEAR_UT_PROBE;ONDE_LINEAR_UT_PROBE:TOTAL_NUMBER_OF_ELEMENTS;;M;A;H5T_INTEGER;1;;;;
|
|
112
|
+
ONDE_LINEAR_UT_PROBE;ONDE_LINEAR_UT_PROBE:ELEMENT_DIM_MAJOR;;M;A;H5T_FLOAT;1;;;;
|
|
113
|
+
ONDE_LINEAR_UT_PROBE;ONDE_LINEAR_UT_PROBE:ELEMENT_DIM_MINOR;;M;A;H5T_FLOAT;1;;;;
|
|
114
|
+
ONDE_LINEAR_UT_PROBE;ONDE_LINEAR_UT_PROBE:ELEMENT_PITCH_DIM_MAJOR;;M;A;H5T_FLOAT;1;;;;
|
|
115
|
+
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>];;;;
|
|
116
|
+
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"];;;
|
|
117
|
+
ONDE_MATRIX_UT_PROBE;ONDE_MATRIX_UT_PROBE:TOTAL_NUMBER_OF_ELEMENTS;;M;A;H5T_INTEGER;1;;;;
|
|
118
|
+
ONDE_MATRIX_UT_PROBE;ONDE_MATRIX_UT_PROBE:NUMBER_OF_ELEMENTS_DIM_MINOR;;M;A;H5T_INTEGER;1;;;;
|
|
119
|
+
ONDE_MATRIX_UT_PROBE;ONDE_MATRIX_UT_PROBE:ELEMENT_DIM_MAJOR;;M;A;H5T_FLOAT;1;;;;
|
|
120
|
+
ONDE_MATRIX_UT_PROBE;ONDE_MATRIX_UT_PROBE:ELEMENT_DIM_MINOR;;M;A;H5T_FLOAT;1;;;;
|
|
121
|
+
ONDE_MATRIX_UT_PROBE;ONDE_MATRIX_UT_PROBE:ELEMENT_PITCH_DIM_MAJOR;;M;A;H5T_FLOAT;1;;;;
|
|
122
|
+
ONDE_MATRIX_UT_PROBE;ONDE_MATRIX_UT_PROBE:ELEMENT_PITCH_DIM_MINOR;;M;A;H5T_FLOAT;1;;;;
|
|
123
|
+
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>];;;;
|
|
124
|
+
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"];;;
|
|
125
|
+
ONDE_DIRECT;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_DIRECT"];;;
|
|
126
|
+
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"];;;
|
|
127
|
+
ONDE_IMMERSION;ONDE_IMMERSION:WATER_PATH;;M;A;H5T_FLOAT;1;;;;
|
|
128
|
+
ONDE_IMMERSION;ONDE_IMMERSION:INCIDENCE_ANGLE;;M;A;H5T_FLOAT;1;;;;
|
|
129
|
+
ONDE_IMMERSION;ONDE_IMMERSION:MEDIUM_VELOCITY;;M;A;H5T_FLOAT;[2];;;;
|
|
130
|
+
ONDE_IMMERSION;ONDE_IMMERSION:MEDIUM_DENSITY;;O;A;H5T_FLOAT;1;;;;
|
|
131
|
+
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"];;;
|
|
132
|
+
ONDE_WEDGE;ONDE:LABEL;;O;A;H5T_STRING;1;;;;
|
|
133
|
+
ONDE_WEDGE;ONDE_WEDGE:MANUFACTURER;;O;A;H5T_STRING;1;;;;
|
|
134
|
+
ONDE_WEDGE;ONDE_WEDGE:SERIAL_NUMBER;;O;A;H5T_STRING;1;;;;
|
|
135
|
+
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";;;
|
|
136
|
+
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;;;;
|
|
137
|
+
ONDE_WEDGE;ONDE_WEDGE:CONTACT_AREA;Equivalent to L1, L2 and L3 (See Figure 15);M;A;H5T_FLOAT;[3];;;;
|
|
138
|
+
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;;;;
|
|
139
|
+
ONDE_WEDGE;ONDE_WEDGE:INCIDENCE_ANGLE;;M;A;H5T_FLOAT;1;;;;
|
|
140
|
+
ONDE_WEDGE;ONDE_WEDGE:SKEW_ANGLE;wedge /skew angle (B) (See Figure 15);O;A;H5T_FLOAT;1;;;;
|
|
141
|
+
ONDE_WEDGE;ONDE_WEDGE:DISORIENTATION_ANGLE;wedge /disorientation angle (D) (See Figure 15);O;A;H5T_FLOAT;1;;;;
|
|
142
|
+
ONDE_WEDGE;ONDE_WEDGE:WEDGE_VELOCITY;;M;A;H5T_FLOAT;[2];;;;
|
|
143
|
+
ONDE_WEDGE;ONDE_WEDGE:WEDGE_DENSITY;;O;A;H5T_FLOAT;1;;;;
|
|
144
|
+
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"];;;
|
|
145
|
+
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"];;;
|
|
146
|
+
ONDE_DUAL_WEDGE;ONDE_DUAL_WEDGE:PROBE_SEPARATION;For dual probes, inter-probes distance (L6) (See Figure 15);M;A;H5T_FLOAT;1;;;;
|
|
147
|
+
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;;;;
|
|
148
|
+
ONDE_DUAL_WEDGE;ONDE_DUAL_WEDGE:SQUINT_ANGLE;For dual probes, squint angle (A2) (See Figure 15);M;A;H5T_FLOAT;1;;;;
|
|
149
|
+
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"];;;
|
|
150
|
+
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"];;;
|
|
151
|
+
ONDE_TIME_TRAJECTORY;ONDE_TIME_TRAJECTORY:ACQUISITION_RATE;For time encoded trajectories, defines the acquisition rate;O;A;H5T_FLOAT;1;;;;
|
|
152
|
+
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"];;;
|
|
153
|
+
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];;;;
|
|
154
|
+
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"];;;
|
|
155
|
+
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;;;;
|
|
156
|
+
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";;;
|
|
157
|
+
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];;;;
|
|
158
|
+
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>];;;;
|
|
159
|
+
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>];;;;
|
|
160
|
+
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";;;
|
|
161
|
+
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>];;;;
|
|
162
|
+
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>];;;;
|
|
163
|
+
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];;;;
|
|
164
|
+
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"];;;
|
|
165
|
+
ONDE_ULTRASONIC_SETUP;ONDE:LABEL;;O;A;H5T_STRING;1;;;;
|
|
166
|
+
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";;;
|
|
167
|
+
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";;;
|
|
168
|
+
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>];;;;
|
|
169
|
+
ONDE_ULTRASONIC_SETUP;ONDE_ULTRASONIC_SETUP:FILTER_DESCRIPTION;Description of the filtering applied;O;A;H5T_STRING;1;;;;
|
|
170
|
+
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;;;;
|
|
171
|
+
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>];;;;
|
|
172
|
+
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];;;;
|
|
173
|
+
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> ];;;;
|
|
174
|
+
ONDE_ULTRASONIC_SETUP;ONDE_ULTRASONIC_SETUP:PRF;Pulse Repetition Frequency;O;D;H5T_FLOAT;[N_Ascan<m>] or [2];;;;
|
|
175
|
+
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_Time<m> ];;;;
|
|
176
|
+
ONDE_ULTRASONIC_SETUP;ONDE_ULTRASONIC_SETUP:PHASED_ARRAY_SETUP;;O;A;H5T_STD_REF_OBJ<ONDE_PHASED_ARRAY_SETUP>;1;;;;
|
|
177
|
+
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>];;;;
|
|
178
|
+
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>];;;;
|
|
179
|
+
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"];;;
|
|
180
|
+
ONDE_UT_LAW;ONDE_UT_LAW:PROBE;;M;D;H5T_STD_REF_OBJ<ONDE_UT_PROBE>;[N_Comb<k>];;;;
|
|
181
|
+
ONDE_UT_LAW;ONDE_UT_LAW:ELEMENT;;M;D;H5T_INTEGER;[N_Comb<k>];;;;
|
|
182
|
+
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_Comb<k>];;;;
|
|
183
|
+
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_Comb<k>];;;;
|
|
184
|
+
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];;;;
|
|
185
|
+
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"];;;
|
|
186
|
+
ONDE_PHASED_ARRAY_SETUP;ONDE_PHASED_ARRAY_SETUP:EMITTER_PROBE;;M;A;H5T_STD_REF_OBJ<ONDE_UT_PROBE>;1;;;;
|
|
187
|
+
ONDE_PHASED_ARRAY_SETUP;ONDE_PHASED_ARRAY_SETUP:RECEIVING_PROBE;;M;A;H5T_STD_REF_OBJ<ONDE_UT_PROBE>;1;;;;
|
|
188
|
+
ONDE_PHASED_ARRAY_SETUP;ONDE_PHASED_ARRAY_SETUP:SEQUENCE_ANGLE_MODE;;M;A;H5T_STRING;;"L"|"T";;;
|
|
189
|
+
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"];;;
|
|
190
|
+
ONDE_PHASED_ARRAY_ANGLE;ONDE_PHASED_ARRAY_ANGLE:BSCAN_ANGLE;;M;A;H5T_FLOAT;1;;;;
|
|
191
|
+
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"];;;
|
|
192
|
+
ONDE_PHASED_ARRAY_SSCAN;ONDE_PHASED_ARRAY_SSCAN:STARTING_ANGLE;;M;A;H5T_FLOAT;1;;;;
|
|
193
|
+
ONDE_PHASED_ARRAY_SSCAN;ONDE_PHASED_ARRAY_SSCAN:FINISHING_ANGLE;;M;A;H5T_FLOAT;1;;;;
|
|
194
|
+
ONDE_PHASED_ARRAY_SSCAN;ONDE_PHASED_ARRAY_SSCAN:NUMBER_OF_ANGLES;;M;A;H5T_INTEGER;1;;;;
|
|
195
|
+
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"];;;
|
|
196
|
+
ONDE_PHASED_ARRAY_ESCAN;ONDE_PHASED_ARRAY_ESCAN:NUMBER_OF_ELEMENTS;;M;A;H5T_INTEGER;1;;;;
|
|
197
|
+
ONDE_PHASED_ARRAY_ESCAN;ONDE_PHASED_ARRAY_ESCAN:STEP;;M;A;H5T_INTEGER;1;;;;
|
|
198
|
+
ONDE_PHASED_ARRAY_ESCAN;ONDE_PHASED_ARRAY_ESCAN:ANGLE;;M;A;H5T_FLOAT;1;;;;
|
|
199
|
+
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"];;;
|
|
200
|
+
ONDE_PHASED_ARRAY_PWI;ONDE_PHASED_ARRAY_PWI:STARTING_ANGLE;;M;A;H5T_FLOAT;1;;;;
|
|
201
|
+
ONDE_PHASED_ARRAY_PWI;ONDE_PHASED_ARRAY_PWI:FINISHING_ANGLE;;M;A;H5T_FLOAT;1;;;;
|
|
202
|
+
ONDE_PHASED_ARRAY_PWI;ONDE_PHASED_ARRAY_PWI:NUMBER_OF_ANGLES;;M;A;H5T_INTEGER;1;;;;
|
|
203
|
+
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"];;;
|
|
204
|
+
ONDE_PHASED_ARRAY_COMPOUND;ONDE_PHASED_ARRAY_COMPOUND:INITIAL_ANGLE;;M;A;H5T_FLOAT;1;;;;
|
|
205
|
+
ONDE_PHASED_ARRAY_COMPOUND;ONDE_PHASED_ARRAY_COMPOUND:FINAL_ANGLE;;M;A;H5T_FLOAT;1;;;;
|
|
206
|
+
ONDE_PHASED_ARRAY_COMPOUND;ONDE_PHASED_ARRAY_COMPOUND:NUMBER_OF_ANGLES;;M;A;H5T_INTEGER;1;;;;
|
|
207
|
+
ONDE_PHASED_ARRAY_COMPOUND;ONDE_PHASED_ARRAY_COMPOUND:NUMBER_OF_ELEMENTS;;M;A;H5T_INTEGER;1;;;;
|
|
208
|
+
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"];;;
|
|
209
|
+
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"];;;
|
|
210
|
+
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"];;;
|
|
211
|
+
ONDE_BINARYFILE_EMBEDDED;ONDE_BINARYFILE_EMBEDDED:CONTENT;The bytes of the binary file;M;D;H5T_NATIVE_OPAQUE;[N_bytes];;;;
|
|
212
|
+
ONDE_BINARYFILE_EMBEDDED;ONDE_BINARYFILE_EMBEDDED:CONTENT_TYPE;The MIME type of the file provided. May be "application/octet-stream" for unknown binary data.;M;A;H5T_STRING;;;;;
|
|
213
|
+
ONDE_BINARYFILE_EMBEDDED;ONDE_BINARYFILE_EMBEDDED:NAME;An optional file name identifying the contained information.;O;A;H5T_STRING;;;;;
|
|
214
|
+
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"];;;
|
|
215
|
+
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"];;;
|
|
216
|
+
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];;;;
|
|
217
|
+
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;1;"TIME_OF_FLIGHT"|"AMPLITUDE"|"DEPTH"|"ALARM";;;
|
|
218
|
+
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;;;;
|
|
@@ -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.2.csv
|
|
21
22
|
PyONDE/onde_versions/ONDE_fields_v0.9.2pre.csv
|
|
22
23
|
demos/build_onde_file.py
|
|
23
24
|
demos/build_onde_graph.py
|
|
@@ -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.
|
|
30
|
+
onde_version = "0.9.2"
|
|
31
31
|
)
|
|
32
32
|
|
|
33
33
|
ds = ONDEObject.new(of,"ONDE_DATASET_UT_ASCAN")
|
|
@@ -79,11 +79,11 @@ ds.SETUP.GEOMETRIC_SETUP.COMPONENT = ONDEObject.new(of,"ONDE_COMPONENT")
|
|
|
79
79
|
ds.SETUP.GEOMETRIC_SETUP.COMPONENT.VELOCITIES = ONDEArray.new(value = [np.nan,np.nan])
|
|
80
80
|
ds.SETUP.GEOMETRIC_SETUP.PROBE_LIST = ONDEReferenceArray.new(of,shape = (1,))
|
|
81
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,"
|
|
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
|
|
82
|
+
ds.SETUP.GEOMETRIC_SETUP.PROBE_LIST[0].COUPLING = ONDEObject.new(of,"ONDE_DIRECT") # 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
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
88
|
ds.SETUP.GEOMETRIC_SETUP.PROBE_LIST[0].FREQUENCY = 1e6 # Hz
|
|
89
89
|
# SHAPE type is currently documented as integer but in fact it should be a string
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import PyONDE as onde
|
|
2
2
|
|
|
3
3
|
import os
|
|
4
|
+
import sys
|
|
5
|
+
onde_version='0.9.2'
|
|
6
|
+
class_def_csv_path = os.path.join(os.path.split(sys.modules["PyONDE"].__file__)[0],"onde_versions",f"ONDE_fields_v{onde_version:s}.csv")
|
|
7
|
+
|
|
4
8
|
|
|
5
|
-
class_def_csv_path = os.path.join("..", "..", "ONDE-format", "build", "ONDE_fields.csv")
|
|
6
9
|
class_defs = onde.ONDEClassDefinitions.load_from_csv(class_def_csv_path)
|
|
7
10
|
|
|
8
11
|
leaf = onde.ONDEValue.new("leaf value", _frozen = True)
|
|
9
12
|
leaf2 = onde.ONDEValue.new("leaf value 2", _frozen = True)
|
|
10
13
|
array = onde.ONDEArray.new(["string1","string2"], _frozen = True)
|
|
11
14
|
obj = onde.ONDEObject.new(None, None, ONDE_TYPE = onde.ONDEArray.new(["ONDE_DATASET"],_frozen=True), **{"TEST:leaf":leaf})
|
|
12
|
-
obj["ONDE:UUID"] = onde.ONDEValue.new("
|
|
15
|
+
obj["ONDE:UUID"] = onde.ONDEValue.new("urn:uuid:01234567-89ab-cdef-0123-456789abcdef", _frozen = True)
|
|
13
16
|
obj["TEST:leaf2"] = leaf2
|
|
14
17
|
obj["TEST:leaf_secondreference"] = leaf
|
|
15
18
|
obj._set_dataset_attr("TEST:array", array)
|
|
@@ -19,5 +22,5 @@ snapshot = onde.ONDEFileGraphSnapshot.new(_frozen = False)
|
|
|
19
22
|
snapshot.add(obj)
|
|
20
23
|
graph = onde.ONDEFileGraph.new(class_defs,snapshot)
|
|
21
24
|
|
|
22
|
-
graph["
|
|
23
|
-
assert(graph["
|
|
25
|
+
graph["01234567"]._set_attr("ONDE:LABEL",onde.ONDEValue.new("label value", _frozen = True))
|
|
26
|
+
assert(graph["01234567"]._get_attr("ONDE:LABEL").value=="label value")
|
|
@@ -4,7 +4,7 @@ leaf = onde.ONDEValue.new("leaf value", _frozen = True)
|
|
|
4
4
|
leaf2 = onde.ONDEValue.new("leaf value 2", _frozen = True)
|
|
5
5
|
array = onde.ONDEArray.new(["string1","string2"], _frozen = True)
|
|
6
6
|
obj = onde.ONDEObject.new(None, None, ONDE_TYPE=onde.ONDEArray.new(["ONDE_DATASET"], _frozen = True), leaf = leaf)
|
|
7
|
-
obj["ONDE:UUID"] = onde.ONDEValue.new("
|
|
7
|
+
obj["ONDE:UUID"] = onde.ONDEValue.new("urn:uuid:01234567-89ab-cdef-0123-456789abcdef", _frozen = True)
|
|
8
8
|
obj["TEST:leaf2"] = leaf2
|
|
9
9
|
obj["TEST:leaf_secondreference"] = leaf
|
|
10
10
|
obj._set_dataset_attr("TEST:array", array)
|
|
@@ -6,7 +6,7 @@ leaf2 = onde.ONDEValue.new("leaf value 2", _frozen = True)
|
|
|
6
6
|
leaf3 = onde.ONDEValue.new("leaf value 3", _frozen = True)
|
|
7
7
|
array = onde.ONDEArray.new(["string1","string2"], _frozen = True)
|
|
8
8
|
obj = onde.ONDEObject.new(None, None, ONDE_TYPE = onde.ONDEArray.new(["ONDE_DATASET"], _frozen=True), **{"TEST:leaf":leaf})
|
|
9
|
-
obj["ONDE:UUID"] = onde.ONDEValue.new("
|
|
9
|
+
obj["ONDE:UUID"] = onde.ONDEValue.new("urn:uuid:01234567-89ab-cdef-0123-456789abcdef", _frozen = True)
|
|
10
10
|
obj["TEST:leaf2"] = leaf2
|
|
11
11
|
obj["TEST:leaf_secondreference"] = leaf
|
|
12
12
|
obj["TEST:leaf3"] = leaf3
|
|
@@ -22,19 +22,19 @@ graph = onde.ONDEFileGraph.new(None,snapshot)
|
|
|
22
22
|
with onde.ONDETransaction(graph) as tr:
|
|
23
23
|
#import pdb
|
|
24
24
|
#pdb.set_trace()
|
|
25
|
-
tr.graph["
|
|
25
|
+
tr.graph["0123456"]["TEST:leaf2"].value = 5.0
|
|
26
26
|
pass
|
|
27
27
|
|
|
28
|
-
graph["
|
|
28
|
+
graph["0123456"]["TEST:leaf"].value = 7.0
|
|
29
29
|
|
|
30
|
-
assert(graph["
|
|
31
|
-
assert(snapshot["
|
|
32
|
-
assert(graph["
|
|
30
|
+
assert(graph["0123456"]["TEST:leaf"].value == 7.0)
|
|
31
|
+
assert(snapshot["0123456"]["TEST:leaf"].value == "leaf value")
|
|
32
|
+
assert(graph["0123456"]["TEST:leaf_secondreference"].value == "leaf value")
|
|
33
33
|
# In defining the scope, it would be good to be able to use a shorthand for the entry point directly.
|
|
34
|
-
with onde.ONDETransaction(graph, [onde.ONDEPath((graph["
|
|
34
|
+
with onde.ONDETransaction(graph, [onde.ONDEPath((graph["0123456"]["ONDE:UUID"].value,))]) as tr:
|
|
35
35
|
# because of the scope specified for the transaction, this next line will change both obj.leaf and obj.leaf_secondreference
|
|
36
|
-
tr.graph["
|
|
36
|
+
tr.graph["0123456"]["TEST:leaf3"].value = 9.0
|
|
37
37
|
pass
|
|
38
38
|
|
|
39
|
-
assert(graph["
|
|
40
|
-
assert(graph["
|
|
39
|
+
assert(graph["0123456"]["TEST:leaf3"].value == 9.0)
|
|
40
|
+
assert(graph["0123456"]["TEST:leaf3_secondreference"].value == 9.0)
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|