Kernel Smoothing Parameters
The sincube/sinmap and pipecube/pipemap commands use the same
underlying kernel interpolation algorithm but specify its smoothing parameters
in different ways. This page explains both conventions and shows how to
translate between them.
sincube / sinmap: explicit parameters
The single-target commands accept three kernel parameters directly in the config file:
Parameter |
Description |
Default |
|---|---|---|
|
Smoothing kernel size \(\sigma\) in arcsec. Controls the spatial resolution of the output cube: a larger value smooths over more fibers and produces coarser effective resolution. |
|
|
Output spaxel size in arcsec. Set to |
|
|
Kernel shape factor \(\alpha\). |
|
Example sincube config section:
sincube:
- sigm_s: 35.2
pix_s: 0.0 # auto → 0.75 × 35.2 = 26.4 arcsec
alph_s: 2.0
pipecube / pipemap: type letter
The pipeline commands replace the three parameters above with a single
type letter (a through j). The letter is passed to
tools.kernel_pipe() which computes sigm_s and pix_s from a fixed
formula based on the LVM fiber size:
where \(v\) is a scale factor that doubles with each step from j to
a. The shape factor \(\alpha\) is always 2.0 (Gaussian) in
pipeline mode and cannot be changed through the config.
Example pipecube config section:
pipecube:
- type: h
Type-to-parameter mapping
The table below gives the sigm_s and pix_s values produced by each
type letter, together with the equivalent sincube config block.
|
scale \(v\) |
|
|
|
Equivalent |
|---|---|---|---|---|---|
|
16 |
4505.6 |
3379.2 |
2.0 |
|
|
8 |
2252.8 |
1689.6 |
2.0 |
|
|
4 |
1126.4 |
844.8 |
2.0 |
|
|
2 |
563.2 |
422.4 |
2.0 |
|
|
1 |
281.6 |
211.2 |
2.0 |
|
|
1/2 |
140.8 |
105.6 |
2.0 |
|
|
1/4 |
70.4 |
52.8 |
2.0 |
|
|
1/8 |
35.2 |
26.4 |
2.0 |
|
|
1/16 |
17.6 |
13.2 |
2.0 |
|
|
1/32 |
8.8 |
6.6 |
2.0 |
|
The scale factor \(v\) doubles for each step up the alphabet, so the
resolution coarsens by a factor of two per step. The sigm_s base value of
281.6 arcsec (type e, \(v = 1\)) equals 8.8 × 32, where 8.8 arcsec
is the LVM fiber radius.
Note
When pix_s: 0 is used in sincube/sinmap, the auto-computed
spaxel size is 0.75 × sigm_s – the same ratio used by kernel_pipe().
Setting pix_s: 0 in sincube is therefore equivalent to the pipeline
behaviour.
Differences beyond the kernel
Even with identical sigm_s, pix_s, and alph_s values, the two
modes differ in a few other respects:
Feature |
|
|
|---|---|---|
|
Yes |
No (hardcoded to 2.0) |
Targets per run |
One ( |
Many ( |
RSS extraction |
Not available |
Optional ( |
Spectral chunking |
Not available |
Automatic for > 100 exposures |
Cube co-addition |
Not available |
Optional ( |
Output path |
|
|
Small-exposure guard in pipecube
When fewer than three exposures are available for a target, pipecube
automatically promotes types i and j up to type h:
< 3 exposures + type i or j → forced to type h
(sigm_s = 35.2 arcsec, pix_s = 26.4 arcsec)
This prevents the finest-resolution kernels from being used when there is
insufficient fiber coverage to support them. There is no equivalent guard in
sincube; if you set sigm_s to 17.6 or 8.8 arcsec with very few
exposures the kernel will be applied as specified.