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

Change output file naming scheme #403

Closed ddobie closed 1 year ago

ddobie commented 1 year ago

This pull request changes the naming scheme for output files (.fits, .png, .ann and .reg) to allow multiple files to be saved for each epoch. Files built from pipeline data will be saved in the form SOURCENAME_INDEX.ext, while files built from regular data will be saved in the form SOURCENAME_FIELDNAME_SBID.ext

This also changes the way that various functions inside vastools.source.Source are called, from being called based on epoch to being called based on index, and removing references to epochs in titles.

ddobie commented 1 year ago

@ajstewart can you take a look at this before I update of the docs etc?

ddobie commented 1 year ago

It seems to be okay - I've run a few test queries without any issues