REBIN_SMOOTH_VDS(1)


        ny={ARG_INT=input dimension},
        nvx={ARG_INT},
        nvy={ARG_INT},
        scale={ARG_INT=1}
        xoffset={ARG_INT=0},
        yoffset={ARG_INT=0},
        wvx={ARG_FLOAT},
        wvy={ARG_FLOAT},
        smooth={ARG_STRING=BOXCAR},
        protocol={ARG_STRING=RDB.FITS}


DESCRIP-


TION

  rebin_smooth - rebins data to smaller size with smoothing

   in         input datacollection
   out        output datacollection
   nx, ny     new dimensions, default to original dimensions
   nvx, nvy   size of smoothing vectors, defaults to "scale" pixels
   scale=1    grid scale factor - number of old pixels per new bin
   xoffset=0  position of left edge of new grid on old grid
   yoffset=0  position of bottom edge of new grid on old grid
   wvx, wvy   smoothing weight parameter, fw at 1/e if gaussian
              so there should be several wvx in nvx.
   smooth     smoothing type, BOXCAR of GAUSSIAN
   protocol   output type, RDB.FITS or RDB.FITS_MERGE


scale


sets


the


basic


remap-


ping,


the


new


image


will


be


taken


with


the


remap


grid


adjusted


to


the


lower


left


of


the


ori-


gi-


the


desired


offset.



nvx


and


nvy


should


be


odd


if


gaus-


sian


smooth-


ing


is


chosen.



Exam-


ple



To


rebin


the


out-


put


of


v2helio


mag-


ne-


to-


grams


from


a


grid


of


1024x1024


to


a


grid


of


128x128


with


gaus-


sian


smooth-


ing


with


a


gaus-


sian


width


rebin_smooth_vds


with:



rebin_smooth_vds nx=128 ny=128 scale=8 \

  wvx=20 wvy=20 nvx=65 nvy=65          \
  smooth=GAUSSIAN in=$TMPA out=$TMPB


KEY-


WORDS



The


fol-


low-


ing


key-


words


are


updated


to


reflect


the


new


image


scale:


X0,


Y0,


CENTER_X,


CENTER_Y,


X_SCALE,


Y_SCALE,


XSCALE,


YSCALE,


and


R_SUN.


New


key-


words


added


are:


SCALE,


NVX,


NVY,


XOFFSET,


YOFFSET,


WVX,


WVY,


and


SMOOTH.


If


the


input


dataset


helio-


graphic


coor-


di-


nate


key-


words


(MAPMMAX


in


par-


tic-


u-


lar)


then


the


fol-


low-


ing


key-


words


are


updated


to


reflect


the


new


image


scale:


MAPRMAX,


LSHIFT,


MAPLGMAX,


MAPLG-


MIN,


MAP-


COLS,


MAP_L0,


MAP_CR,


MAPBMAX,


MAPB-


MIN,


SINBDELT,


MAPROWS,


and


MAPMMAX.



FILES


SEE


ALSO


v2helio(1),


rebin_vds(1)


DIAG-


NOS-