Mathematical functions | User interaction | Environment settings | Date and time |
String manipulation | File access | Matrix creation | FITS file handling |
Data reduction |
sin | cos | tan | asin | acos | atan |
sinh | cosh | tanh | asinh | acosh | atanh |
pi | deg2rad | rad2deg |
total | min | max | avg | median | |
stddev | meddev | variance |
DPUSER is able to handle complex numbers within most functions. Some functions are provided which only make sense when used with complex numbers. When used with real numbers, no error is generated, but a value of zero is returned.
complex | polar | conj | |||
abs | arg | imag | real |
invert | transpose |
polyfit | polyfitxy | polyfitxyerr | interpol | ||
gaussfit | gauss2dfit | multigauss2dfit | gauss2dsimplefit | ||
sersicfit | sersic2dfit | sersic2dsimplefit |
float | int | round | frac | abs | sign |
exp | ln | log | sqrt | gammp | ten |
bessel | erf | random | randomg | poly | cirrange |
free | mem | printf | read | userDialog | |
exec | run | break | sleep | compile |
setenv | getenv | isvariable | echo | debug |
jd | jdfraction | jdnumber | now | dayofweek | calday |
lmst |
char | string | stringarray | lower | upper | replace |
sprintf | sort | strlen | nelements | strpos | right |
strtrim | simplifywhitespace | strsplit | |||
import | export |
cd | dir | pwd | fileexists | filesize | findfile |
import | export | writebmp |
All these functions create empty matrices, i.e. all values are initialized with zero.
fits | |||||
bytearray | shortarray | longarray | floatarray | doublearray | complexarray |
gauss | sersic2d | circle | ellipse | delta | rect |
cosbell | airy | chinhat | quickgauss |
readfits | writefits | header | import | export | swapbytes |
naxis | naxis1 | naxis2 | naxis3 | nelements | |
getfitskey | setfitskey | setwcs |
cubeavg | cubemaximum | cubemedian | cubeminimum | cubemerge |
boxcar | cblank | center | clip | collapse | enlarge |
flip | magnify | norm | rebin | resize | rotate |
setbitpix | shift | shrink | smooth | mosaic | reform |
fft | correl | reass | convolve |
xmax | ymax | maxima | xcen | ycen | centroids |
centroid | fwhm | markpos | saomark | limits |
sao | imexa | saomarklabel | saomarkpoint | saoclear | |
markpos | saomark |
find | photometry | transcoords | transmatrix | transform | transpoly |
ssa | ssaselect | ssastat | sssa | ||
swsa | wsa | wsastat | |||
dpixapply | dpixcreate |
lucy | wien | clean | maxentropy | psf |
This set of functions was copied from the 3D data reduction software (which uses Gipsy). They work only on original 3D (an imaging spectrograph build by MPE) data, which is of size 256x256, 256x600, or 16x16x600. These functions are extremely poorly documented within DPUSER. Use of those is depreciated.
3dcal | 3dcubin | 3dexpand | 3dmegacal | ||
3dmerge | 3dnorm | 3dspec | spec3d |