Opened 14 years ago
Last modified 14 years ago
#217 assigned question
How does auto_quotient(mode='time') recognize scans?
Reported by: | Owned by: | Malte Marquarding | |
---|---|---|---|
Priority: | normal | Milestone: | Unified development |
Component: | General | Version: | 2.0 |
Severity: | normal | Keywords: | |
Cc: |
Description
What information in an SDFITS record tells ASAP that a scan is an OFF or an ON?
The only thing I see in the column names that might do it is SRCTYPE. If that is what it is, what are acceptable values, and what SDFITS column name would map into that in the scantable?
Change History (2)
comment:1 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 14 years ago
I'm trying to avoid fiddling with the source name. I have beam offsets in my SDFITS bintable. I was hoping to use that to set something that ASAP would recognize as meaning 'on' or 'off'. I suppose I can add a source name suffix when creating the SDFITS file. Seems inelegant but if that is the only way...
As far as I know there is no column indication the source type. This is done in an ad-hoc way on read. For ATNF (rpfits) data there is a source name convention (_R suffix). From this I set the
SRCTYPE
column. Note that there is and rc parameterscantable.reference
to allow you to specify aregex
to be applied. Other than that you could use aselector.set_query
/set_sourcetype
to filter on other columns (provided they are part of the ASAP format)