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/LECTURE/inverse_binary.pro

    r134 r142  
    11;+ 
    2 ; NAME: inverse_binary 
    32; 
    4 ; PURPOSE: inverse function of the binary.pro function => given a 
     3; @file_comments 
     4; Inverse function of the binary.pro function => given a 
    55; input array of 0/1, return its corresponding byte/integer/long 
    66; representation 
    77; 
    8 ; CATEGORY: 
     8; @categories 
    99; 
    10 ; CALLING SEQUENCE: res = inverse_binary(binnum) 
    11 ; 
    12 ; INPUTS:  
    13 ;    binnum must be a binary type array containing only 0 and 1. 
    14 ;    According to binary.pro outputs, binnum array must have the 
    15 ;    following dimensions values: (8, t, d1, d2...) 
    16 ;    t gives the output type: t = 1 -> byte 
     10; @param BINNUMB {in}{required} 
     11; Must be a binary type array containing only 0 and 1. 
     12; According to binary.pro outputs, binnum array must have the 
     13; following dimensions values: (8, t, d1, d2...) 
     14; t gives the output type: t = 1 -> byte 
    1715;                             t = 2 -> integer 
    1816;                             t = 4 -> long 
    1917;     
    20    (d1, d2...) are the output dimensions 
     18(d1, d2...) are the output dimensions 
    2119; 
    22 ; KEYWORD PARAMETERS: no 
    2320; 
    24 ; OUTPUTS: a byte/integer/long array with (d1, d2...) dimensions 
     21; @returns  
     22; A byte/integer/long array with (d1, d2...) dimensions 
    2523; 
    26 ; COMMON BLOCKS: no 
     24; @restrictions 
     25; The binary number can represent only byte/integer/long 
    2726; 
    28 ; RESTRICTIONS:the binary number can represent only byte/integer/long 
    29 ; 
    30 ; EXAMPLE: 
     27; @examples 
    3128; 
    3229;     IDL> a=indgen(5) 
     
    5451;            0       1       2       3       4 
    5552; 
    56 ; MODIFICATION HISTORY: 
     53; @history 
    5754;      Sebastien Masson (smasson@jamstec.go.jp) 
    5855;      July 2004 
     56; 
     57; @version 
     58; $Id$ 
     59; 
    5960;- 
    6061;------------------------------------------------------ 
Note: See TracChangeset for help on using the changeset viewer.