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_pywind_summary(fname[, vers, den_or_frac])

run version vers of py_wind 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_pywind_smart(filename[, return_inwind])

read a py_wind file using np array reshaping and manipulation

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

run version vers of py_wind 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