Opened 20 years ago
Closed 20 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)
Note:
See TracTickets
for help on using tickets.

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