Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README-dev.rst
Original file line number Diff line number Diff line change
Expand Up @@ -454,4 +454,4 @@ To build the api docs using autodocs

Copyright
^^^^^^^^^
Copyright (c) 2025 Mira Geoscience Ltd.
Copyright (c) 2020-2026 Mira Geoscience Ltd.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Third Party Software notices and/or additional terms and conditions are located

Copyright
^^^^^^^^^
Copyright (c) 2025 Mira Geoscience Ltd.
Copyright (c) 2020-2026 Mira Geoscience Ltd.


Citing geoh5py
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/data/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/data/blob_data.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/data/boolean_data.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/data/color_map.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/data/colour.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/data/data.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/data/data_association_enum.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/data/data_type.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/data/data_unit.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/data/datetime_data.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/data/filename_data.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/data/float_data.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/data/geometric_data.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/data/integer_data.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/data/numeric_data.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/data/reference_value_map.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/data/referenced_data.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/data/text_data.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/data/unknown_data.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
9 changes: 6 additions & 3 deletions geoh5py/data/visual_parameters.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down Expand Up @@ -107,10 +107,13 @@ def colour(self) -> None | list:
def colour(self, rgb: list | tuple | np.ndarray):
if (
not isinstance(rgb, (list, tuple, np.ndarray))
or len(rgb) != 3
or len(rgb) not in [3, 4]
or not all(isinstance(val, int) for val in rgb)
):
raise TypeError("Input 'colour' values must be a list of 3 integers.")
raise TypeError("Input 'colour' values must be a list of 3 or 4 integers.")

if len(rgb) == 3:
rgb = list(rgb) + [255]

byte_string = "".join(f"{val:02x}" for val in rgb)
byte_string.join(f"{255:02x}") # alpha value
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/groups/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/groups/base.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/groups/container.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/groups/custom.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/groups/drillhole.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/groups/giftools.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/groups/group_type.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/groups/integrator.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/groups/interpretation_section.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/groups/maps.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/groups/notype.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/groups/property_group.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/groups/property_group_table.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/groups/property_group_type.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/groups/root.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/groups/simpeg.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
2 changes: 1 addition & 1 deletion geoh5py/groups/survey.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2025 Mira Geoscience Ltd. '
# Copyright (c) 2020-2026 Mira Geoscience Ltd. '
# '
# This file is part of geoh5py. '
# '
Expand Down
Loading