ROMSA v1.1 adds an interactive user interface and introduces additional command-line arguments for automation.
New Features
- Interactive Stereonet: Mouse-over functionality displays Trend / Plunge coordinates at the cursor location.
- UI Control Panel: Added buttons to toggle overlays (Faults, Striae, Stress Axes) and switch color palettes.
- CLI Arguments: Added flags to set the initial visual state and control the auto-saved output:
--faults: Draws fault plane traces.--striae: Draws slickenside dots.--axes: Draws best-fit σ axes.
Visual Improvements
- Continuous Heatmap: Increased contour density to 100 levels for a smooth gradient.
- Clean Auto-Save: The
_plot.pngfile is now saved immediately after calculation, excluding UI buttons. - Tensor Styling:
- σ1: Red dot (White rim)
- σ2: Black dot (White rim)
- σ3: Blue dot (White rim)
Algorithm
- Barycenter Calculation: The best-fit tensor is now determined by the centroid of the top 3% probability plateau, rather than the single highest pixel.
- Data Loading: The parser now counts actual data rows, ignoring incorrect or missing header counts in input files.
Usage Example
Generate a plot with the "Greys" palette and all geological data visible:
python romsa.py data.dat --res high --cmap Greys --faults --striae --axes