ptyrad.plotting.basic#
Plotting functions for basic outputs including probe modes, loss curves, positions, etc.
Functions
|
|
|
|
|
Plot the obj tilts given the probe position and pos-dependent tilts |
|
|
|
|
|
|
|
Plot the scan positions given an array of (N,2) |
|
Plot a sigmoid mask overlay on img with a line profile |
|
- ptyrad.plotting.basic.plot_sigmoid_mask(Npix, relative_radius, relative_width, img=None, show_circles=False)[source]#
Plot a sigmoid mask overlay on img with a line profile
- ptyrad.plotting.basic.plot_obj_tilts_avg(avg_tilt_iters, last_n_iters=2, show_fig=True, pass_fig=False)[source]#
- ptyrad.plotting.basic.plot_obj_tilts(pos, tilts, figsize=(16, 16), show_fig=True, pass_fig=False)[source]#
Plot the obj tilts given the probe position and pos-dependent tilts
- ptyrad.plotting.basic.plot_scan_positions(pos, init_pos=None, img=None, offset=None, figsize=(16, 16), dot_scale=0.001, show_arrow=True, show_fig=True, pass_fig=False)[source]#
Plot the scan positions given an array of (N,2)
- ptyrad.plotting.basic.plot_pos_grouping(pos, batches, circle_diameter=False, diameter_type='90%', figsize=(16, 8), dot_scale=1, show_fig=True, pass_fig=False)[source]#
- ptyrad.plotting.basic.plot_loss_curves(loss_iters, last_n_iters=10, show_fig=True, pass_fig=False)[source]#