misc: status bars etc.

elphmod.misc.group(points, eps=1e-07)

Group points into neighborhoods.

Parameters
pointsndarray

Points to be grouped.

epsfloat

Maximal distance between points in the same group.

Returns
list of lists

Groups of indices.

elphmod.misc.read_cube(cube)

Read Gaussian cube file.

elphmod.misc.split(expr, sd=',', od='{', cd='}')

Split expression with separators and brackets using distributive law.

Parameters
exprstr

Expression to be expanded and split.

sdstr

Separating delimiter.

odstr

Opening delimiter.

cdstr

Closing delimiter.

Returns
generator

Separated elements of expression.