Last change
on this file since 20498 was 20498, checked in by Mathieu Morlighem, 9 years ago |
CHG: done with Archive/19101-20495
|
File size:
925 bytes
|
Rev | Line | |
---|
[20498] | 1 | Index: ../trunk-jpl/src/m/psl/shlm_element.m
|
---|
| 2 | ===================================================================
|
---|
| 3 | --- ../trunk-jpl/src/m/psl/shlm_element.m (revision 20330)
|
---|
| 4 | +++ ../trunk-jpl/src/m/psl/shlm_element.m (revision 20331)
|
---|
| 5 | @@ -24,5 +24,3 @@
|
---|
| 6 | end
|
---|
| 7 | end
|
---|
| 8 | sh_lm = sh_lm*4*pi/sum(areas);
|
---|
| 9 | -
|
---|
| 10 | -
|
---|
| 11 | Index: ../trunk-jpl/src/m/psl/shlm.m
|
---|
| 12 | ===================================================================
|
---|
| 13 | --- ../trunk-jpl/src/m/psl/shlm.m (revision 20330)
|
---|
| 14 | +++ ../trunk-jpl/src/m/psl/shlm.m (revision 20331)
|
---|
| 15 | @@ -14,18 +14,15 @@
|
---|
| 16 | p = 0;
|
---|
| 17 |
|
---|
| 18 | sh_lm = zeros((lMax+1)^2,1);
|
---|
| 19 | -%sh_lm = zeros(1,(lMax+1)^2);
|
---|
| 20 |
|
---|
| 21 | % weighted area integration over the unit sphere
|
---|
| 22 | for l=0:lMax
|
---|
| 23 | for m=-l:l
|
---|
| 24 | - %func0 = sh(:,1+p).*(func<1);
|
---|
| 25 | func0 = sh(:,1+p).*func;
|
---|
| 26 | sh_lm(1+p) = sum(mean(func0(index),2).*areas);
|
---|
| 27 | p = p+1;
|
---|
| 28 | end
|
---|
| 29 | end
|
---|
| 30 | -%sh_lm = sh_lm/sum(areas);
|
---|
| 31 | sh_lm = sh_lm*4*pi/sum(areas);
|
---|
| 32 |
|
---|
| 33 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.