Skip to content

Instantly share code, notes, and snippets.

View ThomasMGeo's full-sized avatar
🤙

Thomas Martin ThomasMGeo

🤙
View GitHub Profile
@ThomasMGeo
ThomasMGeo / segment_every_grain_colab_v2.ipynb
Created January 27, 2025 22:56
Segment_every_grain_colab_V2.ipynb
Sorry, this is too big to display.
@ThomasMGeo
ThomasMGeo / 1d_analysis.ipynb
Created January 7, 2025 03:43
1D_analysis.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ThomasMGeo
ThomasMGeo / gxf_import.py
Created October 30, 2024 16:34
GXF Reader
import numpy as np
def read_gxf_raw(infile):
"""
Read a GXF file and return raw data list and headers.
Following official GXF specifications from Geosoft.
Parameters:
infile (str): Path to the GXF file