Skip to content

Examples scripts are good but could be even better #1

@BordeauxDave

Description

@BordeauxDave

28 April 2022

A&A article accepted.
Download pywpf-main.zip, unzip, and give it a try!

Main README.md says "get data from link". Say that the link is given in scripts/README.md

Warns that the file is >1 Gb and that it takes an hour on a laptop.
So instead, I took Vela,
20091218-042650UTC_vela-NTT.baricentrizzato.tempo2.txt
which is only 345 Mb.

README.md says to execute
python3 data2npy.py -i pathto/20091215-031945UTC_crab-NTT.baricentrizzato.tempo2.txt
but I didn't find data2npy.py in the package or on google.
Why not just provide the
20091215-031945UTC_crab-NTT.baricentrizzato.tempo2.npy
file on your links? If not, then provide data2npy.py

Finally, I attempted this command line:
[local1@localhost scripts]$ python b0833-45_run.py -i 20091218-042650UTC_vela-NTT.baricentrizzato.tempo2.txt
Default plotting configuration could not be installed.

******* PyPCAF: finding pulsar period *******

... Total number of num_div loops: 1 ...

... Extracting period from 20091218-042650UTC_vela-NTT.baricentrizzato.tempo2.txt ...

Killed

Today's conclusions: it's great that you are providing example scripts.
But this (not very expert) user did not find everything he needs easily & quickly.
If you add what is missing ; or clarify in the README's what I did wrong ; then I will try again!

Oh -- "an hour on a laptop" -- isn't there some way you can have a fast job with sloppy results for a beginner's installation + learning to go faster?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions