pint.pulsar_mjd.data2longdouble

pint.pulsar_mjd.data2longdouble(data)[source]

Return a numpy long double scalar form different type of data

If a string, permit Fortran-format scientific notation (1.0d2). Otherwise just use np.longdouble to convert. In particular if data is an array, convert all the elements.

Parameters:

data (str, np.array, or number) –

Return type:

np.longdouble