Opened 19 years ago

Closed 19 years ago

#33 closed defect (fixed)

Hanning Smoothing not working

Reported by: Chris Phillips Owned by: Malte Marquarding
Priority: high Milestone: ASAP2 release
Component: c++ Version: 2.0
Severity: major Keywords: smooth
Cc:

Description

The .smooth scantanble function does seems to corrupt the data using the Hanning Kernel (other kernels seem OK). E.g. on the test data:

ASAP> d = scantable('mopra_dualif.rpf')
Auto averaging integrations
Importing mopra_dualif.rpf...

ASAP> q = d.auto_quotient()

ASAP> q.auto_poly_baseline()
Processing:
 Scan[0] Beam[0] IF[0] Pol[0] Cycle[0]
  p0= -0.223
 Scan[0] Beam[0] IF[1] Pol[0] Cycle[0]
  p0= -0.593

ASAP> plotter.plot(q)

ASAP> q.smooth(kernel='hann',width=5.0)

ASAP> plotter.plot(q)

Change History (1)

comment:1 by Malte Marquarding, 19 years ago

Resolution: fixed
Status: newclosed

I confused mask and flag once again. !mask == flag

Note: See TracTickets for help on using tickets.