| 1 |
! @(#)surfphot.ctx 19.1 (ES0-DMD) 02/25/03 13:30:27 |
| 2 |
!=========================================================================== |
| 3 |
! Copyright (C) 1995 European Southern Observatory (ESO) |
| 4 |
! |
| 5 |
! This program is free software; you can redistribute it and/or |
| 6 |
! modify it under the terms of the GNU General Public License as |
| 7 |
! published by the Free Software Foundation; either version 2 of |
| 8 |
! the License, or (at your option) any later version. |
| 9 |
! |
| 10 |
! This program is distributed in the hope that it will be useful, |
| 11 |
! but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 |
! GNU General Public License for more details. |
| 14 |
! |
| 15 |
! You should have received a copy of the GNU General Public |
| 16 |
! License along with this program; if not, write to the Free |
| 17 |
! Software Foundation, Inc., 675 Massachusetss Ave, Cambridge, |
| 18 |
! MA 02139, USA. |
| 19 |
! |
| 20 |
! Corresponding concerning ESO-MIDAS should be addressed as follows: |
| 21 |
! Internet e-mail: [email protected] |
| 22 |
! Postal address: European Southern Observatory |
| 23 |
! Data Management Division |
| 24 |
! Karl-Schwarzschild-Strasse 2 |
| 25 |
! D 85748 Garching bei Muenchen |
| 26 |
! GERMANY |
| 27 |
!=========================================================================== |
| 28 |
! |
| 29 |
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 30 |
!.PURPOSE: Context for surface photometry commands |
| 31 |
!.IDENT: Context file surfphot.ctx |
| 32 |
!.History: 840126 EAV Created |
| 33 |
! 880105 KB ??? |
| 34 |
! 890705 RHW inclusion of Lauberts' software |
| 35 |
! 901212, 920505 KB take care of '\' in WRITE/OUT |
| 36 |
! 910306 RHW combining photom and morpholo contexts |
| 37 |
! 940712 KB add entry CLEAR |
| 38 |
!--------------------------------------------------------------------------- |
| 39 |
! |
| 40 |
! *** indicate origin |
| 41 |
!HELP = contrib |
| 42 |
! |
| 43 |
SET/MIDAS USER=EXPERT |
| 44 |
! |
| 45 |
DEFINE/LOCAL LERR/I/1/1 {ERROR(2)} |
| 46 |
ERROR(2) = LERR |
| 47 |
WRITE/KEYW MORPH/C/1/61 " " |
| 48 |
WRITE/KEYW MORPH/C/61/1 "Z" |
| 49 |
! |
| 50 |
! Create the SURFPHOT commands |
| 51 |
! |
| 52 |
! display version of application package |
| 53 |
WRITE/OUT ******** SURFPHOT application package version 1.0 enabled ********** |
| 54 |
WRITE/OUT commands available: |
| 55 |
WRITE/OUT |
| 56 |
CREA/COMM COMPUTE/GRID @c grid |
| 57 |
WRITE/OUT "COMPUTE/GRID create frame with distorted rectangular evenly spaced grid" |
| 58 |
CREATE/COMM COMPUTE/FCOEFF @c sgpfc |
| 59 |
WRITE/OUT "COMPUTE/FCOEFF compute fourier coefficients of azimuthal profiles" |
| 60 |
WRITE/OUT " of a galaxy" |
| 61 |
CREA/COMM FILTER/FILL @c filtfl |
| 62 |
WRITE/OUT "FILTER/FILL fill up low-flux pixels with neightbouring values " |
| 63 |
CREA/COMM FIT/BACKGROUND @c bgfit |
| 64 |
WRITE/OUT "FIT/BACKGROUND compute a 2-dim. polyn. background approximation" |
| 65 |
CREATE/COMM FIT/ELL1 @c fitell1 |
| 66 |
WRITE/OUT "FIT/ELL1 fits an ellipse with respect to predefined center" |
| 67 |
CREATE/COMM FIT/ELL2 @c fitell2 |
| 68 |
WRITE/OUT "FIT/ELL2 fits an ellips with respect to predefined center" |
| 69 |
CREATE/COMM FIT/ELL3 @c fitell3 |
| 70 |
WRITE/OUT "FIT/ELL3 fit an ellipse using the Bender & Moellenhof method" |
| 71 |
CREATE/COMM FIT/POSINC @c sgfpi |
| 72 |
WRITE/OUT "FIT/POSINC fit position angle and inclination to 2nd and 4th harmonic" |
| 73 |
CREA/COMM NORMALIZE/IMAGE @c normalize |
| 74 |
WRITE/OUT "NORMALIZE/IMAGE normalize and truncate a frame" |
| 75 |
CREATE/COMM FIND/POSINC @c sgepi |
| 76 |
WRITE/OUT "FIND/POSINC find position angle and inclination of a galaxy" |
| 77 |
CREA/COMM REBIN/DECONV @c rebdec |
| 78 |
WRITE/OUT "REBIN/DECONV rebin linearly and deconvolve point spread function" |
| 79 |
CREA/COMM RECTIFY/IMAGE @c rectima |
| 80 |
WRITE/OUT "RECTIFY/IMAGE rectify a geometrically distorted frame" |
| 81 |
CREA/COMM SUBTRACT/SKY @c subsky |
| 82 |
WRITE/OUT "SUBTRACT/SKY compute most probable sky value and subtract " |
| 83 |
!CREATE/COMM COMPUTE/CC @c comcc |
| 84 |
!WRITE/OUT "COMPUTE/CC compute characteristic curve values" |
| 85 |
!CREATE/COMM COMPUTE/SKY @c comsky |
| 86 |
!WRITE/OUT "COMPUTE/SKY computes sky background" |
| 87 |
!CREATE/COMM CONVERT/DTOM @c dtom |
| 88 |
!WRITE/OUT "CONVERT/DTOM determines (fits) characteristic curve" |
| 89 |
!CREATE/COMM CONVERT/DTOI @c dtoi |
| 90 |
!WRITE/OUT "CONVERT/DTOI transforms image from density to intensity" |
| 91 |
CREATE/COMM INTEGRATE/ELLIPS @c intell |
| 92 |
WRITE/OUT "INTEGRATE/ELLIPS integrates pixel intensities within ellipse" |
| 93 |
CREATE/COMM FIND/PAIR @c pair |
| 94 |
WRITE/OUT "FIND/PAIR matches two point sets with coords in table files" |
| 95 |
! |
| 96 |
! |
| 97 |
entry clear |
| 98 |
! |
| 99 |
delete/keyw morph |