Code Monkey home page Code Monkey logo

Comments (11)

scottransom avatar scottransom commented on June 30, 2024

@swiggumj I'll take a look at that. That is certainly not the way that is supposed to happen. And, in fact, I've used prepfold and get_TOAs.py in exactly the way you say (including with -pdd) and gotten it to work. Are the folds that you did of a topocentric time series? Or of the raw data? And might it be possible for me to try and reproduce your result?

from presto.

swiggumj avatar swiggumj commented on June 30, 2024

Folds I did are with raw data. I'll send an email with the files used and the exact command.

from presto.

scottransom avatar scottransom commented on June 30, 2024

OK. I just pushed up what I think is a fix for this (#9759cc55df4a). I think this was caused by floating point precision loss and a bad design of the .pfd file format (long ago in graduate school!). If you are running this at GB, @ryanslynch may need to reinstall. There were two other bug fixes last night as well to PRESTO. If this works, I'll close the issue.

from presto.

swiggumj avatar swiggumj commented on June 30, 2024

Thanks Scott! I'll wait for confirmation from @ryanslynch that the latest version is available then give it another try.

from presto.

ryanslynch avatar ryanslynch commented on June 30, 2024

from presto.

scottransom avatar scottransom commented on June 30, 2024

@ryanslynch Did you install the python stuff for Python 2.7, though? Because several of the bug fixes that went in are python-related, including this one.

from presto.

scottransom avatar scottransom commented on June 30, 2024

And I really think that we need to make the jump to Py3. I'm not really planning on doing any support for Python 2.7. And I think most of the PRESTO users who do observing have probably already switched to Py3 at home -- so they know what needs to change. I've been slowly changing all of my personal scripts and most of them are really easy fixxes.

from presto.

swiggumj avatar swiggumj commented on June 30, 2024

Looks like it works! This issue can be closed.

from presto.

scottransom avatar scottransom commented on June 30, 2024

Great!

from presto.

ryanslynch avatar ryanslynch commented on June 30, 2024

from presto.

scottransom avatar scottransom commented on June 30, 2024

Gotcha. Thanks for that, @ryanslynch I think I at least partially misunderstood your post. Sorry!

from presto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.