Opened 18 years ago

Closed 15 years ago

#78 closed defect (fixed)

scantable.auto_quotient fails on specific data set

Reported by: erik.muller@… 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 Changed 18 years ago by Malte Marquarding

Status: newassigned

Acknowledged as a bug.

Just a few little hints:

quot=s.auto_quotient

means 'quot' is an alias for 's.auto_quotient'

quot=s.auto_quotient()

means 'quot' holds the result of the function 's.auto_quotient'

Always use brackets, unless you know better ;-)

comment:2 Changed 18 years ago by Malte Marquarding

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 Changed 18 years ago by Malte Marquarding

Resolution: fixed
Status: assignedclosed

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 Changed 17 years ago by Malte Marquarding

Cc: atarchi@… added
Resolution: fixed
Status: closedreopened

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 Changed 15 years ago by Malte Marquarding

Resolution: fixed
Status: reopenedclosed

I think this was fixed long ago. New ticket if it happens again.

Note: See TracTickets for help on using tickets.