Open aarchiba opened 3 years ago
For the record, MODE 1 --> yeah, tells tempo to use the TOA uncertainties in the fit and FORMAT 1 --> indicates that TOAs are in the modern tempo2 format
Thanks! I think it should be possible to do without a conversion step, although because of ephemeris and other differences we'll probably find that solutions that have converged for PINT haven't fully for tempo and tempo2. But they should be close.
Some notes from today's PINT meeting:
Not from the meeting but other incompatibilities worth mentioning:
Further notes about PINT vs. tempo vs. tempo2 observatory names in tempo2-format files:
We could thus obtain tempo-compatible observatory names (in par files too, for TZRMJD, probably) by using "ao" and "jb" for these two, upon request or by default.
A few further incompatibilities:
Also:
I think it's ECORR-->TNECORR (not T2ECORR).
We definitely recognize TNECORR, I'm just unsure whether TEMPO has a preference.
Repeating some stuff I just put on the nanograv trello card:
For ECORR, tempo accepts ECORR only. tempo2 accepts either ECORR or TNECORR, they are treated identically. T2ECORR is not a thing.
Both tempo and tempo2 accept T2EQUAD/T2EFAC. Neither accepts EQUAD/EFAC in the par file. Using EQUAD in tempo2 results in some confusing behavior since the "QUAD" string is also used for other purposes and the parsing is buggy (this specific bug could of course be easily fixed if we wanted to but older versions would still have the issue so might be good practice to avoid EQUAD/EFAC).
tempo2 also accepts TNEF and TNEQ. These have different definition than T2EFAC/T2EQUAD. The order of application is different and I think TNEQ is given as log10(seconds). tempo does not support these. I think we should avoid these for nanograv purposes. If PINT wants to support them someone should double-check the definitions vs tempo2.
For red noise, tempo and tempo2 both accept RNAMP and RNIDX. tempo2 also accepts TNRedAmp and TNRedGam, but the units/definitions are different than RNAMP/RNIDX. As above I think we should avoid the TN params for nanograv, OK if PINT wants to support them more generally though.
Some deviations are summarized here: https://github.com/nanograv/PINT/wiki/PINT-vs.-TEMPO%282%29-par-file-changes
The TNRedAmp
-family parameters were not-supported only by a bug #1286, resolved in #1335; whether PINT treats them compatibly to TEMPO2 I don't know.
It would be valuable if PINT emitted
.par
and.tim
files that TEMPO interpreted in as similar a way to PINT as it is able. A number of modifications on the TEMPO side have resolved some issues but Joe Swiggum and David Nice have identified the following points where PINT could do better:.tim
files should start withMODE 1
as well asFORMAT 1
(to tell TEMPO to use TOA uncertainties?)EFAC
->T2EFAC
, I think); TEMPO2 also needs the error parameters to start with T2.ao
notarecibo
If we find others or want to clarify TEMPO's needs, we can put that here.