handwriting_sample.visualizer package

Submodules

handwriting_sample.visualizer.exceptions module

handwriting_sample.visualizer.interface module

class handwriting_sample.visualizer.interface.HandwritingSampleVisualizer[source]

Bases: HandwritingDataBase

Class implementing handwriting data visualizer

plot_all_modalities(sample, x_label=None, save_as=None)[source]

Plot separate line plots with all modalities of data

Parameters
  • sample (handwriting_sample.HandwritingSample) – instance of handwriting sample

  • x_label – label of X axis

  • save_as – setup save location if you want to save a file

plot_in_air_movement(sample, x_label=None, y_label=None, save_as=None)[source]

Plot task with in air movement

Parameters
  • sample (HandwritingSample) – instance of handwriting sample

  • x_label – label of X axis

  • y_label – label of Y axis

  • save_as – setup save location if you want to save a file

static plot_line(data, x_label, y_label, fig_show=True, save_as=None, fig_kwargs=None)[source]

Plot line plots for input data

Parameters
  • data – input data array

  • x_label – label of X axis

  • y_label – label of Y axis

  • fig_show – True/False value to show the figure

  • save_as – setup save location if you want to save a file

Returns

axis and figure of the plot

plot_on_surface_movement(sample, x_label=None, y_label=None, save_as=None)[source]

Plot task on surface only

Parameters
  • sample (HandwritingSample) – instance of handwriting sample

  • x_label – label of X axis

  • y_label – label of Y axis

  • save_as – setup save location if you want to save a file

plot_separate_movements(sample, x_label=None, y_label=None, save_as=None)[source]

Plot task with separate movements

Parameters
  • sample (HandwritingSample) – instance of handwriting sample

  • x_label – label of X axis

  • y_label – label of Y axis

  • save_as – setup save location if you want to save a file

plot_strokes(sample, x_label=None, y_label=None, save_as=None)[source]

Plot task separate strokes

Parameters
  • sample (HandwritingSample) – instance of handwriting sample

  • x_label – label of X axis

  • y_label – label of Y axis

  • save_as – setup save location if you want to save a file

Module contents