Opened 19 years ago
Closed 17 years ago
#78 closed defect (fixed)
scantable.auto_quotient fails on specific data set
| Reported by: | Owned by: | Malte Marquarding | |
|---|---|---|---|
| Priority: | high | Milestone: | ASAP2 release |
| Component: | General | Version: | 2.0 |
| Severity: | major | Keywords: | auto_quotient, MOPS |
| Cc: | erik.muller@…, atarchi@… |
Description
ASAP segv when
s=scantable("2006-09-03_1944-M165.rpf")
q=s.auto_quotient()
The data is on /DATA/KAPUTAR_3/mopra/MOPSarchive/
Change History (5)
comment:1 by , 19 years ago
| Status: | new → assigned |
|---|
comment:2 by , 19 years ago
Work around - manual quotient:
s = scantable("2006-09-03_1944-M165.rpf")
sel = selector()
# ons
sel.set_query("SRCTYPE==0")
s.set_selection(sel)
son = s.copy()
s.set_selection()
#offs
sel.set_query("SRCTYPE==1")
s.set_selection(sel)
soff = s.copy()
q = quotient(son,soff)
I'll investigate why it crashes.
comment:3 by , 19 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Resolved
I was (foolishly) assuming the timestamp within a cycle (e.g. for all IFs within a cycle to be the same). This is not the case for this data set (probably rounding). I am now looking within 0.5s of the minimum of delta t. As cycles are 2s or longer this should be ok.
comment:4 by , 19 years ago
| Cc: | added |
|---|---|
| Resolution: | fixed |
| Status: | closed → reopened |
This fix seem to have opened up another issue on the following data set.
http://www.atnf.csiro.au/people/Jim.Lovell/t015_2005_054.tar.gz
s=scantable('2005-02-23_090305_T015.rpf')
q=s.auto_quotient()
ngc3620=q.get_scan('NGC3620')
ngc3620.auto_poly_baseline(order=1)
ngc3620av=ngc3620.average_time(weight='tsys',align='true')
comment:5 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |
I think this was fixed long ago. New ticket if it happens again.

Acknowledged as a bug.
Just a few little hints:
means 'quot' is an alias for 's.auto_quotient'
means 'quot' holds the result of the function 's.auto_quotient'
Always use brackets, unless you know better ;-)