2.26.5.42. pycsamt.agents.plotting#

pycsamt.agents.plotting#

PlotAgent — produce the common visual products the Agent Master could not make before:

  • rhophi — apparent-resistivity / phase sounding curves (plot_rhoa_phi()),

  • phase_psection — scalar phase pseudo-section (pseudosection() with quantity="phi_*"),

  • pt_psection — phase-tensor (Φ) ellipse pseudo-section (plot_phase_tensor_psection()),

  • pt_strip — single-station phase-tensor ellipse strip vs period (plot_phase_tensor_strip()),

  • pt_strip_grid — phase-tensor ellipse strips tiled by survey line (plot_phase_tensor_strip_grid()).

The agent never calls an LLM; it just turns a validated parameter set into matplotlib figures, returned under AgentResult.data["figures"] keyed by a human title. The Agent Master collects those figures into the chat + the Figures panel.

Classes

PlotAgent(**_)

Render rho/phi curves and phase / phase-tensor pseudo-sections.

class pycsamt.agents.plotting.PlotAgent(**_)[source]

Bases: object

Render rho/phi curves and phase / phase-tensor pseudo-sections.

Parameters:

_ (Any)

execute(input_data)[source]
Parameters:

input_data (dict[str, Any])

Return type:

AgentResult