My Project
|
Public Member Functions | |
def | __init__ (self, single_plots, frame_interval=10, movement_per_frame=10, n_frames=10, fps=10, sleep_amount=1, max_lim_change=0.1) |
def | init_live_plot (self, positions, figure_shape, titles, show_plot=True, suptitle="") |
START: INITIALIZE ##. More... | |
def | init_subplots (self) |
def | init_specified_subplot (self, single_plot) |
def | init_line_plot (self, single_line, ax_number) |
def | init_spring_plot (self, single_line, ax_number) |
def | init_bar_plot (self, single_line, ax_number) |
def | init_lims (self, single_plot) |
def | init_labels (self, single_plot) |
def | update_subplots (self, update_lims=False) |
END: INITIALIZE ##. More... | |
def | update_specified_subplot (self, single_plot) |
def | update_live_x_values (self, single_line, plot_type) |
def | update_live_y_values (self, single_line, plot_type) |
def | update_live_x_lim (self, single_plot) |
def | update_live_y_lim (self, single_plot) |
def | update_upper_springs (self, ax_number, index_first_spring, block_line_index=0) |
def | update_suptitle (self, suptitle) |
def | check_lims (self, ax_number, axis_checked, reduce_extra_lim_amount=3) |
def | change_xy_lim (self, ax_number, lim_min_add, lim_max_add) |
END: UPDATE ##. More... | |
def | change_x_lim (self, ax_number, x_lim_min_add, x_lim_max_add) |
def | change_y_lim (self, ax_number, y_lim_min_add, y_lim_max_add) |
def | shift_xy_indexes (self, ax_number, line_number, shift_amount, only_shift_first=False) |
def | shift_x_indexes (self, ax_number, line_number, shift_amount, only_shift_first=False) |
def | shift_y_indexes (self, ax_number, line_number, shift_amount, only_shift_first=False) |
def | change_x (self, ax_number, line_number, get_axis="x") |
def | change_y (self, ax_number, line_number, get_axis="y") |
def | get_last_plotted_x_value (self, ax_number, line_number) |
END: HELP FUNCTIONS ##. More... | |
def | get_last_plotted_y_value (self, ax_number, line_number) |
def | get_frame_interval (self) |
def | set_frame_interval (self, new_value) |
def | get_movement_per_frame (self) |
def | set_movement_per_frame (self, new_value) |
def | get_n_frames (self) |
def | set_n_frames (self, new_value) |
def | get_fps (self) |
def | set_fps (self, new_value) |
def | get_sleep_amount (selfSinglePlot) |
def | set_sleep_amount (self, new_value) |
Public Attributes | |
single_plots | |
frame_interval | |
movement_per_frame | |
n_frames | |
fps | |
sleep_amount | |
max_lim_change | |
fig | |
axs | |
Definition at line 6 of file animationTools.py.
def animationTools.BKAnimation.__init__ | ( | self, | |
single_plots, | |||
frame_interval = 10 , |
|||
movement_per_frame = 10 , |
|||
n_frames = 10 , |
|||
fps = 10 , |
|||
sleep_amount = 1 , |
|||
max_lim_change = 0.1 |
|||
) |
Definition at line 16 of file animationTools.py.
def animationTools.BKAnimation.change_x | ( | self, | |
ax_number, | |||
line_number, | |||
get_axis = "x" |
|||
) |
def animationTools.BKAnimation.change_x_lim | ( | self, | |
ax_number, | |||
x_lim_min_add, | |||
x_lim_max_add | |||
) |
def animationTools.BKAnimation.change_xy_lim | ( | self, | |
ax_number, | |||
lim_min_add, | |||
lim_max_add | |||
) |
END: UPDATE ##.
START: HELP FUNCTIONS ##
Definition at line 281 of file animationTools.py.
def animationTools.BKAnimation.change_y | ( | self, | |
ax_number, | |||
line_number, | |||
get_axis = "y" |
|||
) |
def animationTools.BKAnimation.change_y_lim | ( | self, | |
ax_number, | |||
y_lim_min_add, | |||
y_lim_max_add | |||
) |
def animationTools.BKAnimation.check_lims | ( | self, | |
ax_number, | |||
axis_checked, | |||
reduce_extra_lim_amount = 3 |
|||
) |
def animationTools.BKAnimation.get_fps | ( | self | ) |
def animationTools.BKAnimation.get_frame_interval | ( | self | ) |
def animationTools.BKAnimation.get_last_plotted_x_value | ( | self, | |
ax_number, | |||
line_number | |||
) |
END: HELP FUNCTIONS ##.
START: GETTERS AND SETTERS ##
Definition at line 361 of file animationTools.py.
def animationTools.BKAnimation.get_last_plotted_y_value | ( | self, | |
ax_number, | |||
line_number | |||
) |
def animationTools.BKAnimation.get_movement_per_frame | ( | self | ) |
def animationTools.BKAnimation.get_n_frames | ( | self | ) |
def animationTools.BKAnimation.get_sleep_amount | ( | selfSinglePlot | ) |
def animationTools.BKAnimation.init_bar_plot | ( | self, | |
single_line, | |||
ax_number | |||
) |
def animationTools.BKAnimation.init_labels | ( | self, | |
single_plot | |||
) |
def animationTools.BKAnimation.init_lims | ( | self, | |
single_plot | |||
) |
def animationTools.BKAnimation.init_line_plot | ( | self, | |
single_line, | |||
ax_number | |||
) |
def animationTools.BKAnimation.init_live_plot | ( | self, | |
positions, | |||
figure_shape, | |||
titles, | |||
show_plot = True , |
|||
suptitle = "" |
|||
) |
START: INITIALIZE ##.
Definition at line 35 of file animationTools.py.
def animationTools.BKAnimation.init_specified_subplot | ( | self, | |
single_plot | |||
) |
def animationTools.BKAnimation.init_spring_plot | ( | self, | |
single_line, | |||
ax_number | |||
) |
def animationTools.BKAnimation.init_subplots | ( | self | ) |
def animationTools.BKAnimation.set_fps | ( | self, | |
new_value | |||
) |
def animationTools.BKAnimation.set_frame_interval | ( | self, | |
new_value | |||
) |
def animationTools.BKAnimation.set_movement_per_frame | ( | self, | |
new_value | |||
) |
def animationTools.BKAnimation.set_n_frames | ( | self, | |
new_value | |||
) |
def animationTools.BKAnimation.set_sleep_amount | ( | self, | |
new_value | |||
) |
Definition at line 437 of file animationTools.py.
def animationTools.BKAnimation.shift_x_indexes | ( | self, | |
ax_number, | |||
line_number, | |||
shift_amount, | |||
only_shift_first = False |
|||
) |
def animationTools.BKAnimation.shift_xy_indexes | ( | self, | |
ax_number, | |||
line_number, | |||
shift_amount, | |||
only_shift_first = False |
|||
) |
def animationTools.BKAnimation.shift_y_indexes | ( | self, | |
ax_number, | |||
line_number, | |||
shift_amount, | |||
only_shift_first = False |
|||
) |
def animationTools.BKAnimation.update_live_x_lim | ( | self, | |
single_plot | |||
) |
def animationTools.BKAnimation.update_live_x_values | ( | self, | |
single_line, | |||
plot_type | |||
) |
def animationTools.BKAnimation.update_live_y_lim | ( | self, | |
single_plot | |||
) |
def animationTools.BKAnimation.update_live_y_values | ( | self, | |
single_line, | |||
plot_type | |||
) |
def animationTools.BKAnimation.update_specified_subplot | ( | self, | |
single_plot | |||
) |
def animationTools.BKAnimation.update_subplots | ( | self, | |
update_lims = False |
|||
) |
END: INITIALIZE ##.
START: UPDATE ##
Definition at line 126 of file animationTools.py.
def animationTools.BKAnimation.update_suptitle | ( | self, | |
suptitle | |||
) |
def animationTools.BKAnimation.update_upper_springs | ( | self, | |
ax_number, | |||
index_first_spring, | |||
block_line_index = 0 |
|||
) |
animationTools.BKAnimation.axs |
Definition at line 38 of file animationTools.py.
animationTools.BKAnimation.fig |
Definition at line 37 of file animationTools.py.
animationTools.BKAnimation.fps |
Definition at line 22 of file animationTools.py.
animationTools.BKAnimation.frame_interval |
Definition at line 19 of file animationTools.py.
animationTools.BKAnimation.max_lim_change |
Definition at line 24 of file animationTools.py.
animationTools.BKAnimation.movement_per_frame |
Definition at line 20 of file animationTools.py.
animationTools.BKAnimation.n_frames |
Definition at line 21 of file animationTools.py.
animationTools.BKAnimation.single_plots |
Definition at line 17 of file animationTools.py.
animationTools.BKAnimation.sleep_amount |
Definition at line 23 of file animationTools.py.