jsoc_rebin reduce/increase image size by integer multiples
[General Utilities]

Reduce (increase) the dimension of the input data by an integer factor. More...

Collaboration diagram for jsoc_rebin reduce/increase image size by integer multiples:
Synopsis:
   jsoc_rebin  in=input_data out=output_data  scale=<scale> method={boxcar,gaussian}
   where scale is <1 for size reduction and >1 for size increase.  The output image scale
   will be the nearest integer to "scale" or its reciprocal for scale < 1.0. 
This is a general purpose module that takes a series of input data and modifies its spatial size by a factor specified by "scale". The method for avaraging (interpolation) can be specified through the input "method". The current version handles a simple boxcar average and Gaussian filtered sampling. If 'scale' < 1 then the input is reduced in size.

The image is not registered to solar center by this module. The image will be rotated by a flip-flip procedure is the CROTA2 parameter is near +-180.0 unless the -u flag (unchanged) is present. If the -c flag is present the image will be cropped at the solar limb before scaling. If the -h flag or requestid parameter is present the output segments will have full headers.

If gaussian smoothing is specified (via method) then the FWHM and nvector parameters should also be provided. These define the Gaussian smoothing vector. nvector is the full width of the smoothing function. nvector will be adjusted such that nvector is odd if 1/scale rounds to an odd integer.

Flags:
-c Crop before scaling. Use rsun_obs/cdelt1 for limb radius. -h Write full FITS headers. -u Leave unchanged, do NOT rotate by 180 degrees if CROTA2 is near 180. default is to do flip-flip method so image is norths up and no pixel values are changed.
GEN_FLAGS:
Ubiquitous flags present in every module. DRMS common main program
Parameters:
in The input data series.
out The output series.
Exit_Status:
Example:
Takes a series of 1024 X 1024 MDI full disk magnetogram and produces images with the resolution of HMI, 4096 X 4096.
   jsoc_rebin in='mdi.fd_M_96m_lev18[2003.10.20/1d]' out='su_phil.mdi_M_4k' scale=4 method='boxcar'

Example:
Reduces the resolution of HMI images 4096 X 4096 to that of MDI, 1024 X 1024. Here the input is the HMI images and the output is the lower resolution HMI images. Crop and rotate before rescaling.
   jsoc_rebin  -c in=hmi.M_45s[2011.10.20/1d]' out='su_phil.hmi_M_1k_45s' scale=0.25 method='boxcar'
Bug:
None known so far.
Synopsis:
   jsoc_rebin  in=input_data out=output_data  scale=<scale> method={boxcar,gaussian}
   where scale is <1 for size reduction and >1 for size increase.  The output image scale
   will be the nearest integer to "scale" or its reciprocal for scale < 1.0. 
This is a general purpose module that takes a series of input data and modifies its spatial size by a factor specified by "scale". The method for avaraging (interpolation) can be specified through the input "method". The current version handles a simple boxcar average and Gaussian filtered sampling. If 'scale' < 1 then the input is reduced in size.

The image is not registered to solar center by this module. The image will be rotated by a flip-flip procedure is the CROTA2 parameter is near +-180.0 unless the -u flag (unchanged) is present. If the -c flag is present the image will be cropped at the solar limb before scaling. If the -h flag or requestid parameter is present the output segments will have full headers.

If gaussian smoothing is specified (via method) then the FWHM and nvector parameters should also be provided. These define the Gaussian smoothing vector. nvector is the full width of the smoothing function. nvector will be adjusted such that nvector is odd if 1/scale rounds to an odd integer.

Flags:
-c Crop before scaling. Use rsun_obs/cdelt1 for limb radius. -h Write full FITS headers. -u Leave unchanged, do NOT rotate by 180 degrees if CROTA2 is near 180. default is to do flip-flip method so image is norths up and no pixel values are changed.
GEN_FLAGS:
Ubiquitous flags present in every module. DRMS common main program
Parameters:
in The input data series.
out The output series.
Exit_Status:
Example:
Takes a series of 1024 X 1024 MDI full disk magnetogram and produces images with the resolution of HMI, 4096 X 4096.
   jsoc_rebin in='mdi.fd_M_96m_lev18[2003.10.20/1d]' out='su_phil.mdi_M_4k' scale=4 method='boxcar'

Example:
Reduces the resolution of HMI images 4096 X 4096 to that of MDI, 1024 X 1024. Here the input is the HMI images and the output is the lower resolution HMI images. Crop and rotate before rescaling.
   jsoc_rebin  -c in=hmi.M_45s[2011.10.20/1d]' out='su_phil.hmi_M_1k_45s' scale=0.25 method='boxcar'
Bug:
None known so far.
Synopsis:
   jsoc_rebin  in=input_data out=output_data  scale=<scale> method={boxcar,gaussian}
   where scale is <1 for size reduction and >1 for size increase.  The output image scale
   will be the nearest integer to "scale" or its reciprocal for scale < 1.0. 
This is a general purpose module that takes a series of input data and modifies its spatial size by a factor specified by "scale". The method for avaraging (interpolation) can be specified through the input "method". The current version handles a simple boxcar average and Gaussian filtered sampling. If 'scale' < 1 then the input is reduced in size.

The image is not registered to solar center by this module. The image will be rotated by a flip-flip procedure is the CROTA2 parameter is near +-180.0 unless the -u flag (unchanged) is present. If the -c flag is present the image will be cropped at the solar limb before scaling. If the -h flag or requestid parameter is present the output segments will have full headers.

If gaussian smoothing is specified (via method) then the FWHM and nvector parameters should also be provided. These define the Gaussian smoothing vector. nvector is the full width of the smoothing function. nvector will be adjusted such that nvector is odd if 1/scale rounds to an odd integer.

Flags:
-A Process all segments -c Crop before scaling. Use rsun_obs/cdelt1 for limb radius. -h Write full FITS headers. -u Leave unchanged, do NOT rotate by 180 degrees if CROTA2 is near 180. default is to do flip-flip method so image is norths up and no pixel values are changed.
GEN_FLAGS:
Ubiquitous flags present in every module. DRMS common main program
Parameters:
in The input data series.
out The output series.
Exit_Status:
Example:
Takes a series of 1024 X 1024 MDI full disk magnetogram and produces images with the resolution of HMI, 4096 X 4096.
   jsoc_rebin in='mdi.fd_M_96m_lev18[2003.10.20/1d]' out='su_phil.mdi_M_4k' scale=4 method='boxcar'

Example:
Reduces the resolution of HMI images 4096 X 4096 to that of MDI, 1024 X 1024. Here the input is the HMI images and the output is the lower resolution HMI images. Crop and rotate before rescaling.
   jsoc_rebin  -c in=hmi.M_45s[2011.10.20/1d]' out='su_phil.hmi_M_1k_45s' scale=0.25 method='boxcar'
Bug:
None known so far.

Generated on Mon Mar 26 07:00:54 2018 for JSOC_Documentation by  doxygen 1.5.7.1