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

Query(search_all_fields=True) produces duplicates in fields_df #471

Closed ddobie closed 1 year ago

ddobie commented 1 year ago
coords = SkyCoord(268.894893,-25.463949,unit=u.deg)
source_names = ['J1755']
query = Query(
    source_names=source_names,
    coords=coords,
    matches_only=False, 
    epochs="all-vast", 
    crossmatch_radius=10., 
    output_dir='null',
    use_tiles=True,
    corrected_data=False,
    stokes='I',
    forced_fits=False,
    search_all_fields=True
)

query.find_fields()

results in 126 rows in query.fields_df, with each field appearing twice. The behaviour does not occur with search_all_fields=False.