Opened 14 years ago

Last modified 14 years ago

#217 assigned question

How does auto_quotient(mode='time') recognize scans?

Reported by: kuiper@… 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 Changed 14 years ago by Malte Marquarding

Owner: changed from Malte Marquarding to Malte Marquarding
Status: newassigned

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 parameter scantable.reference to allow you to specify a regex to be applied. Other than that you could use a selector.set_query/set_sourcetype to filter on other columns (provided they are part of the ASAP format)

comment:2 Changed 14 years ago by anonymous

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...

Note: See TracTickets for help on using tickets.