ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/JSOC/proj/sharp/apps/sharp.c
Revision 1.38 - (view) (annotate) - [select for diffs]
Wed Mar 18 00:28:26 2015 UTC (8 years, 6 months ago) by xudong
Branch: MAIN
CVS Tags: Ver_8-10, Ver_8-11, Ver_8-12, Ver_8-8, Ver_9-0, Ver_9-1, Ver_9-2, Ver_9-3, Ver_9-4, Ver_9-41
Changes since 1.37: +20 -3 lines
Diff to previous 1.37
Fixed dimension differences caused by varying LONDTMAX-LONDTMIN
the maximum variation is found to be 1.2d-4 deg
ncol around 0.5 \pm var are rounded down
NOTE: the Jun 2014 fix does not work for general cases

Revision 1.37 - (view) (annotate) - [select for diffs]
Wed Mar 11 21:46:52 2015 UTC (8 years, 6 months ago) by mbobra
Branch: MAIN
Changes since 1.36: +1 -2 lines
Diff to previous 1.36
removed double free of jz_smooth()

Revision 1.36 - (view) (annotate) - [select for diffs]
Wed Mar 4 04:45:25 2015 UTC (8 years, 6 months ago) by mbobra
Branch: MAIN
Changes since 1.35: +2 -1 lines
Diff to previous 1.35
freed two arrays

Revision 1.35 - (view) (annotate) - [select for diffs]
Mon Mar 2 21:41:15 2015 UTC (8 years, 6 months ago) by mbobra
Branch: MAIN
Changes since 1.34: +3 -3 lines
Diff to previous 1.34
out of bounds problem still remained in Function 8; fixed it

Revision 1.34 - (view) (annotate) - [select for diffs]
Fri Feb 27 19:50:37 2015 UTC (8 years, 6 months ago) by mbobra
Branch: MAIN
Changes since 1.33: +22 -9 lines
Diff to previous 1.33
There was a counting out-of-bounds problem with the functions that produce MEANGBZ, MEANGBT, and MEANGBH. I re-coded it such that the error terms are calculated separately; further, the error arrays are initalized to zero and the edge pixels are ignored (since they will be selected out by the bitmap and conf_disambig bitmaps anyway).

Revision 1.33 - (view) (annotate) - [select for diffs]
Sun Jan 25 18:28:41 2015 UTC (8 years, 7 months ago) by mbobra
Branch: MAIN
CVS Tags: Ver_8-7
Changes since 1.32: +3 -1 lines
Diff to previous 1.32
forgot to free the err_termX arrays

Revision 1.32 - (view) (annotate) - [select for diffs]
Fri Jan 23 19:21:09 2015 UTC (8 years, 8 months ago) by mbobra
Branch: MAIN
Changes since 1.31: +4 -2 lines
Diff to previous 1.31
changed the numerical derivative for Jz

Revision 1.31 - (view) (annotate) - [select for diffs]
Mon Jun 16 04:45:18 2014 UTC (9 years, 3 months ago) by xudong
Branch: MAIN
CVS Tags: Ver_8-5, Ver_8-6
Changes since 1.30: +9 -7 lines
Diff to previous 1.30
fixed dimension inconsitencies of CEA in findPosition()

Revision 1.30 - (view) (annotate) - [select for diffs]
Thu Jun 5 21:27:19 2014 UTC (9 years, 3 months ago) by mbobra
Branch: MAIN
Changes since 1.29: +40 -4 lines
Diff to previous 1.29

added lorentz force function to calculate keys TOTFX, TOTFY, TOTFZ, TOTBSQ, EPSX, EPSY, EPSZ

Revision 1.29 - (view) (annotate) - [select for diffs]
Mon Jun 2 19:47:10 2014 UTC (9 years, 3 months ago) by mbobra
Branch: MAIN
Changes since 1.28: +95 -83 lines
Diff to previous 1.28
jesper's gaussian convolution function left a hwidth stripe of 0's along the edge of the image. i fixed this by padding with zeros prior to convolving.

Revision 1.28 - (view) (annotate) - [select for diffs]
Fri May 16 21:56:11 2014 UTC (9 years, 4 months ago) by mbobra
Branch: MAIN
Changes since 1.27: +14 -6 lines
Diff to previous 1.27
There was a problem in the way that I was calling fsample(). fsample() takes several arguments, one of which are the x and y dimensions of the output array and the scale. If the following occurs:


nx_out > floor((ny_in-1)/scale + 1)
ny_out > floor((ny_in-1)/scale + 1),

where n*_out are the dimensions of the output array and n*_in are the dimensions of the input array, fsample() will usually result in a segfault (though not always, depending on how the segfault was accessed.)

Revision 1.27 - (view) (annotate) - [select for diffs]
Wed Mar 19 20:46:26 2014 UTC (9 years, 6 months ago) by xudong
Branch: MAIN
CVS Tags: Ver_8-4
Changes since 1.26: +2 -1 lines
Diff to previous 1.26
added ambweak for FD

Revision 1.26 - (view) (annotate) - [select for diffs]
Wed Mar 19 20:37:18 2014 UTC (9 years, 6 months ago) by xudong
Branch: MAIN
Changes since 1.25: +8 -1 lines
Diff to previous 1.25
added fix to propagate ambpatch key for FD

Revision 1.25 - (view) (annotate) - [select for diffs]
Thu Mar 13 18:46:09 2014 UTC (9 years, 6 months ago) by mbobra
Branch: MAIN
Changes since 1.24: +31 -32 lines
Diff to previous 1.24
Uncommented R

Revision 1.24 - (view) (annotate) - [select for diffs]
Fri Mar 7 21:15:54 2014 UTC (9 years, 6 months ago) by xudong
Branch: MAIN
Changes since 1.23: +10 -4 lines
Diff to previous 1.23
commented out computeR
freed a few drms_arrays in computeSWIndex
fixed bx_err in line 1434

Revision 1.23 - (view) (annotate) - [select for diffs]
Wed Mar 5 19:39:32 2014 UTC (9 years, 6 months ago) by xudong
Branch: MAIN
Changes since 1.22: +352 -142 lines
Diff to previous 1.22
fixed bunit
check if disamb should be used

Revision 1.22 - (view) (annotate) - [select for diffs]
Wed Feb 19 14:59:25 2014 UTC (9 years, 7 months ago) by arta
Branch: MAIN
Changes since 1.21: +149 -337 lines
Diff to previous 1.21
Revert the versions of several sharps source-code files to make them intercompatible.

Revision 1.21 - (view) (annotate) - [select for diffs]
Tue Feb 18 23:35:31 2014 UTC (9 years, 7 months ago) by mbobra
Branch: MAIN
Changes since 1.20: +133 -104 lines
Diff to previous 1.20
added R_VALUE; changed DATE to a time; formatting and documentation

Revision 1.20 - (view) (annotate) - [select for diffs]
Thu Feb 13 04:41:06 2014 UTC (9 years, 7 months ago) by xudong
Branch: MAIN
Changes since 1.19: +226 -67 lines
Diff to previous 1.19
1. added disambig to azimuth during error prop
2. changed usage for disambig: bit 2 for full disk (radial acute), bit 0 for patch
3. fixed disambig cutout for patch: all even are now 0, all odd are 7

Revision 1.19 - (view) (annotate) - [select for diffs]
Wed Nov 13 05:09:30 2013 UTC (9 years, 10 months ago) by xudong
Branch: MAIN
CVS Tags: Ver_8-2, Ver_8-3
Changes since 1.18: +2 -2 lines
Diff to previous 1.18
fixed azimuth for cutout
should be disambig[n] % 2
did not work for weak field

Revision 1.18 - (view) (annotate) - [select for diffs]
Sat Nov 2 20:31:08 2013 UTC (9 years, 10 months ago) by mbobra
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17
changed input parameter to shear angle function (to accomodate updated error analysis)

Revision 1.17 - (view) (annotate) - [select for diffs]
Tue Aug 13 01:35:07 2013 UTC (10 years, 1 month ago) by xudong
Branch: MAIN
CVS Tags: Ver_8-1
Changes since 1.16: +79 -29 lines
Diff to previous 1.16
Changes in remapping of bitmap and conf_disambig, now near neighbor without anti-aliasing

Revision 1.16 - (view) (annotate) - [select for diffs]
Thu Jul 4 02:14:14 2013 UTC (10 years, 2 months ago) by mbobra
Branch: MAIN
Changes since 1.15: +26 -22 lines
Diff to previous 1.15
updates bookkeeping keywords CODEVER7
changed value of cdelt1 to compute the correct conversion of degrees to arcsec

Revision 1.15 - (view) (annotate) - [select for diffs]
Thu Jun 27 01:58:39 2013 UTC (10 years, 2 months ago) by xudong
Branch: MAIN
Changes since 1.14: +234 -191 lines
Diff to previous 1.14
reinstate ephemeris keywords in setKeys()

Revision 1.14 - (view) (annotate) - [select for diffs]
Tue May 21 17:06:32 2013 UTC (10 years, 4 months ago) by mbobra
Branch: MAIN
Changes since 1.13: +158 -131 lines
Diff to previous 1.13
siginificant update -- changed module to calculate all errors in spaceweather quantities using error arrays returned by VFISV

Revision 1.13 - (view) (annotate) - [select for diffs]
Thu May 9 19:40:54 2013 UTC (10 years, 4 months ago) by xudong
Branch: MAIN
Changes since 1.12: +5 -3 lines
Diff to previous 1.12
now check Missing lons instead of missing SIZE

Revision 1.12 - (view) (annotate) - [select for diffs]
Thu May 9 19:20:43 2013 UTC (10 years, 4 months ago) by xudong
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11
changed T_FRST to T_FRST1 for locating the SHARPs. T_FRST may not exist

Revision 1.11 - (view) (annotate) - [select for diffs]
Thu Jan 24 00:05:58 2013 UTC (10 years, 8 months ago) by xudong
Branch: MAIN
CVS Tags: Ver_8-0
Changes since 1.10: +1 -1 lines
Diff to previous 1.10
*** empty log message ***

Revision 1.10 - (view) (annotate) - [select for diffs]
Wed Jan 23 21:48:26 2013 UTC (10 years, 8 months ago) by xudong
Branch: MAIN
Changes since 1.9: +51 -8 lines
Diff to previous 1.9
fixed ephemeris keywords

Revision 1.9 - (view) (annotate) - [select for diffs]
Mon Jan 14 19:51:56 2013 UTC (10 years, 8 months ago) by xudong
Branch: MAIN
Changes since 1.8: +26 -19 lines
Diff to previous 1.8
added Monica's fix

Revision 1.8 - (view) (annotate) - [select for diffs]
Mon Jan 7 22:03:47 2013 UTC (10 years, 8 months ago) by xudong
Branch: MAIN
Changes since 1.7: +9 -9 lines
Diff to previous 1.7
removed parent_segment setting
restored israw = 0

Revision 1.7 - (view) (annotate) - [select for diffs]
Thu Jan 3 03:53:18 2013 UTC (10 years, 8 months ago) by xudong
Branch: MAIN
Changes since 1.6: +13 -9 lines
Diff to previous 1.6
fixed output array type
drms_convert_inplace() was causing all images to be int
after removing it the result seems fine, even for char arrays
need further check though

Revision 1.6 - (view) (annotate) - [select for diffs]
Tue Dec 18 22:17:25 2012 UTC (10 years, 9 months ago) by xudong
Branch: MAIN
Changes since 1.5: +99 -88 lines
Diff to previous 1.5
Fixed memory leakage of 0.15G per rec; denoted with "Dec 18"

Revision 1.5 - (view) (annotate) - [select for diffs]
Tue Oct 23 19:35:37 2012 UTC (10 years, 11 months ago) by mbobra
Branch: MAIN
Changes since 1.4: +17 -17 lines
Diff to previous 1.4
Added mask and bitmask to pass into sharp functions.

Revision 1.4 - (view) (annotate) - [select for diffs]
Fri Sep 7 22:08:36 2012 UTC (11 years ago) by xudong
Branch: MAIN
CVS Tags: Ver_7-1
Changes since 1.3: +3 -2 lines
Diff to previous 1.3
version code

Revision 1.3 - (view) (annotate) - [select for diffs]
Fri Sep 7 02:14:02 2012 UTC (11 years ago) by xudong
Branch: MAIN
Changes since 1.2: +58 -10 lines
Diff to previous 1.2
added print statements, fix QUALITY keyword

Revision 1.2 - (view) (annotate) - [select for diffs]
Mon Aug 27 19:56:00 2012 UTC (11 years ago) by xudong
Branch: MAIN
CVS Tags: Ver_7-0
Changes since 1.1: +4 -8 lines
Diff to previous 1.1
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
Update functioning code sharp.c per Monica's request

Convenience Links

Links to HEAD: (view) (annotate) Links to Ver_8-11: (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