py_plot_util

various utilities for processing Python outputs and plotting spectra and wind properties

Usage:

Arguments:

Functions

get_flux_at_wavelength(lambda_array, ...)

Find the flux at wavelength w

get_swind_summary(fname[, vers, den_or_frac])

run version vers of swind on file fname.wind_save and generate the complete wind summary as output

get_windsave_descriptions(data[, descr_dict])

parse_rcparams([fname])

parse the file params.rc and set values in matplotlib.rcparams

read_swind_smart(filename[, return_inwind])

read a swind file using np array reshaping and manipulation

run_swind(fname[, vers, cmds, ilv, ...])

run version vers of swind on file fname.wind_save

smooth(x[, window_len, window])

smooth data x by a factor with window of length window_len

wind_to_masked(d, value_string[, ...])

turn a table, one of whose colnames is value_string, into a masked array based on values of inwind