-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pybdsm_search in lsm.py does not work in polarized mode #30
Comments
Try it wish the fix I just pushed. Problem was a missing space on the command-line invocation, when adding polarization parameters... |
That doesn't fix it, and now even the gaul file doesn't have any polarization values - the last column is the |
My change only affects the format string passed to tigger-convert (in the old version, |
Yes, the log says
|
OK, try running pybdsm interactively and give it the same command. Something else must've changed, you can look at my commit, 40a67c3, it has nothing to do with pybdsm invocation per se. |
Pybdsm in interactive mode works as expected: Non-default input parameters in interactive mode:
Pybdsm output:
However, invoking it through pyxis causes it to disregard polarization:
Yesterday I did a git-pull after you edited lsm.py. I was on the devel branch, now I am on master, and there were many changes that got pulled - not sure if that made a difference. Also, I had to comment out lofarsoft-trunk-related things from the .bashrc file before pybdsm in interactive mode worked properly for polarization (it was giving errors earlier). |
PyBDSM in polarized mode is again not working for me; I get this error:
Here is the entire output:
I am working in this directory: |
Hmmm, so what's changed from before? Is it perhaps that you now have a multi-channel cube, whereas before it was single channel? Could you please test whether it works with single-channel images? Also, will it work if you enable spectral mode? |
It is a single channel image - it is this image: |
But this step works in the pipeline, so what's different? On Fri, Oct 30, 2015 at 5:50 PM, Modhurita Mitra [email protected]
|
Which pipeline do you mean? The 3C147 pipeline doesn't perform source extraction on any full-polarization image. |
Also, can tigger-convert be modified so that one can choose to run it in either total intensity (dividing measured Stokes I by beam gain) or full polarization (multiplying measured Stokes vector by inverse of Mueller matrix) mode? Currently, the 3C147 pipeline is producing apparent LSMs which have only I, but the intrinsic LSMs produced by tigger-convert have non-zero I and Q but zero U and V. |
I am using a modified version of a section of the 3C147 pipeline to run pybdsm in polarized mode:
Looking at the help for
pybdsm_search
(and looking at lsm.py), I gathered that all I needed to change to make pybdsm find polarization properties from an all-Stokes image was to setpol=True
above.Looking at the log file, it seems like it does compute polarization properties:
However, in the final LSM, Q,U,V are 0. These aren't 0 in the gaul file. It seems like Q,U,V are not getting written properly into the final LSM.
Location of the files, on elwood:
Gaul file:
/home/mitra/PrimaryBeamReduction/3C147-CD-LO-spw0-s3_pybdsm.lsm.html.gaul
Final LSM:
/home/mitra/PrimaryBeamReduction/reduction-02Mar15/plots-3C147-CD-LO-spw0/3C147-GdB-spw0+pybdsm-apparent_0.lsm.html
Log file:
/home/mitra/PrimaryBeamReduction/reduction-02Mar15/log-3C147-CD-LO-spw0.txt
The text was updated successfully, but these errors were encountered: