plot_bolometer_geometry()#
- IRVBCamera.plot_bolometer_geometry(fig: Figure | None = None, plot_pixel_rays: dict[str, Any] | None = None, show_foil_xy_axes: bool = True)Source#
3D plotting of bolometer geometry using plotly module If you want to use this method, must install Plotly module.
- Parameters:
- fig
Figure,optional Figure object created by plotly, by default
plotly.graph_objs.Figureif fig is None.- plot_pixel_rays
dict,optional Properties of plotting rays, by default None. If the user want to use it, set any key and value, by default
{"pixel": (0, 0), "num_rays": 50, "terminate": 30e-2}is applied."pixel"is the specific pixel where rays are triggered,"num_rays"is the number of rays triggered, and"terminate"is the distance between foil and the board which terminates triggered rays in units of meter. If"terminateis 0, no terminating board is set.- show_foil_xy_axesbool,
optional Whether or not to show the local foil x, y axis, by default True.
- fig
- Returns:
FigureFigure objects include some traces.