pint.pulsar_mjd.fortran_float

pint.pulsar_mjd.fortran_float(x)[source]

Convert Fortran-format floating-point strings.

returns a copy of the input string with all ‘D’ or ‘d’ turned into ‘e’ characters. Intended for dealing with exponential notation in tempo1-generated parfiles.