ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/JSOC/proj/sharp/apps/sw_functions.c
Revision 1.22 - (view) (annotate) - [selected]
Mon Nov 11 23:21:21 2013 UTC (9 years, 10 months ago) by mbobra
Branch: MAIN
CVS Tags: Ver_8-2, Ver_8-3
Changes since 1.21: +3 -3 lines
Diff to previous 1.21
removed some print statements

Revision 1.21 - (view) (annotate) - [select for diffs]
Mon Nov 11 23:18:40 2013 UTC (9 years, 10 months ago) by mbobra
Branch: MAIN
Changes since 1.20: +74 -42 lines
Diff to previous 1.20 , to selected 1.22
: fixed error in MEANSHR, SHRGT45, ERRBZ wherein all were giving nans at times -- this was due to some weird condition being satisfied, so now i check on that condition

Revision 1.20 - (view) (annotate) - [select for diffs]
Sat Nov 2 19:53:05 2013 UTC (9 years, 10 months ago) by mbobra
Branch: MAIN
Changes since 1.19: +131 -76 lines
Diff to previous 1.19 , to selected 1.22
updated error analysis

Revision 1.19 - (view) (annotate) - [select for diffs]
Fri Oct 18 23:36:02 2013 UTC (9 years, 11 months ago) by mbobra
Branch: MAIN
Changes since 1.18: +41 -74 lines
Diff to previous 1.18 , to selected 1.22
corrected gamma, alpha, and error in alpha
this is an incomplete version -- errors in errors remain
but i am pushing it over now so it is available on the web

Revision 1.18 - (view) (annotate) - [select for diffs]
Tue Oct 1 01:57:44 2013 UTC (9 years, 11 months ago) by mbobra
Branch: MAIN
CVS Tags: Ver_8-1
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 , to selected 1.22
added an "if jz eq nan, skip" line in SAVNCPP calculation

Revision 1.17 - (view) (annotate) - [select for diffs]
Wed Jul 24 02:35:08 2013 UTC (10 years, 2 months ago) by mbobra
Branch: MAIN
Changes since 1.16: +17 -7 lines
Diff to previous 1.16 , to selected 1.22
corrected indexing in the computation of jz_err in computeJz()

Revision 1.16 - (view) (annotate) - [select for diffs]
Thu Jul 18 00:06:57 2013 UTC (10 years, 2 months ago) by mbobra
Branch: MAIN
Changes since 1.15: +36 -36 lines
Diff to previous 1.15 , to selected 1.22
removed printf statements

Revision 1.15 - (view) (annotate) - [select for diffs]
Mon Jul 8 23:02:22 2013 UTC (10 years, 2 months ago) by mbobra
Branch: MAIN
Changes since 1.14: +91 -102 lines
Diff to previous 1.14 , to selected 1.22
Changed all sums to doubles instead of floats, since there is a significant loss of precision in summing millions of floats:

P% cat prec.c
#include <stdio.h>
#include <stdlib.h>

main()
  {
  float sum = 0.0;
  double dsum = 0.0;
  int n = 13000000;
  int i;

  for (i=0; i<n; i++)
    {
    sum += 1.333;
    dsum += 1.333;
    }

  printf("avg = %f, davg = %f\n", sum/n, dsum/n);
  }

P% cc prec.c -o prec
P% prec
avg = 1.181585, davg = 1.333000
P%

Revision 1.14 - (view) (annotate) - [select for diffs]
Thu Jul 4 02:16:52 2013 UTC (10 years, 2 months ago) by mbobra
Branch: MAIN
Changes since 1.13: +151 -83 lines
Diff to previous 1.13 , to selected 1.22
now contains a unique cvs version number
initialized some uninitalized variables

Revision 1.13 - (view) (annotate) - [select for diffs]
Fri May 31 22:47:15 2013 UTC (10 years, 3 months ago) by mbobra
Branch: MAIN
Changes since 1.12: +5 -4 lines
Diff to previous 1.12 , to selected 1.22
reinstated old version of calculating mean free energy; total free energy remains unchanged

Revision 1.12 - (view) (annotate) - [select for diffs]
Thu May 30 23:45:29 2013 UTC (10 years, 3 months ago) by mbobra
Branch: MAIN
Changes since 1.11: +3 -8 lines
Diff to previous 1.11 , to selected 1.22
Hasty last time! Clean-up and modified error in mean free energy calculation.

Revision 1.11 - (view) (annotate) - [select for diffs]
Thu May 30 23:26:02 2013 UTC (10 years, 3 months ago) by mbobra
Branch: MAIN
Changes since 1.10: +17 -26 lines
Diff to previous 1.10 , to selected 1.22
Corrected factor of 8*PI in total and mean free energy calculation

Revision 1.10 - (view) (annotate) - [select for diffs]
Tue May 21 00:01:34 2013 UTC (10 years, 4 months ago) by mbobra
Branch: MAIN
Changes since 1.9: +60 -295 lines
Diff to previous 1.9 , to selected 1.22
Oops, last commit used a 6th-order finite difference method. I replace it with a second-order finite difference method.

Revision 1.9 - (view) (annotate) - [select for diffs]
Mon May 20 23:55:32 2013 UTC (10 years, 4 months ago) by mbobra
Branch: MAIN
Changes since 1.8: +490 -156 lines
Diff to previous 1.8 , to selected 1.22
Rewrote module to compute errors using formal error propagation and VFISV error arrays

Revision 1.8 - (view) (annotate) - [select for diffs]
Sat Feb 9 02:39:20 2013 UTC (10 years, 7 months ago) by mbobra
Branch: MAIN
CVS Tags: Ver_8-0
Changes since 1.7: +8 -8 lines
Diff to previous 1.7 , to selected 1.22
re-modified Jz calculation (a bit hasty last time)

Revision 1.7 - (view) (annotate) - [select for diffs]
Fri Feb 8 23:41:13 2013 UTC (10 years, 7 months ago) by mbobra
Branch: MAIN
Changes since 1.6: +1 -2 lines
Diff to previous 1.6 , to selected 1.22
corrected error in rsun_ref / rsun_obs

Revision 1.6 - (view) (annotate) - [select for diffs]
Tue Feb 5 18:45:55 2013 UTC (10 years, 7 months ago) by mbobra
Branch: MAIN
Changes since 1.5: +15 -0 lines
Diff to previous 1.5 , to selected 1.22
Only changed documentation

Revision 1.5 - (view) (annotate) - [select for diffs]
Mon Jan 14 18:27:45 2013 UTC (10 years, 8 months ago) by mbobra
Branch: MAIN
Changes since 1.4: +93 -86 lines
Diff to previous 1.4 , to selected 1.22
Use a smoothed jz array using fresize.h routines.
Modified the methodology for calculating alpha.

Revision 1.4 - (view) (annotate) - [select for diffs]
Tue Dec 18 23:05:10 2012 UTC (10 years, 9 months ago) by mbobra
Branch: MAIN
Changes since 1.3: +32 -18 lines
Diff to previous 1.3 , to selected 1.22
some nans were being propagated into the spaceweather calculations; this is fixed

Revision 1.3 - (view) (annotate) - [select for diffs]
Tue Oct 23 18:42:56 2012 UTC (10 years, 11 months ago) by mbobra
Branch: MAIN
Changes since 1.2: +42 -28 lines
Diff to previous 1.2 , to selected 1.22
Modified code to select pixels in conf_disambig map that are greater than 70 and pixels in bitmap that are greater than 30.

Revision 1.2 - (view) (annotate) - [select for diffs]
Mon Aug 27 19:55:49 2012 UTC (11 years ago) by xudong
Branch: MAIN
CVS Tags: Ver_7-0, Ver_7-1
Changes since 1.1: +11 -21 lines
Diff to previous 1.1 , to selected 1.22
per Monica's request

Revision 1.1 - (view) (annotate) - [select for diffs]
Thu Aug 23 08:38:33 2012 UTC (11 years, 1 month ago) by xudong
Branch: MAIN
CVS Tags: Ver_6-4
Diff to selected 1.22
Update functioning code sharp.c per Monica's request

Convenience Links

Links to HEAD: (view) (annotate) Links to Ver_8-2: (view) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a