|
HOPS
HOPS class reference
|
No-embed (subprocess) default fringe plotter. Implements the same MHO_FringePlotVisitor interface as the embedded MHO_DefaultPythonPlotVisitor, but renders by shelling out to the user's python3 (python -m hops_visualization.fourfit_plot <request.json>), passing the plot data as JSON. No libpython is linked.
More...
#include <MHO_SubprocessPythonPlotVisitor.hh>
Public Member Functions | |
| MHO_SubprocessPythonPlotVisitor () | |
| virtual | ~MHO_SubprocessPythonPlotVisitor () |
| virtual void | Plot (MHO_FringeData *data) override |
| Render the fringe plot via the python3 subprocess. More... | |
Public Member Functions inherited from hops::MHO_FringePlotVisitor | |
| MHO_FringePlotVisitor () | |
| virtual | ~MHO_FringePlotVisitor () |
| virtual void | Visit (MHO_FringeFitter *fitter) override |
| Visits a fringe fitter and plots its data. More... | |
Public Member Functions inherited from hops::MHO_FringeFitterVisitor | |
| MHO_FringeFitterVisitor () | |
| MHO_FringeFitterVisitor () | |
| virtual | ~MHO_FringeFitterVisitor () |
| virtual | ~MHO_FringeFitterVisitor () |
No-embed (subprocess) default fringe plotter. Implements the same MHO_FringePlotVisitor interface as the embedded MHO_DefaultPythonPlotVisitor, but renders by shelling out to the user's python3 (python -m hops_visualization.fourfit_plot <request.json>), passing the plot data as JSON. No libpython is linked.
The C++ side already holds the plot data as mho_json (MHO_FringeData:: GetPlotData()), and the Python renderer (make_fourfit_plot) is entirely dict-driven, so the subprocess path produces the same plot as the embedded path for the DEFAULT plotter.
Scope / behavior (decided):
|
inline |
|
inlinevirtual |
|
overridevirtual |
Render the fringe plot via the python3 subprocess.
| data | Input MHO_FringeData (provides plot_dict + cmdline params). |
Implements hops::MHO_FringePlotVisitor.