|
| ParticleDiagPlot (Frame *frame, const Geometry *geom, const ParticleDataBase *pdb, coordinate_axis_e axis, double level, particle_diag_plot_type_e type, trajectory_diagnostic_e diagx, trajectory_diagnostic_e diagy=DIAG_NONE) |
| Constructor for particle diagnostic plot. More...
|
|
| ParticleDiagPlot (Frame *frame, const Geometry *geom, const ParticleDataBase *pdb, const Vec3D &c, const Vec3D &o, const Vec3D &p, particle_diag_plot_type_e type, trajectory_diagnostic_e diagx, trajectory_diagnostic_e diagy=DIAG_NONE) |
| Constructor for particle diagnostic plot. More...
|
|
| ~ParticleDiagPlot () |
| Destructor. More...
|
|
void | set_emittance_ellipse (bool enable) |
| Enable/disable emittance fit for emittance plots? More...
|
|
bool | get_emittance_ellipse (void) |
| Is emittance fit enabled for emittance plots? More...
|
|
void | set_view (coordinate_axis_e axis, double level) |
| Set diagnostic plane. More...
|
|
void | get_view (coordinate_axis_e &axis, double &level) |
| Get diagnostic plane definition if it an even coorinate plane. More...
|
|
void | set_type (particle_diag_plot_type_e type) |
| Set plot type. More...
|
|
particle_diag_plot_type_e | get_type (void) |
| Get plot type. More...
|
|
void | set_plot (particle_diag_plot_type_e type, trajectory_diagnostic_e diagx, trajectory_diagnostic_e diagy) |
| Set plot type and diagnostic axes of plot. More...
|
|
void | get_plot (particle_diag_plot_type_e &type, trajectory_diagnostic_e &diagx, trajectory_diagnostic_e &diagy) |
| Get plot type and diagnostic axes of plot. More...
|
|
void | set_histogram_n (size_t n) |
| Set number of histogram bins in x-direction to use for colormap plot. More...
|
|
size_t | get_histogram_n (void) |
| Get number of histogram bins in x-direction to use for colormap plot. More...
|
|
void | set_histogram_m (size_t m) |
| Set number of histogram bins in y-direction to use for colormap plot. More...
|
|
size_t | get_histogram_m (void) |
| Get number of histogram bins in y-direction to use for colormap plot. More...
|
|
void | set_colormap_interpolation (interpolation_e interpolation) |
| Set the type of interpolation used in colormap plot. More...
|
|
interpolation_e | get_colormap_interpolation (void) |
| Get the type of interpolation used in colormap plot. More...
|
|
const Colormap * | get_colormap (void) const |
| Get a pointer to histogram in the plot. More...
|
|
void | set_dot_size (double size) |
| Set dot size for scatter plot. More...
|
|
double | get_dot_size (void) |
| Get dot size for scatter plot. More...
|
|
const Histogram * | get_histogram (void) |
| Return a pointer to histogram. More...
|
|
const Emittance & | calculate_emittance (void) |
| Calculate Emittance fit. More...
|
|
void | export_data (const std::string &filename) |
| Export plotted data as ASCII. More...
|
|
void | build_plot (void) |
| Rebuild plot. More...
|
|
Particle diagnostic plot.
Two dimensional histograms have particle trajectory currents always taken in account. Similarly profile plot (PARTICLE_DIAG_PLOT_HISTO1D) always takes in account the trajectory current. In cylindrical symmetry cases the output is scaled to have constant area per histogram bin. One dimensional Emittance plots in (r,r') space are scaled to have constant area per histogram bin.