1.53. doHrsSmooth

Full Name: herschel.hifi.pipeline.hrs.DoHrsSmoothTask
Alias: doHrsSmooth
Type: Java Task - Java Task
Import: from herschel.hifi.pipeline.hrs import DoHrsSmoothTask
Category

HIFI/Pipeline/HRS Pipeline

Description

Step12: Task which applies a Hanning smoothing on the spectra, which is equivalent to a Hanning

windowing on correlation functions. An additional parameter is provided to define the type of smoothing to apply:

  • "hanning": 1/4 (x-1) + 1/2 (x) + 1/4 (x+1)

  • "none": keep HifiTimelineProduct without any change

Example

Example 1: In HIPE
from herschel.hifi.pipeline.hrs import *
htp = HifiTimelineProduct(df, hk)
doHrsSubbands(htp=htp)
doHrsOffsetPow(htp=htp)
doHrsNorm(htp=htp)
doHrsQDCFull(htp=htp, cal=calHrsQDCFull)
doHrsPowCorr(htp=htp, cal=calHrsPowCorr)
doHrsWindow(htp=htp, window="hanning")
doHrsSymm(htp=htp, zeros="multiple")
doHrsFFT(htp=htp, algo="DFT")
doHrsSmooth(htp=htp, smooth="none")

API details

Properties

HifiTimelineProduct htp [INOUT, MANDATORY, default=No default value]

The HifiTimelineProduct which contains the HRS spectra.

String smooth [INPUT, OPTIONAL, default="none"]

A parameter to select the type of smoothing: "hanning" or "none".

See also

History

  • 2007-06-21 - OCJ: : Creation
  • 2010-11-04 - OCJ: Old examples from Jide removed