sidpy.viz.plot_utils.curveΒΆ

Utilities for generating static image and line plots of near-publishable quality

Created on Thu May 05 13:29:12 2016

@author: Suhas Somnath, Chris R. Smith

Functions

cbar_for_line_plot

Adds a colorbar next to a line plot axis

plot_complex_spectra

Plots the amplitude and phase components of the provided stack of complex valued spectrograms (2D images)

plot_curves

Plots curves / spectras from multiple datasets from up to 25 evenly spaced positions :param excit_wfms: Excitation waveform in the time domain :type excit_wfms: 1D numpy float array or list of same :param datasets: Datasets containing data arranged as (pixel, time) :type datasets: list of 2D numpy arrays or 2D hyp5.Dataset objects :param line_colors: Colors to be used for each of the datasets :type line_colors: list of strings :param dataset_names: Names of the different datasets to be compared :type dataset_names: (Optional) list of strings :param evenly_spaced: Evenly spaced positions or first N positions :type evenly_spaced: boolean :param num_plots: Number of plots :type num_plots: unsigned int :param x_label: X Label for all plots :type x_label: (optional) String :param y_label: Y label for all plots :type y_label: (optional) String :param subtitle_prefix: prefix for title over each plot :type subtitle_prefix: (optional) String :param title: Main plot title :type title: (optional) String :param use_rainbow_plots: Plot the lines as a function of spectral index (eg.

plot_line_family

Plots a family of lines with a sequence of colors

plot_scree

Plots the scree from SVD

rainbow_plot

Plots the input against the output vector such that the color of the curve changes as a function of index