paramagpy.metal.Metal.info

Metal.info(comment=True)[source]

Get basic information about the Metal object

This is returned as a string in human readable units This is also the file format for saving the tensor

Parameters

comment (bool (optional)) – if True, each line has a ‘#’ placed at the front

Returns

information – a string containing basic information about the Metal

Return type

str

Examples

>>> metal = Metal()
>>> metal.set_lanthanide('Er')
>>> metal.info()
# ax    | 1E-32 m^3 :   -11.600
# rh    | 1E-32 m^3 :    -8.600
# x     |   1E-10 m :     0.000
# y     |   1E-10 m :     0.000
# z     |   1E-10 m :     0.000
# a     |       deg :     0.000
# b     |       deg :     0.000
# g     |       deg :     0.000
# mueff |        Bm :     9.581
# shift |       ppm :     0.000
# B0    |         T :    18.790
# temp  |         K :   298.150
# t1e   |        ps :     0.189
# taur  |        ns :     0.000