Changeset 118 for trunk/SRC/Documentation/idldoc_html_output/Interpolation
- Timestamp:
- 06/27/06 17:47:06 (18 years ago)
- Location:
- trunk/SRC/Documentation/idldoc_html_output/Interpolation
- Files:
-
- 23 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_html_output/Interpolation/angle.html
r111 r118 747 747 748 748 <h4 id="_fsnspp_param_plam">plam 749 750 751 752 753 754 755 756 757 </h4> 758 759 <div class="comments"></div> 749 <span class="attr">in</span> 750 751 752 <span class="attr">required</span> 753 754 755 756 757 </h4> 758 759 <div class="comments"> 760 </div> 760 761 761 762 <h4 id="_fsnspp_param_pphi">pphi 762 763 764 765 766 767 768 769 770 </h4> 771 772 <div class="comments"></div> 763 <span class="attr">in</span> 764 765 766 <span class="attr">required</span> 767 768 769 770 771 </h4> 772 773 <div class="comments"> 774 </div> 773 775 774 776 … … 798 800 <h3>Version history</h3> 799 801 800 802 <h4>Version</h4><div class="value"> $Id$ 803 </div> 801 804 <h4>History</h4><div class="value"> 802 805 -------------- 803 806 Original : 96-07 (O. Marti) 804 807 98-06 (G. Madec) 805 Feb 2005: IDL adaptation S. Masson </div> 808 Feb 2005: IDL adaptation S. Masson 809 </div> 806 810 807 811 … … 868 872 869 873 <h4 id="_angle_param_gcosu">gcosu 870 871 872 873 874 <span class="attr">in</span> 875 876 877 <span class="attr">required</span> 874 878 875 879 … … 881 885 882 886 <h4 id="_angle_param_gsinu">gsinu 883 884 885 886 887 <span class="attr">in</span> 888 889 890 <span class="attr">required</span> 887 891 888 892 … … 894 898 895 899 <h4 id="_angle_param_gcosv">gcosv 896 897 898 899 900 <span class="attr">in</span> 901 902 903 <span class="attr">required</span> 900 904 901 905 … … 907 911 908 912 <h4 id="_angle_param_gsinv">gsinv 909 910 911 912 913 <span class="attr">in</span> 914 915 916 <span class="attr">required</span> 913 917 914 918 … … 920 924 921 925 <h4 id="_angle_param_gcost">gcost 922 923 924 925 926 <span class="attr">in</span> 927 928 929 <span class="attr">required</span> 926 930 927 931 … … 933 937 934 938 <h4 id="_angle_param_gsint">gsint 935 936 937 938 939 <span class="attr">in</span> 940 941 942 <span class="attr">required</span> 939 943 940 944 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/clickincell.html
r111 r118 838 838 <h3>Version history</h3> 839 839 840 840 <h4>Version</h4><div class="value"> $Id$ 841 842 </div> 841 843 <h4>History</h4><div class="value"> 842 844 Sebastien Masson (smasson@lodyc.jussieu.fr) -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/compute_fromirr_bilinear_weigaddr.html
r112 r118 722 722 <div class="comments"></div> 723 723 724 <h3>Return value</h3><div class="value"> 725 weig, addr: 2D arrays, weig and addr are the weight and addresses used to 726 perform the interpolation: 727 dataout = total(weig*datain[addr], 1) 728 dataout = reform(dataout, jpia, jpja, /over) 729 </div> 724 730 725 731 726 … … 809 804 </h4> 810 805 811 <div class="comments"> land/se mask of the output data806 <div class="comments"> land/sea mask of the output data 812 807 </div> 813 808 814 809 <h4 id="_compute_fromirr_bilinear_weigaddr_param_weig">weig 815 810 816 811 <span class="attr">out</span> 817 812 818 813 … … 827 822 <h4 id="_compute_fromirr_bilinear_weigaddr_param_addr">addr 828 823 829 824 <span class="attr">out</span> 830 825 831 826 … … 836 831 </h4> 837 832 838 <div class="comments"></div> 833 <div class="comments"> 834 2D arrays, weig and addr are the weight and addresses used to 835 perform the interpolation: 836 dataout = total(weig*datain[addr], 1) 837 dataout = reform(dataout, jpia, jpja, /over) 838 </div> 839 839 840 840 … … 846 846 <h3>Version history</h3> 847 847 848 848 <h4>Version</h4><div class="value"> $Id$ 849 </div> 849 850 <h4>History</h4><div class="value"> 850 851 June 2006: Sebastien Masson (smasson@lodyc.jussieu.fr) 851 </div> 852 853 </div> 852 854 853 855 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/compute_fromreg_bilinear_weigaddr.html
r111 r118 721 721 <div class="comments"></div> 722 722 723 <h3>Return value</h3><div class="value"> 724 weig, addr: 2D arrays, weig and addr are the weight and addresses used to 725 perform the interpolation: 726 dataout = total(weig*datain[addr], 1) 727 dataout = reform(dataout, jpio, jpjo, /over) 728 </div> 723 729 724 730 725 … … 787 782 <h4 id="_compute_fromreg_bilinear_weigaddr_param_weig">weig 788 783 789 784 <span class="attr">out</span> 790 785 791 786 … … 800 795 <h4 id="_compute_fromreg_bilinear_weigaddr_param_addr">addr 801 796 802 797 <span class="attr">out</span> 803 798 804 799 … … 809 804 </h4> 810 805 811 <div class="comments"></div> 806 <div class="comments"> 807 2D arrays, weig and addr are the weight and addresses used to 808 perform the interpolation: 809 dataout = total(weig*datain[addr], 1) 810 dataout = reform(dataout, jpio, jpjo, /over) 811 </div> 812 812 813 813 … … 853 853 <h3>Version history</h3> 854 854 855 855 <h4>Version</h4><div class="value"> $Id$ 856 </div> 856 857 <h4>History</h4><div class="value"> 857 858 November 2005: Sebastien Masson (smasson@lodyc.jussieu.fr) -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/compute_fromreg_imoms3_weigaddr.html
r111 r118 722 722 </div> 723 723 724 <h3>Return value</h3><div class="value"> 725 weig, addr: 2D arrays, weig and addr are the weight and addresses used to 726 perform the interpolation: 727 dataout = total(weig*datain[addr], 1) 728 dataout = reform(dataout, jpio, jpjo, /over) 729 </div> 724 730 725 731 726 … … 788 783 <h4 id="_compute_fromreg_imoms3_weigaddr_param_weig">weig 789 784 790 785 <span class="attr">out</span> 791 786 792 787 … … 801 796 <h4 id="_compute_fromreg_imoms3_weigaddr_param_addr">addr 802 797 803 798 <span class="attr">out</span> 804 799 805 800 … … 810 805 </h4> 811 806 812 <div class="comments"></div> 807 <div class="comments"> 808 2D arrays, weig and addr are the weight and addresses used to 809 perform the interpolation: 810 dataout = total(weig*datain[addr], 1) 811 dataout = reform(dataout, jpio, jpjo, /over) 812 </div> 813 813 814 814 … … 830 830 </h4> 831 831 832 <div class="comments"> and /NOSOUTHERNLINE activate if you don't whant to take into 833 account the northen/southern line of the input data when perfoming the 834 interpolation. 832 <div class="comments"> </div> 833 834 <h4 id="_compute_fromreg_imoms3_weigaddr_keyword_NOSOUTHERNLINE">NOSOUTHERNLINE 835 836 837 838 839 840 841 842 843 </h4> 844 845 <div class="comments"> 846 activate if you don't whant to take into account the northen/southern line 847 of the input data when perfoming the interpolation. 835 848 </div> 836 849 837 <h4 id="_compute_fromreg_imoms3_weigaddr_keyword_NOSOUTHERNLINE">NOSOUTHERNLINE 838 839 840 841 842 843 844 845 846 </h4>847 848 <div class="comments"></div>849 850 850 851 851 … … 853 853 <h3>Version history</h3> 854 854 855 855 <h4>Version</h4><div class="value"> $Id$ 856 </div> 856 857 <h4>History</h4><div class="value"> 857 858 November 2005: Sebastien Masson (smasson@lodyc.jussieu.fr) 858 March 2006: works for rectangular grids</div> 859 March 2006: works for rectangular grids 860 </div> 859 861 860 862 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/cutpar.html
r111 r118 722 722 723 723 <h3>Return value</h3><div class="value"> 724 - defaut: 3d array(2,n^2,p) giving the center position of each724 - defaut: 3d array(2,n^2,p) giving the center position of each 725 725 piece of the parallelograms 726 - /endpoints: 3d array(2,(n+1)^2,p) giving the edge positions726 - /endpoints: 3d array(2,(n+1)^2,p) giving the edge positions 727 727 of each piece of the parallelograms 728 728 </div> … … 743 743 </h4> 744 744 745 <div class="comments"> 1d arrays of p elements, giving the edge positions. The 745 <div class="comments"></div> 746 747 <h4 id="_cutpar_param_y0">y0 748 <span class="attr">in</span> 749 750 751 <span class="attr">required</span> 752 753 754 755 756 </h4> 757 758 <div class="comments"> </div> 759 760 <h4 id="_cutpar_param_x1">x1 761 <span class="attr">in</span> 762 763 764 <span class="attr">required</span> 765 766 767 768 769 </h4> 770 771 <div class="comments"></div> 772 773 <h4 id="_cutpar_param_y1">y1 774 <span class="attr">in</span> 775 776 777 <span class="attr">required</span> 778 779 780 781 782 </h4> 783 784 <div class="comments"> </div> 785 786 <h4 id="_cutpar_param_x2">x2 787 <span class="attr">in</span> 788 789 790 <span class="attr">required</span> 791 792 793 794 795 </h4> 796 797 <div class="comments"></div> 798 799 <h4 id="_cutpar_param_y2">y2 800 <span class="attr">in</span> 801 802 803 <span class="attr">required</span> 804 805 806 807 808 </h4> 809 810 <div class="comments"> </div> 811 812 <h4 id="_cutpar_param_x3">x3 813 <span class="attr">in</span> 814 815 816 <span class="attr">required</span> 817 818 819 820 821 </h4> 822 823 <div class="comments"></div> 824 825 <h4 id="_cutpar_param_y3">y3 826 <span class="attr">in</span> 827 828 829 <span class="attr">required</span> 830 831 832 833 834 </h4> 835 836 <div class="comments"> 837 1d arrays of p elements, giving the edge positions. The 746 838 edges must be given as in plot to traw the parallelogram. (see 747 example).</div> 748 749 <h4 id="_cutpar_param_y0">y0 750 751 752 753 754 755 756 757 758 </h4> 759 760 <div class="comments"></div> 761 762 <h4 id="_cutpar_param_x1">x1 763 764 765 766 767 768 769 770 771 </h4> 772 773 <div class="comments"></div> 774 775 <h4 id="_cutpar_param_y1">y1 776 777 778 779 780 781 782 783 784 </h4> 785 786 <div class="comments"></div> 787 788 <h4 id="_cutpar_param_x2">x2 789 790 791 792 793 794 795 796 797 </h4> 798 799 <div class="comments"></div> 800 801 <h4 id="_cutpar_param_y2">y2 802 803 804 805 806 807 808 809 810 </h4> 811 812 <div class="comments"></div> 813 814 <h4 id="_cutpar_param_x3">x3 815 816 817 818 819 820 821 822 823 </h4> 824 825 <div class="comments"></div> 826 827 <h4 id="_cutpar_param_y3">y3 828 829 830 831 832 833 834 835 836 </h4> 837 838 <div class="comments"></div> 839 example). 840 </div> 839 841 840 842 <h4 id="_cutpar_param_n">n … … 896 898 897 899 898 x0 = [2,6,2]899 y0 = [0,2,6]900 x1 = [3,8,4]901 y1 = [4,4,6]902 x2 = [1,6,4]903 y2 = [5,6,8]904 x3 = [0,4,2]905 y3 = [1,4,8]906 n = 4907 splot, [0,10], [0,10], xstyle = 1, ystyle = 1,/nodata908 for i=0,2 do oplot, [x0[i],x1[i],x2[i],x3[i],x0[i]],[y0[i],y1[i],y2[i],y3[i],y0[i]]909 res=cutpar(x0, y0, x1, y1, x2, y2, x3, y3, n)910 for i=0,2 do oplot, [res[0,*,i]], [res[1,*,i]], color = 20+10*i, psym = 1, thick = 3900 IDL> x0 = [2,6,2] 901 IDL> y0 = [0,2,6] 902 IDL> x1 = [3,8,4] 903 IDL> y1 = [4,4,6] 904 IDL> x2 = [1,6,4] 905 IDL> y2 = [5,6,8] 906 IDL> x3 = [0,4,2] 907 IDL> y3 = [1,4,8] 908 IDL> n = 4 909 IDL> splot, [0,10], [0,10], xstyle = 1, ystyle = 1,/nodata 910 IDL> for i=0,2 do oplot, [x0[i],x1[i],x2[i],x3[i],x0[i]],[y0[i],y1[i],y2[i],y3[i],y0[i]] 911 IDL> res=cutpar(x0, y0, x1, y1, x2, y2, x3, y3, n) 912 IDL> for i=0,2 do oplot, [res[0,*,i]], [res[1,*,i]], color = 20+10*i, psym = 1, thick = 3 911 913 </div> 912 914 <h3>Version history</h3> 913 915 914 916 <h4>Version</h4><div class="value"> $Id$ 917 </div> 915 918 <h4>History</h4><div class="value"> 916 919 S. Masson (smasson@lodyc.jussieu.fr) 917 July 5th, 2002</div> 920 July 5th, 2002 921 </div> 918 922 919 923 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/cutsegment.html
r111 r118 743 743 </h4> 744 744 745 <div class="comments"> 1d arrays of p elements, the coordinates of 746 the endpoints of the p segmements</div> 745 <div class="comments"></div> 747 746 748 747 <h4 id="_cutsegment_param_y0">y0 749 750 751 752 748 <span class="attr">in</span> 749 750 751 <span class="attr">required</span> 753 752 754 753 … … 760 759 761 760 <h4 id="_cutsegment_param_x1">x1 762 763 764 765 761 <span class="attr">in</span> 762 763 764 <span class="attr">required</span> 766 765 767 766 … … 773 772 774 773 <h4 id="_cutsegment_param_y1">y1 775 776 777 778 774 <span class="attr">in</span> 775 776 777 <span class="attr">required</span> 779 778 780 779 … … 783 782 </h4> 784 783 785 <div class="comments"></div> 784 <div class="comments"> 785 1d arrays of p elements, the coordinates of the endpoints of the p segments 786 </div> 786 787 787 788 <h4 id="_cutsegment_param_n">n … … 796 797 </h4> 797 798 798 <div class="comments"> the number of pieces we want to cut each segment 799 799 <div class="comments"> the number of pieces we want to cut each segment 800 800 </div> 801 801 … … 857 857 <h3>Version history</h3> 858 858 859 859 <h4>Version</h4><div class="value"> $Id$ 860 </div> 860 861 <h4>History</h4><div class="value"> 861 862 S. Masson (smasson@lodyc.jussieu.fr) 862 July 5th, 2002</div> 863 July 5th, 2002 864 </div> 863 865 864 866 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/directory-overview.html
r114 r118 720 720 721 721 <dt><a href="extrapolate.html?format=raw">extrapolate.pro</a></dt> 722 <dd> extrapolate data (zinput) where maskinput eq 0 by filling step bystep the coastline points with the mean value of the 8 neighbourgs.</dd>722 <dd> extrapolate data (zinput) where maskinput eq 0 by filling step by step the coastline points with the mean value of the 8 neighbourgs.</dd> 723 723 724 724 <dt><a href="fromirr.html?format=raw">fromirr.pro</a></dt> … … 729 729 730 730 <dt><a href="get_gridparams.html?format=raw">get_gridparams.pro</a></dt> 731 <dd> 1) extract from a NetCDF file the longitude, latidude, and their dimensions and make sure it is 1D or 2D arrays or 2) given longitude and latitude arrays get their dimensions and make sure they are 1D or 2D arrays</dd>731 <dd> 1) extract from a NetCDF file the longitude, latidude, and their dimensions and make sure it is 1D or 2D arrays or 2) given longitude and latitude arrays get their dimensions and make sure they are 1D or 2D arrays </dd> 732 732 733 733 <dt><a href="imoms3.html?format=raw">imoms3.pro</a></dt> -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/extrapolate.html
r111 r118 696 696 </div> 697 697 698 <div id="file_comments"> extrapolate data (zinput) where maskinput eq 0 by filling step by699 step the coastline points with the mean value of the 8 neighbourgs.698 <div id="file_comments"> extrapolate data (zinput) where maskinput eq 0 by filling 699 step by step the coastline points with the mean value of the 8 neighbourgs. 700 700 </div> 701 701 … … 716 716 717 717 <p class="header"> 718 <span class="result">result = </span>extrapolate(<span class="result"><a href="#_extrapolate_param_zinput">zinput</a>, <a href="#_extrapolate_param_maskinput">maskinput</a> , <a href="#_extrapolate_param_nb_iteration">nb_iteration</a></span>, <a href="#_extrapolate_keyword_x_periodic">x_periodic</a>=<span class="result">x_periodic</span>, <a href="#_extrapolate_keyword_MINVAL">MINVAL</a>=<span class="result">MINVAL</span>, <a href="#_extrapolate_keyword_MAXVAL">MAXVAL</a>=<span class="result">MAXVAL</span>)</p>718 <span class="result">result = </span>extrapolate(<span class="result"><a href="#_extrapolate_param_zinput">zinput</a>, <a href="#_extrapolate_param_maskinput">maskinput</a>[, <a href="#_extrapolate_param_nb_iteration">nb_iteration</a>]</span>, <a href="#_extrapolate_keyword_x_periodic">x_periodic</a>=<span class="result">x_periodic</span>, <a href="#_extrapolate_keyword_MINVAL">MINVAL</a>=<span class="result">MINVAL</span>, <a href="#_extrapolate_keyword_MAXVAL">MAXVAL</a>=<span class="result">MAXVAL</span>)</p> 719 719 720 720 <div class="comments"></div> … … 727 727 728 728 <h4 id="_extrapolate_param_zinput">zinput 729 730 731 732 729 <span class="attr">in</span> 730 731 732 <span class="attr">required</span> 733 733 734 734 … … 737 737 </h4> 738 738 739 <div class="comments"></div> 739 <div class="comments"> 740 data to be extrapolate 741 </div> 740 742 741 743 <h4 id="_extrapolate_param_maskinput">maskinput 742 743 744 745 744 <span class="attr">in</span> 745 746 747 <span class="attr">required</span> 746 748 747 749 … … 750 752 </h4> 751 753 752 <div class="comments"></div> 754 <div class="comments"> 755 </div> 753 756 754 757 <h4 id="_extrapolate_param_nb_iteration">nb_iteration 755 756 757 758 <span class="attr">in</span> 759 760 <span class="attr">optional</span> 758 761 759 762 … … 763 766 </h4> 764 767 765 <div class="comments"></div> 768 <div class="comments"> 769 number of iteration 770 </div> 766 771 767 772 … … 809 814 </h4> 810 815 811 <div class="comments"></div> 816 <div class="comments"> 817 </div> 812 818 813 819 814 820 815 821 816 817 818 822 <h3>Version history</h3> 823 824 <h4>Version</h4><div class="value"> $Id$ 825 </div> 819 826 820 827 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/fromirr.html
r113 r118 882 882 883 883 884 tncep = fromirr('bilinear', topa, glamt, gphit, tmask[*,*,0], lonout, latout, mskout)884 IDL> tncep = fromirr('bilinear', topa, glamt, gphit, tmask[*,*,0], lonout, latout, mskout) 885 885 886 886 or 887 887 888 t1ncep = fromirr('bilinear', topa, glamt, gphit, tmask[*,*,0], lonout, latout, mskout $888 IDL> t1ncep = fromirr('bilinear', topa, glamt, gphit, tmask[*,*,0], lonout, latout, mskout $ 889 889 , WEIG = a, ADDR = b) 890 help, a, b891 t2ncep = fromirr('bilinear', topa, WEIG = a, ADDR = b)890 IDL> help, a, b 891 IDL> t2ncep = fromirr('bilinear', topa, WEIG = a, ADDR = b) 892 892 </div> 893 893 <h3>Version history</h3> 894 894 895 895 <h4>Version</h4><div class="value"> $Id$ 896 </div> 896 897 <h4>History</h4><div class="value"> 897 898 June 2006: Sebastien Masson (smasson@lodyc.jussieu.fr) -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/fromreg.html
r113 r118 795 795 </h4> 796 796 797 <div class="comments"> 1D or 2D array defining the longitude of the output data 798 1D or 2D array defining the latitude of the output data 799 </div> 797 <div class="comments"> 1D or 2D array defining the longitude of the output data</div> 800 798 801 799 <h4 id="_fromreg_param_latout">latout 802 803 804 805 800 <span class="attr">in</span> 801 802 803 <span class="attr">required</span> 806 804 807 805 … … 810 808 </h4> 811 809 812 <div class="comments"></div> 810 <div class="comments"> 1D or 2D array defining the latitude of the output data 811 </div> 813 812 814 813 … … 864 863 </h4> 865 864 866 <div class="comments"> and /NOSOUTHERNLINE activate if you don't whant to take into 867 account the northen/southern line of the input data when perfoming the 868 interpolation. 869 </div> 865 <div class="comments"> </div> 870 866 871 867 <h4 id="_fromreg_keyword_NOSOUTHERNLINE">NOSOUTHERNLINE … … 880 876 </h4> 881 877 882 <div class="comments"></div> 878 <div class="comments"> 879 activate if you don't whant to take into account the northen/southern line 880 of the input data when perfoming the interpolation. 881 </div> 883 882 884 883 … … 889 888 890 889 891 topa = fromreg('bilinear', tncep, xncep, yncep, glamt, gphit)890 IDL> topa = fromreg('bilinear', tncep, xncep, yncep, glamt, gphit) 892 891 893 892 or 894 893 895 t1opa = fromreg('bilinear', t1ncep, xncep, yncep, glamt, gphit, WEIG = a, ADDR = b)896 help, a, b897 t2opa = fromreg('bilinear', t2ncep, xncep, WEIG = a, ADDR = b)894 IDL> t1opa = fromreg('bilinear', t1ncep, xncep, yncep, glamt, gphit, WEIG = a, ADDR = b) 895 IDL> help, a, b 896 IDL> t2opa = fromreg('bilinear', t2ncep, xncep, WEIG = a, ADDR = b) 898 897 </div> 899 898 <h3>Version history</h3> 900 899 901 900 <h4>Version</h4><div class="value"> $Id$ 901 </div> 902 902 <h4>History</h4><div class="value"> 903 903 November 2005: Sebastien Masson (smasson@lodyc.jussieu.fr) 904 904 </div> 905 905 906 906 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/get_gridparams.html
r111 r118 696 696 </div> 697 697 698 <div id="file_comments"> 698 <div id="file_comments"> 699 699 1) extract from a NetCDF file the longitude, latidude, and their dimensions 700 and make sure it is 1D or 2D arrays 701 702 or 2) given longitude and latitude arrays get their dimensions and make sure703 they are 1D or 2D arrays700 and make sure it is 1D or 2D arrays 701 702 or 2) given longitude and latitude arrays get their dimensions and make 703 sure they are 1D or 2D arrays 704 704 </div> 705 705 … … 743 743 </h4> 744 744 745 <div class="comments"> 746 1d or 2D arrays defining longitudes and latitudes.745 <div class="comments"> the name of the netcdf file 746 1d or 2D arrays defining longitudes and latitudes. 747 747 the variable that will contain the longitudes</div> 748 748 … … 758 758 </h4> 759 759 760 <div class="comments"> 761 1d or 2D arrays defining longitudes and latitudes.762 Note that these arrays are also outputs and can therefore be modified. 760 <div class="comments"> the name of the variable that contains the longitude in the NetCDF file 761 1d or 2D arrays defining longitudes and latitudes. 762 Note that these arrays are also outputs and can therefore be modified. 763 763 764 764 the variable that will contain the latitudes</div> … … 775 775 </h4> 776 776 777 <div class="comments"> 777 <div class="comments"> the name of the variable that contains the latitude in the NetCDF file 778 778 the number of points in the longitudinal direction</div> 779 779 … … 807 807 arrays or 2D arrays (jpi,jpj). Note that of n_dimensions = 1, then the 808 808 grid must be regular (each longitudes must be the same for all latitudes 809 and each latitudes should be the sae for all longitudes). 809 and each latitudes should be the sae for all longitudes). 810 810 </div> 811 811 … … 849 849 <div class="comments"> 1 or 2 to specify if lon and lat should be 1D (jpi or jpj) 850 850 851 or 852 853 2) 851 or 852 853 2)</div> 854 854 855 855 … … 871 871 </h4> 872 872 873 <div class="comments"></div> 874 875 876 877 <h3>Examples</h3><div class="value"> 878 873 <div class="comments"> use double precision to perform the computation 874 </div> 875 876 877 878 <h3>Examples</h3><div class="value"> 879 879 880 1) get_gridparams, file, lonname, latname, lon, lat, jpi, jpj, n_dimensions 880 881 881 or 882 or 882 883 883 884 2) get_gridparams, lon, lat, jpi, jpj, n_dimensions 884 885 885 1) 886 887 888 1) ncdf_get_gridparams, 'coordinates_ORCA_R05.nc', 'glamt', 'gphit' $886 1) 887 888 889 1) IDL> ncdf_get_gridparams, 'coordinates_ORCA_R05.nc', 'glamt', 'gphit' $ 889 890 , olon, olat, jpio, jpjo, 2 890 891 891 2) ncdf_get_gridparams, olon, olat, jpio, jpjo, 2892 2) IDL> ncdf_get_gridparams, olon, olat, jpio, jpjo, 2 892 893 </div> 893 894 <h3>Version history</h3> 894 895 895 896 <h4>Version</h4><div class="value"> $Id$ 897 </div> 896 898 <h4>History</h4><div class="value"> 897 November 2005: Sebastien Masson (smasson@lodyc.jussieu.fr) 898 899 November 2005: Sebastien Masson (smasson@lodyc.jussieu.fr) 900 </div> 899 901 900 902 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/imoms3.html
r111 r118 717 717 718 718 <div class="comments"> 719 719 720 </div> 720 721 … … 726 727 727 728 <h4 id="_imoms3_param_xin">xin 729 <span class="attr">in</span> 728 730 729 731 730 731 732 <span class="attr">required</span> 732 733 733 734 … … 736 737 </h4> 737 738 738 <div class="comments"></div> 739 <div class="comments"> 740 </div> 739 741 740 742 … … 744 746 745 747 746 747 748 748 <h3>Version history</h3> 749 750 <h4>Version</h4><div class="value"> $Id$ 751 </div> 749 752 750 753 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/inquad.html
r111 r118 741 741 </h4> 742 742 743 <div class="comments"> the coordinates of the point we want to know where it 744 is. Must be a scalar if /onsphere activated else can be scalar 745 or array. 746 </div> 743 <div class="comments"></div> 747 744 748 745 <h4 id="_inquad_param_y">y 749 750 751 752 753 754 755 756 757 </h4> 758 759 <div class="comments"></div> 746 <span class="attr">in</span> 747 748 749 <span class="attr">required</span> 750 751 752 753 754 </h4> 755 756 <div class="comments"> 757 the coordinates of the point we want to know where it is. 758 Must be a scalar if /onsphere activated else can be scalar or array. 759 </div> 760 760 761 761 <h4 id="_inquad_param_x1">x1 … … 770 770 </h4> 771 771 772 <div class="comments"> the coordinates of the 773 quadrilateral given in the CLOCKWISE order. Scalar or array. 774 775 </div> 772 <div class="comments"></div> 776 773 777 774 <h4 id="_inquad_param_y1">y1 778 779 780 781 775 <span class="attr">in</span> 776 777 778 <span class="attr">required</span> 782 779 783 780 … … 789 786 790 787 <h4 id="_inquad_param_x2">x2 791 792 793 794 788 <span class="attr">in</span> 789 790 791 <span class="attr">required</span> 795 792 796 793 … … 802 799 803 800 <h4 id="_inquad_param_y2">y2 804 805 806 807 801 <span class="attr">in</span> 802 803 804 <span class="attr">required</span> 808 805 809 806 … … 815 812 816 813 <h4 id="_inquad_param_x3">x3 817 818 819 820 814 <span class="attr">in</span> 815 816 817 <span class="attr">required</span> 821 818 822 819 … … 828 825 829 826 <h4 id="_inquad_param_y3">y3 830 831 832 833 827 <span class="attr">in</span> 828 829 830 <span class="attr">required</span> 834 831 835 832 … … 841 838 842 839 <h4 id="_inquad_param_x4">x4 843 844 845 846 840 <span class="attr">in</span> 841 842 843 <span class="attr">required</span> 847 844 848 845 … … 854 851 855 852 <h4 id="_inquad_param_y4">y4 856 857 858 859 860 861 862 863 864 </h4> 865 866 <div class="comments"></div> 853 <span class="attr">in</span> 854 855 856 <span class="attr">required</span> 857 858 859 860 861 </h4> 862 863 <div class="comments"> 864 the coordinates of the quadrilateral given in the CLOCKWISE order. 865 Scalar or array. 866 </div> 867 867 868 868 … … 916 916 </h4> 917 917 918 <div class="comments"> :the zoom (circle centred on the (x,y) with a radius of918 <div class="comments"> the zoom (circle centred on the (x,y) with a radius of 919 919 zoomradius degree where we look for the the quadrilateral which; contains the (x,y) point) used for the satellite projection 920 920 when /onsphere is activated. Default is 4 and seems to be the … … 948 948 </h4> 949 949 950 <div class="comments"></div> 950 <div class="comments"> 951 </div> 951 952 952 953 953 954 954 955 <h3>Examples</h3><div class="value"> 955 956 res = inquad(x, y, x1, y1, x2, y2, x3, y3, x4, y4) 956 IDL> res = inquad(x, y, x1, y1, x2, y2, x3, y3, x4, y4) 957 957 958 958 959 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 960 IDL> x = 1.*[1, 2, 6, 7, 3] 961 IDL> y = 1.*[1, 3, 3, 4, 7] 962 IDL> x1 = 1.*[0,4,2] 963 IDL> y1 = 1.*[1,4,8] 964 IDL> x2 = 1.*[1,6,4] 965 IDL> y2 = 1.*[5,6,8] 966 IDL> x3 = 1.*[3,8,4] 967 IDL> y3 = 1.*[4,4,6] 968 IDL> x4 = 1.*[2,6,2] 969 IDL> y4 = 1.*[0,2,6] 970 IDL> splot, [0,10], [0,10], xstyle = 1, ystyle = 1,/nodata 971 IDL> for i=0,2 do oplot, [x4[i],x1[i],x2[i],x3[i],x4[i]],[y4[i],y1[i],y2[i],y3[i],y4[i]] 972 IDL> oplot, x, y, color = 20, psym = 1, thick = 2 973 IDL> print, inquad(x, y, x1, y1, x2, y2, x3, y3, x4, y4) 974 974 975 975 On a sphere see clickincell.pro... … … 977 977 <h3>Version history</h3> 978 978 979 979 <h4>Version</h4><div class="value"> $Id$ 980 </div> 980 981 <h4>History</h4><div class="value"> 981 982 Sebastien Masson (smasson@lodyc.jussieu.fr) -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/inrecgrid.html
r111 r118 755 755 </h4> 756 756 757 <div class="comments"> a 1d, monotonically increasing array, the position of the 758 "left" border of each cell.</div> 757 <div class="comments"> a 1d array, the y position on the points</div> 759 758 760 759 <h4 id="_inrecgrid_param_left">left 761 762 763 764 760 <span class="attr">in</span> 761 762 763 <span class="attr">required</span> 765 764 766 765 … … 769 768 </h4> 770 769 771 <div class="comments"></div> 770 <div class="comments"> a 1d, monotonically increasing array, 771 the position of the "left" border of each cell.</div> 772 772 773 773 <h4 id="_inrecgrid_param_bottom">bottom … … 782 782 </h4> 783 783 784 <div class="comments"> a 1d, monotonically increasing array, the position of the 785 "bottom" border of each cell. 786 784 <div class="comments"> a 1d, monotonically increasing array, 785 the position of the "bottom" border of each cell. 787 786 </div> 788 787 … … 846 845 <h3>Version history</h3> 847 846 848 847 <h4>Version</h4><div class="value"> $Id$ 848 </div> 849 849 <h4>History</h4><div class="value"> 850 850 S. Masson (smasson@lodyc.jussieu.fr) 851 851 July 3rd, 2002 852 October 3rd, 2003: use value_locate</div> 852 October 3rd, 2003: use value_locate 853 </div> 853 854 854 855 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/ll_narcs_distances.html
r111 r118 850 850 <h3>Version history</h3> 851 851 852 852 <h4>Version</h4><div class="value"> $Id$ 853 </div> 853 854 <h4>History</h4><div class="value"> 854 855 Based on the IDL function ll_arc_distance.pro,v 1.11 2003/02/03 855 856 Sebastien Masson (smasson@lodyc.jussieu.fr) 856 August 2005</div> 857 August 2005 858 </div> 857 859 858 860 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/map_npoints.html
r111 r118 752 752 </h4> 753 753 754 <div class="comments"> np0 elements vector. longitudes and latitudes of np0 points P0</div>754 <div class="comments"></div> 755 755 756 756 <h4 id="_Map_npoints_param_lat0">lat0 757 758 759 760 757 <span class="attr">in</span> 758 759 760 <span class="attr">required</span> 761 761 762 762 … … 765 765 </h4> 766 766 767 <div class="comments"></div> 767 <div class="comments"> 768 np0 elements vector. longitudes and latitudes of np0 points P0 769 </div> 768 770 769 771 <h4 id="_Map_npoints_param_lon1">lon1 … … 778 780 </h4> 779 781 780 <div class="comments"> np1 elements vector. longitude and latitude of np1 points P1 781 </div> 782 <div class="comments"></div> 782 783 783 784 <h4 id="_Map_npoints_param_lat1">lat1 784 785 786 787 785 <span class="attr">in</span> 786 787 788 <span class="attr">required</span> 788 789 789 790 … … 792 793 </h4> 793 794 794 <div class="comments"></div> 795 <div class="comments"> 796 np1 elements vector. longitude and latitude of np1 points P1 797 </div> 795 798 796 799 … … 826 829 </h4> 827 830 828 <div class="comments"> =if set, inputs and angular outputs are in radians, otherwise831 <div class="comments"> if set, inputs and angular outputs are in radians, otherwise 829 832 degrees.</div> 830 833 … … 842 845 <div class="comments"> If given, return the distance between the two points 843 846 calculated using the given radius. 844 Default value is the earth radius : 6378206.4d0</div> 847 Default value is the earth radius : 6378206.4d0 848 </div> 845 849 846 850 <h4 id="_Map_npoints_keyword_MIDDLE">MIDDLE … … 868 872 </h4> 869 873 870 <div class="comments"> :If given,then Map_nPoints returns the distances between874 <div class="comments"> If given,then Map_nPoints returns the distances between 871 875 number n of P0 points and number n of P1 points (in that case, 872 876 np0 and np1 must be equal). … … 876 880 877 881 <h3>Examples</h3><div class="value"> 878 Result = Map_nPoints(lon0, lat0, lon1, lat1)879 880 881 IDL> print, $882 map_npoints([-105.15,1],[40.02,1],[-0.07,100,50],[51.30,20,0])882 IDL> Result = Map_nPoints(lon0, lat0, lon1, lat1) 883 884 885 IDL> print, $ 886 map_npoints([-105.15,1],[40.02,1],[-0.07,100,50],[51.30,20,0]) 883 887 7551369.3 5600334.8 884 888 12864354. 10921254. 885 889 14919237. 5455558.8 886 890 887 IDL> lon0 = [-10, 20, 100]888 IDL> lat0 = [0, -10, 45]889 IDL> lon1 = [10, 60, 280]890 IDL> lat1 = [0, 10, 45]891 IDL> dist = map_npoints(lon0, lat0, lon1, lat1, azimuth = azi)892 IDL> help, dist, azi893 DIST DOUBLE = Array[3, 3]894 AZI DOUBLE = Array[3, 3]895 IDL> print, dist[4*lindgen(3)], azi[4*lindgen(3)]891 IDL> lon0 = [-10, 20, 100] 892 IDL> lat0 = [0, -10, 45] 893 IDL> lon1 = [10, 60, 280] 894 IDL> lat1 = [0, 10, 45] 895 IDL> dist = map_npoints(lon0, lat0, lon1, lat1, azimuth = azi) 896 IDL> help, dist, azi 897 DIST DOUBLE = Array[3, 3] 898 AZI DOUBLE = Array[3, 3] 899 IDL> print, dist[4*lindgen(3)], azi[4*lindgen(3)] 896 900 2226414.0 4957944.5 10018863. 897 901 90.000000 64.494450 4.9615627e-15 898 IDL> dist = map_npoints(lon0, lat0, lon1, lat1, azimuth = azi, /two_by_two)899 IDL> help, dist, azi900 DIST DOUBLE = Array[3]901 AZI DOUBLE = Array[3]902 IDL> print, dist, azi902 IDL> dist = map_npoints(lon0, lat0, lon1, lat1, azimuth = azi, /two_by_two) 903 IDL> help, dist, azi 904 DIST DOUBLE = Array[3] 905 AZI DOUBLE = Array[3] 906 IDL> print, dist, azi 903 907 2226414.0 4957944.5 10018863. 904 908 90.000000 64.494450 4.9615627e-15 905 IDL> print, map_2points(lon0[0], lat0[0], lon1[0], lat1[0])909 IDL> print, map_2points(lon0[0], lat0[0], lon1[0], lat1[0]) 906 910 20.000000 90.000000 907 IDL> print, map_npoints(lon0[0], lat0[0], lon1[0], lat1[0], azi=azi)/6378206.4d0 / !dtor, azi911 IDL> print, map_npoints(lon0[0], lat0[0], lon1[0], lat1[0], azi=azi)/6378206.4d0 / !dtor, azi 908 912 20.000000 909 913 90.000000 910 914 911 IDL> lon0 = [-10, 20, 100]912 IDL> lat0 = [0, -10, 45]913 IDL> lon1 = [10, 60, 280]914 IDL> lat1 = [0, 10, 45]915 IDL> mid = map_npoints(lon0, lat0, lon1, lat1, /middle, /two_by_two)916 IDL> print, reform(mid[0,*]), reform(mid[1,*])915 IDL> lon0 = [-10, 20, 100] 916 IDL> lat0 = [0, -10, 45] 917 IDL> lon1 = [10, 60, 280] 918 IDL> lat1 = [0, 10, 45] 919 IDL> mid = map_npoints(lon0, lat0, lon1, lat1, /middle, /two_by_two) 920 IDL> print, reform(mid[0,*]), reform(mid[1,*]) 917 921 0.0000000 40.000000 190.00000 918 922 0.0000000 -1.5902773e-15 90.000000 919 IDL> print, (map_2points(lon0[0], lat0[0], lon1[0], lat1[0], npath = 3))[*, 1]923 IDL> print, (map_2points(lon0[0], lat0[0], lon1[0], lat1[0], npath = 3))[*, 1] 920 924 0.0000000 0.0000000 921 IDL> print, (map_2points(lon0[1], lat0[1], lon1[1], lat1[1], npath = 3))[*, 1]925 IDL> print, (map_2points(lon0[1], lat0[1], lon1[1], lat1[1], npath = 3))[*, 1] 922 926 40.000000 -1.5902773e-15 923 IDL> print, (map_2points(lon0[2], lat0[2], lon1[2], lat1[2], npath = 3))[*, 1]927 IDL> print, (map_2points(lon0[2], lat0[2], lon1[2], lat1[2], npath = 3))[*, 1] 924 928 190.00000 90.000000 925 929 </div> 926 930 <h3>Version history</h3> 927 931 928 932 <h4>Version</h4><div class="value"> $Id$ 933 </div> 929 934 <h4>History</h4><div class="value"> 930 935 Based on the IDL function map_2points.pro,v 1.6 2001/01/15 931 936 Sebastien Masson (smasson@lodyc.jussieu.fr) 932 October 2003</div> 937 October 2003 938 </div> 933 939 934 940 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/neighbor.html
r111 r118 718 718 719 719 <p class="header"> 720 <span class="result">result = </span>neighbor(<span class="result"><a href="#_neighbor_param_p0lon">p0lon</a>, <a href="#_neighbor_param_p0lat">p0lat</a> , <a href="#_neighbor_param_neighlon">neighlon</a>, <a href="#_neighbor_param_neighlat">neighlat</a></span>, <a href="#_neighbor_keyword_sphere">sphere</a>=<span class="result">sphere</span>, <a href="#_neighbor_keyword_distance">distance</a>=<span class="result">distance</span>, <a href="#_neighbor_keyword_radians">radians</a>=<span class="result">radians</span>)</p>720 <span class="result">result = </span>neighbor(<span class="result"><a href="#_neighbor_param_p0lon">p0lon</a>, <a href="#_neighbor_param_p0lat">p0lat</a>[, <a href="#_neighbor_param_neighlon">neighlon</a>][, <a href="#_neighbor_param_neighlat">neighlat</a>]</span>, <a href="#_neighbor_keyword_sphere">sphere</a>=<span class="result">sphere</span>, <a href="#_neighbor_keyword_distance">distance</a>=<span class="result">distance</span>, <a href="#_neighbor_keyword_radians">radians</a>=<span class="result">radians</span>)</p> 721 721 722 722 <div class="comments"> … … 724 724 725 725 <h3>Return value</h3><div class="value"> 726 index giving the P1[index] point that is the closetest point 727 of (P0) 726 index giving the P1[index] point that is the closest point of (P0) 728 727 </div> 729 728 … … 756 755 </h4> 757 756 758 <div class="comments"> scalar. latitudes of point P0. 759 </div> 757 <div class="comments"> scalar. latitudes of point P0. </div> 760 758 761 759 <h4 id="_neighbor_param_neighlon">neighlon 762 763 764 760 <span class="attr">in</span> 761 762 <span class="attr">optional</span> 765 763 766 764 … … 770 768 </h4> 771 769 772 <div class="comments"> </div>770 <div class="comments"> </div> 773 771 774 772 <h4 id="_neighbor_param_neighlat">neighlat 775 776 777 773 <span class="attr">in</span> 774 775 <span class="attr">optional</span> 778 776 779 777 … … 783 781 </h4> 784 782 785 <div class="comments"></div> 783 <div class="comments"> 784 </div> 786 785 787 786 … … 848 847 <h3>Version history</h3> 849 848 850 849 <h4>Version</h4><div class="value"> $Id$ 850 </div> 851 851 <h4>History</h4><div class="value"> 852 852 Sebastien Masson (smasson@lodyc.jussieu.fr) 853 October 2003</div> 853 October 2003 854 </div> 854 855 855 856 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/quadrilateral2square.html
r111 r118 754 754 </h4> 755 755 756 <div class="comments"> the coordinates of the quadrilateral</div>756 <div class="comments"></div> 757 757 758 758 <h4 id="_quadrilateral2square_param_y0in">y0in … … 767 767 </h4> 768 768 769 <div class="comments"> the coordinates of the quadrilateral</div>769 <div class="comments"></div> 770 770 771 771 <h4 id="_quadrilateral2square_param_x1in">x1in … … 780 780 </h4> 781 781 782 <div class="comments"> the coordinates of the quadrilateral</div>782 <div class="comments"></div> 783 783 784 784 <h4 id="_quadrilateral2square_param_y1in">y1in … … 793 793 </h4> 794 794 795 <div class="comments"> the coordinates of the quadrilateral</div>795 <div class="comments"></div> 796 796 797 797 <h4 id="_quadrilateral2square_param_x2in">x2in … … 806 806 </h4> 807 807 808 <div class="comments"> the coordinates of the quadrilateral</div>808 <div class="comments"></div> 809 809 810 810 <h4 id="_quadrilateral2square_param_y2in">y2in … … 819 819 </h4> 820 820 821 <div class="comments"> the coordinates of the quadrilateral</div>821 <div class="comments"></div> 822 822 823 823 <h4 id="_quadrilateral2square_param_x3in">x3in … … 832 832 </h4> 833 833 834 <div class="comments"> the coordinates of the quadrilateral</div>834 <div class="comments"></div> 835 835 836 836 <h4 id="_quadrilateral2square_param_y3in">y3in … … 845 845 </h4> 846 846 847 <div class="comments"> the coordinates of the quadrilateral 848 (see above for correspondance with the unit square). Can be 849 scalar or array. (x0,y0), (x1,y1), (x2,y2) and (x3,y3) are 850 given in the anticlockwise order. 847 <div class="comments"> 848 the coordinates of the quadrilateral 849 (see above for correspondance with the unit square). Can be 850 scalar or array. (x0,y0), (x1,y1), (x2,y2) and (x3,y3) are 851 given in the anticlockwise order. 851 852 </div> 852 853 … … 862 863 </h4> 863 864 864 <div class="comments"> the coordinates of the point(s) for which we want to do the 865 mapping. Can be scalar or array.</div> 865 <div class="comments"> the coordinates of the point(s) for which we want to do the mapping. Can be scalar or array.</div> 866 866 867 867 <h4 id="_quadrilateral2square_param_yyin">yyin … … 876 876 </h4> 877 877 878 <div class="comments"> the coordinates of the point(s) for which we want to do the 879 mapping. Can be scalar or array. 878 <div class="comments"> the coordinates of the point(s) for which we want to do the mapping. Can be scalar or array. 880 879 </div> 881 880 … … 898 897 </h4> 899 898 900 <div class="comments"></div> 899 <div class="comments"> 900 </div> 901 901 902 902 … … 904 904 <h3>Examples</h3><div class="value"> 905 905 906 906 IDL> res = square2quadrilateral(x0,y0,x1,y1,x2,y2,x3,y3,xin,yin) 907 907 908 908 … … 920 920 <h3>Version history</h3> 921 921 922 922 <h4>Version</h4><div class="value"> $Id$ 923 </div> 923 924 <h4>History</h4><div class="value"> 924 925 Sebastien Masson (smasson@lodyc.jussieu.fr) … … 927 928 IEEE Computer Society Press, Los Alamitos, California 928 929 Chapter 3, see p 52-56 929 </div> 930 931 </div> 930 932 931 933 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/spl_fstdrv.html
r111 r118 731 731 732 732 y2: f'(x2) = y2. 733 734 733 </div> 735 734 … … 806 805 <h3>Version history</h3> 807 806 808 807 <h4>Version</h4><div class="value"> $Id$ 808 </div> 809 809 <h4>History</h4><div class="value"> 810 Sebastien Masson (smasson@lodyc.jussieu.fr): May 2005</div> 810 Sebastien Masson (smasson@lodyc.jussieu.fr): May 2005 811 </div> 811 812 812 813 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/spl_incr.html
r111 r118 763 763 </h4> 764 764 765 <div class="comments"> An n-element (at least 2) input vector that specifies the 766 tabulate points in a strict ascending order. 765 <div class="comments"> 766 An n-element (at least 2) input vector that specifies the tabulate points in 767 a strict ascending order. 767 768 </div> 768 769 … … 778 779 </h4> 779 780 780 <div class="comments"> The input values for which the interpolated values are 781 desired. Its values must be strictly monotonically increasing. 782 783 784 781 <div class="comments"> 782 The input values for which the interpolated values are 783 desired. Its values must be strictly monotonically increasing. 785 784 </div> 786 785 … … 796 795 </h4> 797 796 798 <div class="comments"> f(x) = y. An n-element input vector that specifies the values 797 <div class="comments"> 798 f(x) = y. An n-element input vector that specifies the values 799 799 of the tabulated function F(Xi) corresponding to Xi. As f is 800 800 supposed to be monotonically increasing, y values must be … … 839 839 </h4> 840 840 841 <div class="comments"></div> 842 843 844 845 846 847 848 <h3>Examples</h3><div class="value"> y2 = spl_incr(x, y, x2) 841 <div class="comments"> 842 </div> 843 844 845 846 847 848 849 <h3>Examples</h3><div class="value"> 850 IDL> y2 = spl_incr(x, y, x2) 849 851 850 852 851 853 852 853 x = (dindgen(n))^2854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 854 IDL> n = 100L 855 IDL> x = (dindgen(n))^2 856 IDL> y = abs(randomn(0, n)) 857 IDL> y[n/2:n/2+1] = 0. 858 IDL> y[n-n/3] = 0. 859 IDL> y[n-n/6:n-n/6+5] = 0. 860 IDL> y = total(y, /cumulative, /double) 861 IDL> x2 = dindgen((n-1)^2) 862 IDL> n2 = n_elements(x2) 863 IDL> print, min(y[1:n-1]-y[0:n-2]) LT 0 864 IDL> y2 = spl_incr( x, y, x2) 865 IDL> splot, x, y, xstyle = 1, ystyle = 1, ysurx=.25, petit = [1, 2, 1], /land 866 IDL> oplot, x2, y2, color = 100 867 IDL> c = y2[1:n2-1] - y2[0:n2-2] 868 IDL> print, min(c) LT 0 869 IDL> print, min(c, max = ma), ma 870 IDL> splot,c,xstyle=1,ystyle=1, yrange=[-.01,.05], ysurx=.25, petit = [1, 2, 2], /noerase 871 IDL> oplot,[0, n_elements(c)], [0, 0], linestyle = 1 870 872 </div> 871 873 <h3>Version history</h3> 872 874 873 875 <h4>Version</h4><div class="value"> $Id$ 876 </div> 874 877 <h4>History</h4><div class="value"> 875 Sebastien Masson (smasson@lodyc.jussieu.fr): May-Dec 2005</div> 878 Sebastien Masson (smasson@lodyc.jussieu.fr): May-Dec 2005 879 </div> 876 880 877 881 … … 914 918 915 919 <h4 id="_pure_convex_param_x1">x1 920 <span class="attr">in</span> 921 922 923 <span class="attr">required</span> 924 925 926 927 928 </h4> 929 930 <div class="comments"> 931 An n-element (at least 2) input vector that specifies the tabulate points in 932 a strict ascending order. 933 </div> 934 935 <h4 id="_pure_convex_param_x2">x2 936 <span class="attr">in</span> 937 938 939 <span class="attr">required</span> 940 941 942 943 944 </h4> 945 946 <div class="comments"> 947 The input values for which the interpolated values are 948 desired. Its values must be strictly monotonically increasing. 949 </div> 950 951 <h4 id="_pure_convex_param_y1">y1 952 <span class="attr">in</span> 953 954 955 <span class="attr">required</span> 956 957 958 959 960 </h4> 961 962 <div class="comments"> 963 f(x) = y. An n-element input vector that specifies the values 964 of the tabulated function F(Xi) corresponding to Xi. As f is 965 supposed to be monotonically increasing, y values must be 966 monotonically increasing. y can have equal consecutive values. 967 </div> 968 969 <h4 id="_pure_convex_param_y2">y2 916 970 917 971 … … 926 980 <div class="comments"></div> 927 981 928 <h4 id="_pure_convex_param_ x2">x2 982 <h4 id="_pure_convex_param_der2">der2 929 983 930 984 … … 939 993 <div class="comments"></div> 940 994 941 <h4 id="_pure_convex_param_y1">y1 942 943 944 945 946 947 948 949 950 </h4>951 952 <div class="comments"></div>953 954 <h4 id="_pure_convex_param_y2">y2 955 956 957 958 959 960 961 962 963 </h4>964 965 <div class="comments"></div>966 967 <h4 id="_pure_convex_param_der2">der2 968 969 970 971 972 973 974 975 976 </h4>977 978 <div class="comments"></div>979 980 995 <h4 id="_pure_convex_param_x">x 981 996 … … 989 1004 </h4> 990 1005 991 <div class="comments"></div> 1006 <div class="comments"> 1007 </div> 992 1008 993 1009 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/spl_keep_mean.html
r111 r118 867 867 <h3>Version history</h3> 868 868 869 869 <h4>Version</h4><div class="value"> $Id$ 870 </div> 870 871 <h4>History</h4><div class="value"> 871 Sebastien Masson (smasson@lodyc.jussieu.fr): May 2005</div> 872 Sebastien Masson (smasson@lodyc.jussieu.fr): May 2005 873 </div> 872 874 873 875 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/square2quadrilateral.html
r114 r118 922 922 <h3>Version history</h3> 923 923 924 924 <h4>Version</h4><div class="value"> $Id$ 925 </div> 925 926 <h4>History</h4><div class="value"> 926 927 Sebastien Masson (smasson@lodyc.jussieu.fr) … … 929 930 IEEE Computer Society Press, Los Alamitos, California 930 931 Chapter 3, see p 52-56 931 </div> 932 933 </div> 932 934 933 935
Note: See TracChangeset
for help on using the changeset viewer.