2.30.7.1. pycsamt.map.config#
Configuration dataclasses for pycsamt.map.
Classes
|
Options used by figure export helpers. |
|
Options for pseudosection and profile-view maps. |
|
Options for 2-D station maps. |
|
Options for 3-D fence, block, and depth-slice maps. |
- class pycsamt.map.config.StationMapOptions(overlay='index', frequency=None, frequency_tolerance=None, depth=None, show_markers=True, component='xy', theme='light', backend='plotly', selected_id=None, line_filter=None, marker_size=10, basemap=None, cmap='plasma', value_range=None, log_color=False, opacity=0.92, show_labels=True, label_fontsize=8.0, label_rotation=0.0, show_profiles=True, elevation_mode='markers', show_contours=False, contour_image=False, contour_mode='filled+lines', contour_levels=12, contour_opacity=0.55, contour_interp='linear', contour_smooth=1.0, contour_grid_res=150, bearing=0.0, title='')[source]
Bases:
objectOptions for 2-D station maps.
- Parameters:
overlay (str)
frequency (float | None)
frequency_tolerance (float | None)
depth (float | None)
show_markers (bool)
component (str)
theme (Literal['light', 'dark', 'publication'])
backend (Literal['plotly', 'matplotlib'])
selected_id (str | None)
marker_size (int)
basemap (str | None)
cmap (str)
log_color (bool)
opacity (float)
show_labels (bool)
label_fontsize (float)
label_rotation (float)
show_profiles (bool)
elevation_mode (Literal['markers', 'contours'])
show_contours (bool)
contour_image (bool)
contour_mode (str)
contour_levels (int)
contour_opacity (float)
contour_interp (str)
contour_smooth (float)
contour_grid_res (int)
bearing (float)
title (str)
- overlay: str = 'index'
- show_markers: bool = True
- component: str = 'xy'
- theme: Literal['light', 'dark', 'publication'] = 'light'
- backend: Literal['plotly', 'matplotlib'] = 'plotly'
- marker_size: int = 10
- cmap: str = 'plasma'
- log_color: bool = False
- opacity: float = 0.92
- show_labels: bool = True
- label_fontsize: float = 8.0
- label_rotation: float = 0.0
- show_profiles: bool = True
- elevation_mode: Literal['markers', 'contours'] = 'markers'
- show_contours: bool = False
- contour_image: bool = False
- contour_mode: str = 'filled+lines'
- contour_levels: int = 12
- contour_opacity: float = 0.55
- contour_interp: str = 'linear'
- contour_smooth: float = 1.0
- contour_grid_res: int = 150
- bearing: float = 0.0
- title: str = ''
- class pycsamt.map.config.ProfileMapOptions(quantity='rho', component='xy', components=('xy', 'yx'), theme='light', backend='plotly', period_range=None, phase_range=None, value_range=None, x_axis='station', log_rho=True, height_per_panel=260, show_errbar=False, cmap=None, by_line=False, line_cols=None)[source]
Bases:
objectOptions for pseudosection and profile-view maps.
- Parameters:
- quantity: str = 'rho'
- component: str = 'xy'
- theme: Literal['light', 'dark', 'publication'] = 'light'
- backend: Literal['plotly', 'matplotlib'] = 'plotly'
- x_axis: Literal['station', 'distance'] = 'station'
- log_rho: bool = True
- height_per_panel: int = 260
- show_errbar: bool = False
- by_line: bool = False
- class pycsamt.map.config.VolumeMapOptions(mode='fence', quantity='resistivity', component='xy', theme='light', cmap='RdYlBu_r', depth_range=None, period_range=None, rho_range=None, iso_range=None, value_range=None, log_color=True, opacity=0.85, show_contours=False, show_labels=True, n_slices=5, surface_count=12, line_spacing=1.0, azimuth=0.0, topography=True, show_terrain=True, terrain_opacity=0.7, show_stations=False, station_symbol='diamond', station_size=4, station_color='#1f2937', station_labels=False, station_label_angle=0.0, station_label_fraction=1.0, station_label_names=None, max_stations=None, aspectmode='data', x_unit='m', depth_unit='m', smooth_sections=True, section_res=100, volume_smoothing=0.0, title='')[source]
Bases:
objectOptions for 3-D fence, block, and depth-slice maps.
- Parameters:
mode (Literal['fence', 'block', 'depth', 'surface'])
quantity (str)
component (str)
theme (Literal['light', 'dark', 'publication'])
cmap (str)
log_color (bool)
opacity (float)
show_contours (bool)
show_labels (bool)
n_slices (int)
surface_count (int)
line_spacing (float)
azimuth (float)
topography (bool)
show_terrain (bool)
terrain_opacity (float)
show_stations (bool)
station_symbol (str)
station_size (int)
station_color (str)
station_labels (bool)
station_label_angle (float)
station_label_fraction (float)
max_stations (int | None)
aspectmode (str)
x_unit (str)
depth_unit (str)
smooth_sections (bool)
section_res (int)
volume_smoothing (float)
title (str)
- mode: Literal['fence', 'block', 'depth', 'surface'] = 'fence'
- quantity: str = 'resistivity'
- component: str = 'xy'
- theme: Literal['light', 'dark', 'publication'] = 'light'
- cmap: str = 'RdYlBu_r'
- log_color: bool = True
- opacity: float = 0.85
- show_contours: bool = False
- show_labels: bool = True
- n_slices: int = 5
- surface_count: int = 12
- line_spacing: float = 1.0
- azimuth: float = 0.0
- topography: bool = True
- show_terrain: bool = True
- terrain_opacity: float = 0.7
- show_stations: bool = False
- station_symbol: str = 'diamond'
- station_size: int = 4
- station_color: str = '#1f2937'
- station_labels: bool = False
- station_label_angle: float = 0.0
- station_label_fraction: float = 1.0
- aspectmode: str = 'data'
- x_unit: str = 'm'
- depth_unit: str = 'm'
- smooth_sections: bool = True
- section_res: int = 100
- volume_smoothing: float = 0.0
- title: str = ''