symmetr.symmetrize_exp module
- symmetr.symmetrize_exp.create_rank2(ten, n_op=2, xyz=False)[source]
Creates a rank 2 tensor that includes magnetic moment explicitely.
- symmetr.symmetrize_exp.index_from_1(X, rank=2)[source]
Takes a rank 3 tensor and rename the indeces so that the numbering starts from 1 and not 0.
- symmetr.symmetrize_exp.print_tensor(ten, n_op, latex=False, xyz=False, no_newline=False)[source]
Prints the expansion tensor in a nice form.
Not tested for higher order than 1!!!