Opened 12 years ago

Closed 12 years ago

#270 closed defect (fixed)

'rmedian' smoothing option not working?

Reported by: StacyMader Owned by: Malte Marquarding
Priority: normal Milestone: Unified development
Component: General Version: 1.0
Severity: normal Keywords:
Cc: stacy.mader@…, Kana Sugimoto

Description

ASAP v4.0.0 (2011-10-05) on MacOSX 10.6

Using 'rmedian' to smooth a spectrum doesn't appear to do anything. All other kernel types appear okay though...

sc=scantable('2011-09-02_2210-P798_p301.34-8.21.rpf',average=False) av=sc.average_time(align=True) iav=av.average_pol() smooth=iav.smooth(kernel='rmedian',width=50,insitu=False) plotter.plot(smooth) # shows nothing, regardless of width

Change History (2)

in reply to:  description comment:1 by StacyMader, 12 years ago

Replying to StacyMader:

ASAP v4.0.0 (2011-10-05) on MacOSX 10.6

Using 'rmedian' to smooth a spectrum doesn't appear to do anything. All other kernel types appear okay though...

sc=scantable('2011-09-02_2210-P798_p301.34-8.21.rpf',average=False) av=sc.average_time(align=True) iav=av.average_pol() smooth=iav.smooth(kernel='rmedian',width=50,insitu=False) plotter.plot(smooth) # shows nothing, regardless of width

I have placed the RPFITS file at http://www.parkes.atnf.csiro.au/people/mad134/asap/2011-09-02_2210-P798_p301.34-8.21.rpf (32MB)

comment:2 by Malte Marquarding, 12 years ago

Cc: Kana Sugimoto added
Resolution: fixed
Status: newclosed

Fixed in trunk and will be released in asap-4.1.0

Note: See TracTickets for help on using tickets.