ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/JSOC/proj/sharp/apps/sw_functions.c
(Generate patch)

Comparing proj/sharp/apps/sw_functions.c (file contents):
Revision 1.17 by mbobra, Wed Jul 24 02:35:08 2013 UTC vs.
Revision 1.18 by mbobra, Tue Oct 1 01:57:44 2013 UTC

# Line 846 | Line 846 | int computeSumAbsPerPolarity(float *jz_e
846                {
847                  if ( mask[j * nx + i] < 70 || bitmask[j * nx + i] < 30 ) continue;
848                  if isnan(bz[j * nx + i]) continue;
849 +                if isnan(jz[j * nx + i]) continue;
850                  if (bz[j * nx + i] >  0) sum1 += ( jz[j * nx + i])*(1/cdelt1)*(0.00010)*(1/MUNAUGHT)*(rsun_ref/rsun_obs);
851                  if (bz[j * nx + i] <= 0) sum2 += ( jz[j * nx + i])*(1/cdelt1)*(0.00010)*(1/MUNAUGHT)*(rsun_ref/rsun_obs);
852                  err += (jz_err[j * nx + i]*jz_err[j * nx + i]);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines