| mkfunc | stsdas.sobsolete | mkfunc |
mkfunc -- Make a file containing functional form data and proper FITS coordinates.
mkfunc output function npts shift
This task lets the user specify a function name (the same functions as used in the testfunc task), a number of data points, and the origin offset from the first pixel. From this a file is built that contains data from the function.
Value Function
===== ========
bessel Bessel function ('J0')
box Bracewell's box function
comb Dirac comb, Bracewell shah
constant Constant
cosine cosine
delta Delta function
gaussian Gaussian
heaviside Heaviside unit step
line Unit-slope line
pe Even impulse pair
po Odd impulse pair
rectangle Bracewell's box function
shah Dirac comb, Bracewell shah
signum sign (x)
sinc sin (pi x) / (pi x)
sine sine
triangle Bracewell's wedge function
y Unit-slope line
The bold and inquisitive user may also adjust the "characteristic width" of the function, which may have different meanings for different functions. For things like the boxcar or Gaussian functions, the notion of width is pretty intuitive; for things like the impulse pairs function, it represents the separation of the pulses. "Characteristic width" is meaningless for things like a delta function or a step function.
1. Use mkfunc to create a file called cos.hhh. Use the cosine function with 100 data points.
fo> mkfunc cos.hhh cosine 100 0
Type "help fourier option=sys" for a higher-level description of the fourier package.