geoh5py.groups.giftools#
geoh5py.groups.giftools.base#
- class geoh5py.groups.giftools.base.BaseGIFtoolsGroup(parameters: dict | None = None, **kwargs)#
Bases:
GroupBase class for the GIFtools application groups that live under a
GIFtoolsGroupproject and carry aparametersform. Concrete subclasses only need to define_TYPE_UID,_default_nameand_default_parameters.- property parameters: dict#
Metadata attached to the entity. Return a copy of the dictionary to avoid accidental modifications.
- set_parameters(**kwargs)#
Set parameter values in the ‘parameters’ dictionary. :param kwargs: Dictionary of parameters to modify.
- geoh5py.groups.giftools.base.merge_field(base_field: dict[str, Any], *, drop_keys: str | Iterable[str] = (), **overrides: Any) dict[str, Any]#
Return a deep copy of a shared parameter field with
overridesapplied.Can be used when a group shares a field with a common parameter dict (e.g.
BASE_PARAMETERSor similar) that needs a small difference, such as an extra key or a changed value. The deep copy ensures the per-group dict never aliases the shared template, so in-place edits cannot leak between groups.- Parameters:
base_field – A shared field dict to use as the starting point.
drop_keys – Key or keys to remove from the copied field before applying overrides.
overrides – Keys to add or override on the copied field.
- Returns:
A new field dict, safe to embed in a group’s parameter dict.
geoh5py.groups.giftools.dc_octree#
- class geoh5py.groups.giftools.dc_octree.DCOctreeForward(parameters: dict | None = None, **kwargs)#
Bases:
BaseGIFtoolsGroupForward group for UBC-DCOctree.
- class geoh5py.groups.giftools.dc_octree.DCOctreeInversion(parameters: dict | None = None, **kwargs)#
Bases:
BaseGIFtoolsGroupInversion group for UBC-DCOctree.
geoh5py.groups.giftools.e3d_inversion#
- class geoh5py.groups.giftools.e3d_inversion.E3DInv(parameters: dict | None = None, **kwargs)#
Bases:
BaseGIFtoolsGroupInversion group for UBC-E3D.
geoh5py.groups.giftools.e3dmt_inversion#
- class geoh5py.groups.giftools.e3dmt_inversion.E3DMTInv(parameters: dict | None = None, **kwargs)#
Bases:
BaseGIFtoolsGroupInversion group for UBC-E3DMT.
geoh5py.groups.giftools.giftools#
- class geoh5py.groups.giftools.giftools.GIFtoolsGroup(gif_parameters: list[dict] | None = None, version: int = 1, **kwargs)#
Bases:
GroupThe type for a GIFtools group.
- add_children(children: Entity | PropertyGroup | list[Entity | PropertyGroup])#
- Parameters:
children – Add a list of entities as
children
- property can_add_group: bool#
Attribute to determine if groups can be added.
- property gif_parameters: list[dict]#
Metadata attached to the entity.
Return a copy of the dictionary to avoid accidental modifications.
- update_child_parameters(child_uid: UUID, **kwargs)#
Update an entry in the list of gif parameters.
- Parameters:
child_uid – UUID of the child entity.
kwargs – Keyword arguments
- property version: int#
GIFtools version number.
- geoh5py.groups.giftools.giftools.update_dict_parameters(parameters: dict, **kwargs) dict#
Given a dictionary of values, update the entries with the provided keyword arguments. The keys of the keyword arguments must match the keys in the dictionary.
- Parameters:
parameters – Dictionary of values to update
kwargs – Keyword arguments
- Returns:
Updated dictionary
geoh5py.groups.giftools.gravity#
- class geoh5py.groups.giftools.gravity.GZFor3D(parameters: dict | None = None, **kwargs)#
Bases:
BaseGIFtoolsGroupInversion group for UBC-GZINV3D (gzinv3d_60).
- class geoh5py.groups.giftools.gravity.GZInv3D(parameters: dict | None = None, **kwargs)#
Bases:
BaseGIFtoolsGroupInversion group for UBC-GZINV3D (gzinv3d_60).
geoh5py.groups.giftools.gravity_gradiometry_inversion#
- class geoh5py.groups.giftools.gravity_gradiometry_inversion.GGInv3D(parameters: dict | None = None, **kwargs)#
Bases:
BaseGIFtoolsGroupInversion group for UBC-GGINV3D (gginv3d).
geoh5py.groups.giftools.h3dtd_inversion#
- class geoh5py.groups.giftools.h3dtd_inversion.H3DTDInv(parameters: dict | None = None, **kwargs)#
Bases:
BaseGIFtoolsGroupInversion group for UBC-H3DTDInv.
geoh5py.groups.giftools.inversion_base#
geoh5py.groups.giftools.ip_3d_inversion#
- class geoh5py.groups.giftools.ip_3d_inversion.IPInv3D(parameters: dict | None = None, **kwargs)#
Bases:
BaseGIFtoolsGroupInversion group for UBC-IPINV3D (ipinv3d).
geoh5py.groups.giftools.ip_octree_inversion#
- class geoh5py.groups.giftools.ip_octree_inversion.IPOctreeInversion(parameters: dict | None = None, **kwargs)#
Bases:
BaseGIFtoolsGroupInversion group for UBC-IPOctree.
geoh5py.groups.giftools.magnetic_vector_inversion#
- class geoh5py.groups.giftools.magnetic_vector_inversion.MVIInv(parameters: dict | None = None, **kwargs)#
Bases:
BaseGIFtoolsGroupInversion group for UBC-MVIInv (mviinv).
geoh5py.groups.giftools.magnetics_inversion#
- class geoh5py.groups.giftools.magnetics_inversion.MagInv3D(parameters: dict | None = None, **kwargs)#
Bases:
BaseGIFtoolsGroupInversion group for UBC-MAGINV3D (maginv3d_60).
geoh5py.groups.giftools.octree_base#
geoh5py.groups.giftools.octree_gravity_inversion#
- class geoh5py.groups.giftools.octree_gravity_inversion.OCTGRVDEInversion(parameters: dict | None = None, **kwargs)#
Bases:
BaseGIFtoolsGroupInversion group for UBC-OCTGRVDE.