nanograv / PINT

PINT is not TEMPO3 -- Software for high-precision pulsar timing
Other
121 stars 101 forks source link

missing parfile.py module for fermiphasogram.py example? #229

Closed djannati closed 7 years ago

djannati commented 7 years ago

Hi, I'm trying to run fermiphasogram.py but it gets the following error :

  File "./fermiphaseogram.py", line 16, in <module>
    from parfile import psr_par
ImportError: No module named parfile

@paulray - Is this available somewhere? Thanks Arache

paulray commented 7 years ago

Sorry, that is part of PRESTO. I guess that is an unintended dependency. We could pull parfile.py over into PINT, but maybe there is a better way.

djannati commented 7 years ago

I guess pulling parfile.py into PINT would be a good way, as that would avoid adding other dependencies (e.g. pgplot in psr_utils.py).

paulray commented 7 years ago

This is fixed in PR #219

djannati commented 7 years ago

Great, thanks!

paulray commented 7 years ago

@djannati : I just merged that PR, so the master branch is fixed. There are many other changes, including the names of scripts, and how they are installed! After you pull from master, you probably want to build with python setup.py install --user or python setup.py develop --user After you do that, the script you want will be fermiphase, not fermiphaseogram.py