Comments (4)
If you want to regenerate the original .ps plot, you can use the show_pfd
command on the .pfd file. There are several options that let you (slightly) modify the plot. You can also read the .pfd and plot it any way you want with the prepfold.py
python module that is included in PRESTO. Let me know if you need more specifics.
from presto.
BTW, the .pfd file itself is simply a C
structure (of type PREPFOLDINFO) stored in binary format. Most of it is described in the header file include/prepfold.h
. And you can see how it gets written and read in src/prepfold_utils.h
from presto.
Dear Scott Ransom,
Thanks for your reply, I am able to read the data from the struct data cube from the "profs" section. The only thing is I am trying to plot a few selected data bands from the cube. When I plot it is not able to replica the plot. So I found from the pfd plotting code some scaling and shifting happening. I will go through the prepfold_utils.h further. Thanks ..
from presto.
Note that in prepfold.py
, there is a greyscale()
method which uses the same scaling as in the prepfold plots. And there are also plot_intervals()
and plot_subbands()
methods which use the greyscale()
method.
from presto.
Related Issues (20)
- Undefined reference error during installation HOT 15
- accelsearch frequency range HOT 4
- Using prepsubband for only a fraction of a dataset HOT 3
- Build issue with pulsestack.py HOT 2
- `rfifind` and OpenMP HOT 4
- Separating `FFTFIT` into a separate Python package? HOT 2
- Automated documentation for `PRESTO`? HOT 2
- Packaging `PRESTO` for multiple OSes? HOT 3
- ld: cannot find -lfftw3f: No such file or directory HOT 2
- undefined symbol: _gfortran_st_close HOT 2
- Problem installing PRESTO with Apple M2 - Ventura 13.2 HOT 2
- Remove the Pusar Miner in FAQ HOT 5
- a memory issue about test_presto_python HOT 4
- ERROR: Failed building wheel for pyslalib HOT 3
- ERROR:makewisdom.c:4:10: fatal error: meminfo.h: No such file or directory HOT 1
- Discrepancy between time for single pulse with single_pulse_search.py and watefaller.py HOT 1
- Prepsubband writes less samples than original file has. HOT 6
- Installing `PRESTO`'s Python bindings fails for Python 3.12. HOT 4
- Doc fix HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from presto.