Ignore:
Timestamp:
07/21/06 14:47:49 (18 years ago)
Author:
navarro
Message:

english and nicer header (2a)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ToBeReviewed/CALCULS/depth2mask.pro

    r134 r142  
    33;------------------------------------------------------------ 
    44;+ 
    5 ; NAME: depth2mask 
    65; 
    7 ; PURPOSE: permet de passer d''un tableau 2d de profondeur seuil au 
    8 ; tableau 3d de mask avec des 1 ds les niveaux au dessus de la 
    9 ; profondeur seuil et des 0 en dessous. 
     6; @file_comments  
     7; Allows to pass from a 2d depth sill array to a 3d array of mask  
     8; with one of levels above the sill depth and 0s below. 
    109; 
    11 ; CATEGORY: SANS BOUCLE 
     10; @categories 
     11; Without loop 
    1212; 
    13 ; CALLING SEQUENCE: res=depth2mask(depht2d) 
     13; @param TAB  
     14; 2d sill depth array (or a structure respecting litchamp critrions) 
    1415; 
    15 ; INPUTS: depht2d tableau 2d de profondeur seuil (ou une structure repondant 
    16 ; aux criteres de litchamp) 
    17 ; 
    18 ; KEYWORD PARAMETERS: 
    19 ; 
    20 ;      /UPPER: (active par defaut) on selectionne le niveau 
    21 ;      directement au dessus de la profondeur 
    22 ; 
    23 ;      /LOWER: on selectionne le niveau directement au dessous de la 
    24 ;      profondeur  
    25 ; 
    26 ;      /CLOSER: on selectionne le niveau le plus proche de la 
    27 ;      profondeur  
    28 ; 
    29 ; OUTPUTS: un tableau 3d contenant le mask associe au tableau 2d de 
     16; @keyword _EXTRA 
     17; used to pass your keywords 
     18;  
     19; @returns 
     20; It is a 3d array containing the mas associated to the 2d sill depth array 
    3021; profondeurs seuil 
    3122; 
    32 ; COMMON BLOCKS: 
    33 ;       common.pro 
     23; @uses 
     24; common.pro 
    3425; 
    35 ; SIDE EFFECTS: 
     26; @history 
     27; Sebastien Masson (smasson@lodyc.jussieu.fr) 
     28;                       17/6/1999 
    3629; 
    37 ; RESTRICTIONS: 
     30; @version 
     31; $Id$ 
    3832; 
    39 ; EXAMPLE: 
    40 ; 
    41 ; MODIFICATION HISTORY: Sebastien Masson (smasson@lodyc.jussieu.fr) 
    42 ;                       17/6/1999 
    4333;- 
    4434;------------------------------------------------------------ 
     
    5040  compile_opt idl2, strictarrsubs 
    5141; 
    52    tempsun = systime(1)         ; pour key_performance 
     42   tempsun = systime(1)         ; For key_performance 
    5343@common 
    5444;------------------------------------------------------------ 
    55 ; on transforme le tableau 2d de profondeur en tableau 2d de niveaux 
    56 ; correspondant aux profondeurs 
     45; We transform the 2d deth value in a 2d array of levels corresponding to depthes 
    5746;------------------------------------------------------------ 
    5847   niveaux = depth2level(tab, _extra = ex) 
    5948   IF niveaux[0] EQ -1 THEN return,  -1 
    6049;------------------------------------------------------------ 
    61 ; on transforme le tableau 2d de niveaux en tableau 3d de mask 
     50; We transform the 2d array in a 3d array of mask 
    6251;------------------------------------------------------------ 
    6352   mask = level2mask(niveaux) 
Note: See TracChangeset for help on using the changeset viewer.