### upsample

This upsamples seismograms by the given factor or to the given sample rate. Any needed low pass filtering can be done after applying this or using the antiAliasFilter element to avoid aliasing. The antiAliasFilter is the same as the oregonDSPFilter ingredient, with the passband and highFreqCorner determined automatically. If the seismogram sample rate is not an integer multiple of the desired max sample rate, then the resulting sample rate will be greater than or equal to the desired. For example if the seismogram is 30 samples per second and the desired rate is 100 sps, then the decimation factor will be 4 and the resulting rate will be 120 sps.

### Example

    <upsample>
        <minSamplesPerSec>10</minSamplesPerSec>
    </upsample>

### This consists of

<upsample>

interleave
choice
<minSamplesPerSec>float</minSamplesPerSec>
<byFactor>Token</byFactor>
<antiAliasFilter> optional
interleave
optional choice
<butterworth/>
<chebyshevI/>
<chebyshevII/>
<numPoles>integer</numPoles> optional
<filterType> optional
choice
NONCAUSAL
CAUSAL
TWOPASS
</filterType>
<epsilon>float</epsilon> optional
</antiAliasFilter>
</upsample>

### Places this can be found