1. API Guide#
pycsamt.api is the package’s common entry point: the readers that
turn field data into survey objects, the opt-in tabular view layer behind
api=True, the shared mesh-drawing layer behind every resistivity
section and inversion figure, and the configure_*/reset_*
pattern that controls every one of those behaviours at runtime — output
directories, plot styles, axis conventions, CLI defaults, and AI-agent
budgets alike. Learning that one pattern once means every family below
already behaves the way you expect.
Use this guide when you need to decide what a dataframe-returning
function gives back, draw or restyle a computational/inversion mesh, or
change any runtime setting — from a single figure’s DPI to the station
ordering used package-wide — without hunting through individual function
signatures. For the complete generated reference of every
pycsamt.api function and class, see pycsamt.api.
- 1.1. API configuration
- 1.2. API Views
- 1.3. Mesh Display
- 1.4. Plot Styles
- 1.5. Contour overlays
- 1.6. Interpretation Plot Styles
- 1.7. Agent Configuration
- 1.8. Section Plot Layout
- 1.9. Station Rendering
- 1.10. View Controls
- 1.11. Configuration
- 1.11.1. The Dotted-Path Convention
- 1.11.2. View Layer
- 1.11.3. Pipeline Outputs
- 1.11.4. Site Ordering
- 1.11.5. CLI Defaults
- 1.11.6. Plot Styles
- 1.11.7. Contour Overlays
- 1.11.8. Figure Output
- 1.11.9. View Controls
- 1.11.10. Section Layout
- 1.11.11. Station Rendering
- 1.11.12. Interpretation
- 1.11.13. Topography
- 1.11.14. Mesh Display
- 1.11.15. Agents
- 1.11.16. Environment Variables
- 1.11.17. Recommended Setups
- 1.11.18. Reset Everything
- 1.11.19. Next Steps