PlotInteractor

class sunkitsst.PlotInteractor(data, pixel_scale, cadence, interop, savedir, **kwargs)[source] [edit on github]

Bases: sunpy.visualization.imageanimator.ImageAnimator

A PlotInteractor.

Takes 4D (Time,Lambda,X,Y) or 5D (Time,Stokes,Lambda,X,Y) arrays

Parameters:
  • data (np.ndarray) – A 4D or 5D array
  • pixel_scale (float) – Pixel scale for spatial axes
  • save_dir (string) – dir to save slit files to
  • axis_range (list or ndarray) – [min, max] pairs for each image axis and [min, max] pairs or arrays of values for each slider axis. Otherwise it just takes the shape and returns a non-physical index.

Methods Summary

create_buttons()
delete(event)
get_click(event)
load_slit(event)
plot_slits(slit)
record(event)
save_slit(event[, filename])
update_im_clim(val, im, slider)
update_range(val, im, slider)

Methods Documentation

create_buttons()[source] [edit on github]
delete(event)[source] [edit on github]
get_click(event)[source] [edit on github]
load_slit(event)[source] [edit on github]
plot_slits(slit)[source] [edit on github]
record(event)[source] [edit on github]
save_slit(event, filename=False)[source] [edit on github]
update_im_clim(val, im, slider)[source] [edit on github]
update_range(val, im, slider)[source] [edit on github]