om_code.omgenutils#

Functions

absorbdf(blob, victim, cols)

Absorb one dataframe into another using a list of columns as an index to align the dataframes.

estimateerrorbar(y[, nopts])

Estimates measurement error for each data point of y by calculating the standard deviation of the nopts data points closest to that data point

figs2pdf(savename)

Save all open figures to a pdf file

findiqr(d)

Finds the interquartile range of data in an array

findsmoothvariance(y[, filtsig, nopts])

Estimates and then smooths the variance over replicates of data

islistempty(ell)

Check if a list of lists is empty, e.g.

makelist(c)

Ensures that a variable is a list

mergedicts(original, update)

Given two dicts, merge them into a new dict

natural_keys(text)

Used to sort a list of strings by the numeric values in the list entries.