Barak 0.3.2 documentation

barak.utilities.nan2num

«  barak.utilities.meshgrid_nd   ::   Contents   ::   barak.utilities.permutations  »

barak.utilities.nan2num

barak.utilities.nan2num(a, replace=0)[source]

Replace nan or inf entries with the replace keyword value.

If replace is “mean”, use the mean of the array to replace values. If it’s “interp”, intepolate from the nearest values.

«  barak.utilities.meshgrid_nd   ::   Contents   ::   barak.utilities.permutations  »