askap-vast / vast-tools

A collection of tools that are useful for the VAST project and for exploration of results from the VAST Pipeline.
https://vast-survey.org/vast-tools/
MIT License
8 stars 0 forks source link

Stokes V option not returning negative polarisation results #263

Closed jameskleung closed 3 years ago

jameskleung commented 3 years ago

find_sources.py --coords "05:33:28.1 -42:57:19" --stokes V --out-folder example_source --epochs 4x --base-folder /import/ada1/askap/PILOT/release/

The coordinates above were pulled from a negative polarisation catalogue and should return a match, but doesn't. It seems like the _get_components method in the Query class does not handle this.

ddobie commented 3 years ago

Looks like this was dropped around the time we added notebook functionality and parallel processing (switching from Source.extract_sources() to Query._get_components. The fix should be relatively simple.

ddobie commented 3 years ago

FYI you can add export VAST_DATA_DIR=/import/ada1/askap/PILOT/release to yours .bashrc and you won't have to specify base-folder every time you run the script