Ignore:
Timestamp:
06/12/06 10:29:56 (18 years ago)
Author:
pinsard
Message:

start to modify headers of Interpolation *.pro files for better idldoc output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Documentation/idldoc_html_output/Interpolation/spl_keep_mean.html

    r89 r101  
    8787      </div> 
    8888 
    89       <div id="file_comments"></div> 
    90  
    91        
    92  
    93        
    94  
    95        
    96  
    97        
    98  
    99       <div id="routine_details"> 
    100          
    101  
    102         <div class="routine_details" id="_spl_keep_mean"> 
    103  
    104           <h2><a class="top" href="#container">top</a>spl_keep_mean </h2> 
    105          
    106           <p class="header"> 
    107             <span class="result">result = </span>spl_keep_mean(<span class="result"><a href="#_spl_keep_mean_param_x">x</a>, <a href="#_spl_keep_mean_param_yin">yin</a>, <a href="#_spl_keep_mean_param_x2">x2</a></span>, <a href="#_spl_keep_mean_keyword_YP0">YP0</a>=<span class="result">YP0</span>, <a href="#_spl_keep_mean_keyword_YPN_1">YPN_1</a>=<span class="result">YPN_1</span>, <a href="#_spl_keep_mean_keyword_GE0">GE0</a>=<span class="result">GE0</span>)</p> 
    108          
    109           <div class="comments"> 
    110  NAME:spl_keep_mean 
    111  
    112  PURPOSE: 
     89      <div id="file_comments"> 
    11390 
    11491 Given the arrays X and Y, which tabulate a function (with the X[i] 
     
    12097 from monthly mean and keep the monthly mean of the computed daily 
    12198 data equa to the original values) 
    122  
    123  CATEGORY: 
    124  
    125  CALLING SEQUENCE: y2 =  spl_keep_mean(x, y, x2) 
    126  
    127  INPUTS: 
    128  
    129     x: An n-element (at least 2) input vector that specifies the 
     99</div> 
     100 
     101       
     102 
     103       
     104 
     105       
     106 
     107       
     108 
     109      <div id="routine_details"> 
     110         
     111 
     112        <div class="routine_details" id="_spl_keep_mean"> 
     113 
     114          <h2><a class="top" href="#container">top</a>spl_keep_mean </h2> 
     115         
     116          <p class="header"> 
     117            <span class="result">result = </span>spl_keep_mean(<span class="result"><a href="#_spl_keep_mean_param_x">x</a>, <a href="#_spl_keep_mean_param_yin">yin</a>, <a href="#_spl_keep_mean_param_x2">x2</a></span>, <a href="#_spl_keep_mean_keyword_YP0">YP0</a>=<span class="result">YP0</span>, <a href="#_spl_keep_mean_keyword_YPN_1">YPN_1</a>=<span class="result">YPN_1</span>, <a href="#_spl_keep_mean_keyword_GE0">GE0</a>=<span class="result">GE0</span>)</p> 
     118         
     119          <div class="comments"></div> 
     120 
     121          <h3>Return value</h3><div class="value">  
     122 
     123    y2: the meean value between two consecutive values of x2. This 
     124    array has one element less than y2. y2 has double precision. 
     125</div> 
     126 
     127           
     128            <h3>Parameters</h3> 
     129         
     130             
     131            <h4 id="_spl_keep_mean_param_x">x&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     132              <span class="attr">in</span> 
     133               
     134               
     135              <span class="attr">required</span> 
     136               
     137               
     138               
     139               
     140            </h4> 
     141         
     142          <div class="comments">  An n-element (at least 2) input vector that specifies the 
    130143    tabulate points in a strict ascending order. 
    131  
    132     y: an array with one element less than x. y[i] represents the 
     144</div> 
     145             
     146            <h4 id="_spl_keep_mean_param_yin">yin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     147              <span class="attr">in</span> 
     148               
     149               
     150              <span class="attr">required</span> 
     151               
     152               
     153               
     154               
     155            </h4> 
     156         
     157          <div class="comments">  an array with one element less than x. y[i] represents the 
    133158    mean value between x[i] and x[i+1]. if /GE0 is activated, y must 
    134159    have positive values. 
    135  
    136     x2: The input values for which the interpolated values are 
     160</div> 
     161             
     162            <h4 id="_spl_keep_mean_param_x2">x2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     163              <span class="attr">in</span> 
     164               
     165               
     166              <span class="attr">required</span> 
     167               
     168               
     169               
     170               
     171            </h4> 
     172         
     173          <div class="comments">  The input values for which the interpolated values are 
    137174    desired. Its values must be strictly monotonically increasing.  
    138175 
    139  KEYWORD PARAMETERS: 
    140  
    141     /GE0: to force that y2 is always GE than 0. In that case, y must 
    142     also be GE than 0. 
    143  
    144     YP0: The first derivative of the interpolating function at the 
     176</div> 
     177             
     178 
     179           
     180 
     181           
     182 
     183            <h3>Keywords</h3> 
     184             
     185            <h4 id="_spl_keep_mean_keyword_YP0">YP0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     186               
     187               
     188               
     189               
     190               
     191               
     192               
     193               
     194            </h4> 
     195         
     196            <div class="comments"> The first derivative of the interpolating function at the 
    145197    point X0. If YP0 is omitted, the second derivative at the 
    146198    boundary is set to zero, resulting in a "natural spline." 
    147  
    148     YPN_1: The first derivative of the interpolating function at the 
     199</div> 
     200             
     201            <h4 id="_spl_keep_mean_keyword_YPN_1">YPN_1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     202               
     203               
     204               
     205               
     206               
     207               
     208               
     209               
     210            </h4> 
     211         
     212            <div class="comments"> The first derivative of the interpolating function at the 
    149213    point Xn-1. If YPN_1 is omitted, the second derivative at the 
    150214    boundary is set to zero, resulting in a "natural spline."  
    151  
    152  OUTPUTS:  
    153  
    154     y2: the meean value between two consecutive values of x2. This 
    155     array has one element less than y2. y2 has double precision. 
    156  
    157  COMMON BLOCKS: none 
    158  
    159  SIDE EFFECTS: ? 
    160  
    161  RESTRICTIONS: 
    162    It might be possible that y2 has very small negative values 
    163    (amplitude smaller than 1.e-6)...  
    164  
    165  
    166  EXAMPLE: 
     215</div> 
     216             
     217            <h4 id="_spl_keep_mean_keyword_GE0">GE0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     218               
     219               
     220               
     221               
     222               
     223               
     224               
     225               
     226            </h4> 
     227         
     228            <div class="comments"> to force that y2 is always GE than 0. In that case, y must 
     229    also be GE than 0. 
     230</div> 
     231             
     232           
     233 
     234          <h3>Examples</h3><div class="value">  y2 =  spl_keep_mean(x, y, x2) 
     235 
     236  
    167237 
    168238    12 monthly values of precipitations into daily values: 
     
    185255    print, total(y*(x[1:n1-1]-x[0:n1-2])) 
    186256    print, total(y2*(x2[1:n2-1]-x2[0:n2-2])) 
    187  
    188  MODIFICATION HISTORY:</div> 
    189  
    190            
    191  
    192            
    193             <h3>Parameters</h3> 
    194          
    195              
    196             <h4 id="_spl_keep_mean_param_x">x&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    197                
    198                
    199                
    200                
    201                
    202                
    203                
    204                
    205             </h4> 
    206          
    207           <div class="comments"></div> 
    208              
    209             <h4 id="_spl_keep_mean_param_yin">yin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    210                
    211                
    212                
    213                
    214                
    215                
    216                
    217                
    218             </h4> 
    219          
    220           <div class="comments"></div> 
    221              
    222             <h4 id="_spl_keep_mean_param_x2">x2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    223                
    224                
    225                
    226                
    227                
    228                
    229                
    230                
    231             </h4> 
    232          
    233           <div class="comments"></div> 
    234              
    235  
    236            
    237  
    238            
    239  
    240             <h3>Keywords</h3> 
    241              
    242             <h4 id="_spl_keep_mean_keyword_YP0">YP0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    243                
    244                
    245                
    246                
    247                
    248                
    249                
    250                
    251             </h4> 
    252          
    253             <div class="comments"></div> 
    254              
    255             <h4 id="_spl_keep_mean_keyword_YPN_1">YPN_1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    256                
    257                
    258                
    259                
    260                
    261                
    262                
    263                
    264             </h4> 
    265          
    266             <div class="comments"></div> 
    267              
    268             <h4 id="_spl_keep_mean_keyword_GE0">GE0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    269                
    270                
    271                
    272                
    273                
    274                
    275                
    276                
    277             </h4> 
    278          
    279             <div class="comments"></div> 
    280              
    281            
    282  
    283            
    284            
    285            
    286            
    287            
    288            
    289            
    290            
    291            
    292            
    293            
    294            
     257</div> 
     258          <h3>Version history</h3> 
     259           
     260           
     261          <h4>History</h4><div class="value"> 
     262  Sebastien Masson (smasson@lodyc.jussieu.fr): May 2005</div> 
     263           
     264           
     265          <h3>Known issues</h3> 
     266           
     267           
     268           
     269          <h4>Restrictions</h4><div class="value"> 
     270   It might be possible that y2 has very small negative values 
     271   (amplitude smaller than 1.e-6)...  
     272 
     273</div> 
    295274         
    296275           
Note: See TracChangeset for help on using the changeset viewer.