Skip to content
Open
Show file tree
Hide file tree
Changes from 233 commits
Commits
Show all changes
240 commits
Select commit Hold shift + click to select a range
35d44d8
commented subroutine
aburrell Jun 14, 2019
5f21122
Update make_grid.c
aburrell Jun 14, 2019
bba5131
Create read_fitacf.c
aburrell Jun 14, 2019
d6a467e
file rename
aburrell Jun 14, 2019
b3585ca
Create grid_funcs.c
aburrell Jun 14, 2019
8a9d915
Create write_scan.c
aburrell Jun 14, 2019
f28d93d
Update read_fit.c
aburrell Jun 14, 2019
7b78f22
Create makefile
aburrell Jun 14, 2019
2011c5d
renamed directory
aburrell Jun 14, 2019
905babe
added median_fit_v1.0
hannahhosley Jun 24, 2019
08b07df
Removed unnecessary routine
aburrell Oct 18, 2019
6d8b9a4
Update write_scan.c
aburrell Oct 18, 2019
8e7c406
Create multscan.h
aburrell Oct 18, 2019
1deb4dd
updated routines
aburrell Oct 18, 2019
3e87e08
Fixed multscan.h file not found error
Oct 18, 2019
6383902
Update read_fit.c
aburrell Oct 18, 2019
88d7781
LCL: update .gitignore to prevent messy commits
aburrell Oct 25, 2019
b0a9d5f
LCL: update .gitignore
aburrell Oct 25, 2019
2c2a4aa
BUG: compilaton bugs
aburrell Oct 25, 2019
de6dd8f
STY: trailing whitespace in makefile
aburrell Nov 8, 2019
00476ac
STY: radar.c
aburrell Nov 8, 2019
2df6621
ENH: moved read_fit_v1.0 to tools
aburrell Nov 8, 2019
b1bc1e5
ENH: generalized loading routines
aburrell Nov 15, 2019
65881cc
ENH: removed unused libraries
aburrell Nov 15, 2019
12b433b
STY: whitespace
aburrell Nov 15, 2019
cff7cd2
ENH: Added make_fov
aburrell Nov 15, 2019
156e0b1
ENH: Added make/free routines
aburrell Nov 22, 2019
b620f39
ENH: added elevation routine
aburrell Apr 28, 2021
c718510
ENH: added single-beam groundscatter eval
aburrell Apr 28, 2021
9205032
ENH: added autosave pattern to gitignore
aburrell Apr 28, 2021
e273c6c
BUG: debugged read_fit
aburrell Apr 28, 2021
1aa037d
ENH: updated structures
aburrell Apr 28, 2021
2844a9a
ENH: improved make_fov outline
aburrell Apr 28, 2021
ce5e2e8
ENH: created update_beam frame
aburrell Apr 28, 2021
333f2b3
BUG: fixed DCE hardware file
aburrell Apr 28, 2021
13e8574
ENH: started update_scan framework
aburrell Apr 28, 2021
bca9151
ENH: adjust multbsid struct
aburrell May 20, 2021
443f668
DEL: remove duplicate code
aburrell May 20, 2021
06eac90
BUG: fix eval_groundscatter inputs
aburrell May 20, 2021
6541942
ENH: added partial eval_scan_fov code
aburrell May 20, 2021
68a53bc
ENH: added location routines
aburrell May 20, 2021
8c22604
ENH: improved the update_beam routine
aburrell May 20, 2021
2d758ed
ENH: added more elements to scan code
aburrell May 20, 2021
f71371f
ENH: added routines to determine alt groups
aburrell May 20, 2021
9935561
ENH: added sort utilities
aburrell May 24, 2021
164ae6e
ENH: outlined least-squares fitting
aburrell May 24, 2021
f353178
ENH: update to altitude selection
aburrell Jun 15, 2021
2312aaa
ENH: added stat utilities
aburrell Jun 17, 2021
bb09396
ENH: extended beam evaluation
aburrell Jun 17, 2021
0e53391
ENH: finished update_scan routine
aburrell Jul 7, 2021
76c7748
BUG: fixed scan/beam assigment
aburrell Jul 8, 2021
1f2f417
ENH: added source files to makefile
aburrell Jul 8, 2021
5b0dc8d
ENH: copied load_fit to local directory
aburrell Jul 8, 2021
ac8404f
ENH: created frequency band routine
aburrell Jul 8, 2021
644f2b1
ENH: updated main
aburrell Jul 8, 2021
e9cae08
ENH: add help string
aburrell Jul 9, 2021
d60669f
ENH: added external files to local directory
aburrell Jul 9, 2021
b434a7a
BUG: added missing routine
aburrell Jul 9, 2021
0061d7e
BUG: fix bugs identified in compilation
aburrell Jul 9, 2021
c0a8e2a
ENH: created routine for frequency exploration
aburrell Jul 14, 2021
78300c6
BUG: fixed utility compilation bugs
aburrell Jul 14, 2021
1bbeab9
STY: removed commented code
aburrell Jul 14, 2021
5310f5a
BUG: added mission option to help
aburrell Jul 14, 2021
6d2b725
BUG: fixed compilation errors in sort routines
aburrell Jul 14, 2021
359cb89
ENH: finished writing `select_alt_groups`
aburrell Jul 14, 2021
6bbd50f
BUG: fixed some compilation errors
aburrell Jul 14, 2021
3e11ae7
BUG: fixed many compilation errors
aburrell Jul 14, 2021
65ef766
ENH: created multscan
aburrell Jul 14, 2021
d043300
ENH: updated BSID structures
aburrell Jul 14, 2021
5999cc2
MAINT: removed `get_mult_scan_tfreq_band`
aburrell Jul 14, 2021
87a11e1
ENH: added `slant_range` routine
aburrell Jul 14, 2021
72f92ba
MAINT: moved old routine
aburrell Jul 14, 2021
8812dfd
ENH: saved testing files
aburrell Jul 14, 2021
d3acf28
BUG: fix bug in frequency cycling
aburrell Jul 19, 2021
f89e25d
ENH: temporarily added frequency band routine
aburrell Jul 19, 2021
53af95f
ENH: updated multBSID structure
aburrell Jul 19, 2021
58696df
ENH: temporarily added cnvtcoord
aburrell Jul 19, 2021
517d562
ENH: change elv routine inputs
aburrell Jul 19, 2021
3f78414
ENH: updated basic structure
aburrell Jul 19, 2021
aa2a995
ENH: temporarily remove makefile
aburrell Jul 19, 2021
851d5ab
ENH: moved scan cycling
aburrell Jul 19, 2021
b2f0a3e
BUG: fixed error in abs call
aburrell Jul 19, 2021
0a37d37
ENH: added `gammaq` definition to header
aburrell Jul 19, 2021
b094b51
BUG: fixed compilation errors
aburrell Jul 19, 2021
e383da2
ENH: added phase lag error
aburrell Jul 20, 2021
fbda7a5
ENH: load elevation data
aburrell Jul 20, 2021
ca70ee3
MAINT: moved old files
aburrell Jul 20, 2021
2901b01
MAINT: consolidated grid utilities
aburrell Jul 20, 2021
deed936
BUG: fixed compilation errors
aburrell Jul 20, 2021
b1fe771
ENH: added load_radar_site routine
aburrell Jul 20, 2021
bb748ec
BUG: fixed frequency filtering
aburrell Jul 21, 2021
58d0d2e
ENH: removed cfit support
aburrell Jul 21, 2021
a21044d
DOC: created make_fov xml doc file
aburrell Jul 21, 2021
e676b34
STY: moved files from `src`
aburrell Jul 21, 2021
0c17b83
BUG: fixed compiler warnings
aburrell Jul 21, 2021
f810541
BUG: fix PHI0 assignment
aburrell Jul 21, 2021
2eb0adc
DOC: updated docs
aburrell Jul 22, 2021
dd6c5b3
ENH: combined more grid utilities
aburrell Jul 22, 2021
d4fabc6
BUG: updated character assignment
aburrell Jul 22, 2021
f88087a
BUG: updated vheight calc to double
aburrell Jul 22, 2021
60e3c2e
BUG: fixed command line option bugs
aburrell Jul 22, 2021
462dc86
BUG: fixed load_radar_site bug
aburrell Jul 22, 2021
2779377
TST: moved test makefile
aburrell Jul 22, 2021
0015e54
TST: updated test file
aburrell Jul 22, 2021
f815acf
BUG: fixed alt selection bugs
aburrell Jul 22, 2021
4bb43c2
BUG: fixed scan cycle bugs
aburrell Jul 22, 2021
40641e1
ENH: adapted clip method in `int_argrelmax`
aburrell Jul 22, 2021
dc1ec1c
BUG: fixed load_fit_update_fov bugs
aburrell Jul 22, 2021
befbeee
BUG: fixed bugs in `update_beam`
aburrell Jul 22, 2021
0dcdc93
BUG: added missing comma
aburrell Jul 22, 2021
a11100e
ENH: added ascii write routine
aburrell Jul 22, 2021
d87b80e
BUG: fixed referencing errors
aburrell Jul 23, 2021
26d988b
ENH: added opposite FoV data as output
aburrell Jul 28, 2021
a18273c
BUG: fixed location routines
aburrell Jul 30, 2021
5e39f65
BUG: removed alias logic
aburrell Jul 30, 2021
0cb2f20
BUG: fixed memory leaks
aburrell Jul 30, 2021
8692f81
BUG: freed structure at the end
aburrell Jul 30, 2021
675b754
ENH: updated F_hmax
aburrell Jul 30, 2021
fe2a280
BUG: fixed bugs in scan evaluation
aburrell Aug 2, 2021
2891aed
ENH: added specific zeroing
aburrell Aug 2, 2021
e587f42
DOC: removed test code
aburrell Aug 3, 2021
b228055
ENH: added UT consistency test
aburrell Aug 5, 2021
cdf6ba5
TST: added debugging statement
aburrell Aug 5, 2021
f7a538d
ENH: reduced duplicate code
aburrell Aug 5, 2021
f5c9d4b
TST: removed test line
aburrell Aug 6, 2021
552ae56
BUG: relaxed slope requirement
aburrell Aug 6, 2021
ab3070e
BUG: updated inlier evaluation
aburrell Aug 6, 2021
63bc1e4
BUG: ensure `bad_fov` is set
aburrell Aug 6, 2021
87e2393
BUG: removed unused header
aburrell Aug 6, 2021
e1c6062
TST: try adding a threading library
aburrell Aug 6, 2021
4ede2a6
TST: added another header
aburrell Aug 6, 2021
7711362
TST: added llist.h header
aburrell Aug 6, 2021
6073d90
TST: added more include headers
aburrell Aug 6, 2021
6708b13
MAINT: removed find_frequency routine
aburrell Aug 6, 2021
96f3263
MAINT: removed `read_fit` routine
aburrell Aug 6, 2021
5d0578e
MAINT: removed old and test functions
aburrell Aug 6, 2021
bf511d2
MAINT: renamed utils
aburrell Aug 6, 2021
935dcaa
MAINT: separated scan utilities
aburrell Aug 6, 2021
cc59728
DOC: updated file header
aburrell Aug 6, 2021
640a498
TST: removed test line
aburrell Aug 6, 2021
f47a8a2
MAINT: updated utility calls
aburrell Aug 6, 2021
8844ebb
MAINT: removed extra lines
aburrell Aug 6, 2021
950a196
DOC: updated the license
aburrell Aug 6, 2021
0d4811e
STY: removed extra whitespace
aburrell Aug 6, 2021
97b1a8b
ENH: only write with data
aburrell Aug 6, 2021
af2e042
TST: added error catches
aburrell Aug 6, 2021
f4af1d9
BUG: added point limits
aburrell Aug 9, 2021
868095b
BUG: moved pointer init
aburrell Aug 9, 2021
ec8e207
STY: updated inline comments
aburrell Aug 10, 2021
e6877d5
DOC: updated comments
aburrell Aug 10, 2021
d781442
STY: improved spacing
aburrell Aug 10, 2021
76cb625
BUG: removed unused input variable
aburrell Aug 10, 2021
e7fbbf3
BUG: fixed memory leaks
aburrell Aug 10, 2021
efe6706
ENH: added argsort for int
aburrell Aug 25, 2021
2f1fc5f
ENH: added multi-peak gaussian
aburrell Aug 25, 2021
cd966f1
ENH: updated fit criteria
aburrell Aug 25, 2021
ca21124
ENH: updated alt group selection
aburrell Aug 25, 2021
a0784a7
ENH: added mult-beam time option
aburrell Aug 25, 2021
b926031
ENH: updated azimuth eval
aburrell Aug 27, 2021
3fbebaa
ENH: changed swap criteria
aburrell Aug 27, 2021
b9804ef
MAINT: fixed small style issues
aburrell Aug 30, 2021
0c93422
DEL: removed temporary files
aburrell Sep 23, 2021
ec2eaf8
DOC: updated licenses
aburrell Sep 23, 2021
e5e2f1c
MAINT: removed old declaration
aburrell Sep 23, 2021
244c3df
MAINT: updated use of libaries
aburrell Sep 23, 2021
65ec84a
STY: moved elv calc to library
aburrell Sep 27, 2021
73f775b
STY: moved position routines
aburrell Sep 27, 2021
72551c6
BUG: added missing libraries
aburrell Sep 27, 2021
81a3896
MAINT: removed excess whitespace
aburrell Sep 27, 2021
175f1df
ENH: created a propagation library
aburrell Sep 27, 2021
eaf1577
ENH: utilized propagation library
aburrell Sep 27, 2021
fb3c12b
DOC: updated eval GS docs
aburrell Sep 28, 2021
efd4512
ENH: added sort library
aburrell Sep 28, 2021
201cd18
ENH: added fitmultbsid library
aburrell Sep 29, 2021
18738df
ENH: added stats library
aburrell Sep 30, 2021
2ebce9d
ENH: moved gamma functions to stats
aburrell Oct 1, 2021
bb6b60e
DEL: removed temporary file
aburrell Oct 1, 2021
5ac8abf
ENH: adapted to use new gamma
aburrell Oct 1, 2021
cc13402
ENH: added linear fit library
aburrell Oct 5, 2021
a517e1f
BUG: fixed include statement
aburrell Oct 5, 2021
275d063
ENH: added `load_radar_site` routine
aburrell Oct 5, 2021
f2187d7
BUG: removed duplicate line in makefile
aburrell Oct 5, 2021
be01a1e
MAINT: fixed spelling
aburrell Oct 5, 2021
7766e85
ENH: added binary write routine
aburrell Oct 7, 2021
e5a6e5b
ENH: finished binary write routine
aburrell Oct 8, 2021
5b5799c
ENH: updated input options
aburrell Oct 12, 2021
bb328d4
STY: added missing whitespace
aburrell Oct 12, 2021
15f029d
DEL: removed savefile
aburrell Oct 12, 2021
18298fe
DOC: updated make_fov examples
aburrell Oct 13, 2021
fd6a3d6
STY: whitespace
aburrell Oct 18, 2021
6a8d5df
STY: clarified NULL casting
aburrell Oct 18, 2021
60c410a
ENH: added `RadarParmReset` function
aburrell Oct 18, 2021
41612bd
STY: reduced length of strings
aburrell Oct 18, 2021
b8a8ca2
MAINT: updated default group
aburrell Oct 18, 2021
aff020b
STY: standardized whitespace
aburrell Oct 18, 2021
4341b4a
BUG: added free for variable
aburrell Oct 18, 2021
e1e0235
BUG: fixed bugs in binary write
aburrell Oct 18, 2021
80c7ee5
BUG: fixed write bugs
aburrell Oct 20, 2021
70a4c7d
ENH: added a binary read routine
aburrell Oct 20, 2021
8ffd6b4
ENH: added FitMultBSID read tool
aburrell Oct 21, 2021
76e4b5b
BUG: added debug statements
aburrell Oct 21, 2021
2fb7f01
BUG: debug attempts
aburrell Nov 19, 2021
9948389
BUG: added missing libraries
aburrell Nov 22, 2021
7186a23
BUG: added stats library
aburrell Nov 22, 2021
3e86a69
BUG: added sort library
aburrell Nov 22, 2021
2af6fc6
BUG: fixed include
aburrell Nov 22, 2021
66f3f79
ENH: added sort library
aburrell Nov 22, 2021
c03ea7a
BUG: changed library order
aburrell Nov 22, 2021
4ccb1e6
BUG: fixed binary reading
aburrell Nov 22, 2021
6343760
BUG: fixed string initialization
aburrell Nov 23, 2021
44d9def
BUG: updated time setting
aburrell Nov 23, 2021
de4b382
STY: removed extra whitespace
aburrell Nov 23, 2021
ac15d87
DOC: added FitMultBSID documentation
aburrell Nov 23, 2021
22c12f9
DOC: update docstring
aburrell Nov 23, 2021
3665177
BUG: fixed multi-file reading
aburrell Dec 9, 2021
5ebf791
STY: removed sprintf string appending
aburrell Feb 8, 2022
9ad9d73
BUG: fixed mult-file read
aburrell Feb 8, 2022
9a6fcdd
BUG: fixes for new tdiff struct
aburrell Apr 7, 2022
6621968
DOC: update elevation docstring
aburrell Apr 8, 2022
ac50601
DOC: added prop warning
aburrell Apr 8, 2022
f54579d
ENH: added idl.tar.gz to .gitignore
aburrell Jun 7, 2023
cdc02b5
BUG: init pointer
aburrell May 16, 2025
5f0a765
ENH: added extreme value analysis
aburrell May 16, 2025
6558afe
ENH: added extreme fov support
aburrell May 16, 2025
11313e6
ENH: updated extreme fov and fov order
aburrell May 16, 2025
e738cc9
ENH: added new gflg
aburrell May 16, 2025
9a08609
ENH: initialize new gflg value
aburrell May 16, 2025
9418072
ENH: update beam evaluation
aburrell May 16, 2025
65d0dad
ENH: updated groundscatter evaluation
aburrell May 16, 2025
45e0b15
BUG: re-add make_fit libraries
aburrell May 16, 2025
2e0ee47
BUG: fixed typo in structure
aburrell May 16, 2025
18d988e
BUG: removed unused variables
aburrell May 16, 2025
fec5a20
BUG: updated library version
aburrell May 16, 2025
b7f9cdc
DOC: Update tables/superdarn/hdw/hdw.dat.dce
aburrell May 16, 2025
f0396ec
REV: remove odd file
aburrell May 16, 2025
64c7d0c
Merge branch 'make_fov' of https://github.com/SuperDARN/rst into make…
aburrell May 16, 2025
466a191
REV: file should be there
aburrell May 16, 2025
aec1aed
STY: removed tabs
aburrell May 16, 2025
ba668fd
Merge branch 'develop' into make_fov
egthomas Nov 4, 2025
661198c
Fixing compilation errors in make_fov branch
egthomas Nov 4, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
*.so
*.o
*~
#*
.DS_Store

bin
Expand All @@ -14,6 +15,7 @@ bin
/lib
/log

codebase/superdarn/src.lib/tk/idl.tar.gz
codebase/general/src.lib/stdkey.1.5/src/make_palette

*errstr.h
Expand Down
20 changes: 20 additions & 0 deletions codebase/analysis/src.lib/linearfit.1.0/doc/linearfit.doc.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<library>
<project>analysis</project>
<name>linearfit</name>
<location>src.lib/linearfit</location>


<function>
<name>linear_regression</name>
<location>src.lib/linearfit</location>
<header>analysis/linearfit.h</header>
<syntax>int linear_regression(float x[], float y[], float sig[], int num, int mwt, float *intercept, float *sig_intercept, float *slope, float *sig_slope, float *chi2, float *q);</syntax>
<description><p>The <fn href="linear_regression.html">linear_regression</fn> function calculates linear regression for an array of independent and dependent variables, with optional errors.</p>
</description>
<returns><p>Returns the fitted slope and intercept (<ar>slope</ar>, <ar>intercept</ar>), their errors (<ar>sig_slope</ar>, <ar>sig_intercept</ar>), as well as the chi-squared and gamma results for the fit (<ar>chi2</ar>, <ar>q</ar>).</p>
</returns>
<error>If there are problems assigning data to the subarrays when performing the sorting, the routine will exit with 0.</error>
</function>

</library>
39 changes: 39 additions & 0 deletions codebase/analysis/src.lib/linearfit.1.0/include/linearfit.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/* linearfit.h
===========
Author: Angeline G. Burrell - NRL - 2021
This is a U.S. government work and not under copyright protection in the U.S.

This file is part of the Radar Software Toolkit (RST).

Disclaimer: RST is licensed under GPL v3.0. Please visit
<https://www.gnu.org/licenses/> to see the full license

Modifications:

*/

#ifndef _LINEARFIT_H
#define _LINEARFIT_H

#ifndef _RTYPES_H
#include "rtypes.h"
#endif

#ifndef _STATS_H
#include "stats.h"
#endif

static float sqrarg;
#ifndef SQR
#define SQR(a) ((sqrarg = (a)) == 0.0 ? 0.0 : sqrarg * sqrarg);
#endif

#ifndef MINSIG
#define MINSIG 1.0e-5
#endif

int linear_regression(float x[], float y[], float sig[], int num, int mwt,
float *intercept, float *sig_intercept, float *slope,
float *sig_slope, float *chi2, float *q);

#endif
110 changes: 110 additions & 0 deletions codebase/analysis/src.lib/linearfit.1.0/src/linearfit.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
/* linearfit.c
===========
Author: Angeline G. Burrell - NRL - 2021
This is a U.S. government work and not under copyright protection in the U.S.

This file is part of the Radar Software Toolkit (RST).

Disclaimer: RST is licensed under GPL v3.0. Please visit
<https://www.gnu.org/licenses/> to see the full license

Modifications:

*/

#include <stdio.h>
#include <math.h>

#include "linearfit.h"

/**
* @brief perform a linear regression
*
* @params[in] x - independent variable array
* y - dependent variable array
* sig - error of the dependent variable array
* num - number of variables in x, y, and sig
* mwt - boolean, if true sig is used to calculate weights
*
* @params[out] intercept - pointer to the fitted intercept
* sig_intercept - pointer to the error of the intercept
* slope - pointer to the fitted slope
* sig_slope - pointer to the error of the slope
* chi2 - pointer to the Chi-squared value
* q - pointer to the gamma function output
*
* @references Numerical Recipes in C, 2nd Edition
**/

int linear_regression(float x[], float y[], float sig[], int num, int mwt,
float *intercept, float *sig_intercept, float *slope,
float *sig_slope, float *chi2, float *q)
{
int n, status = 1;

float wt, t, sxoss, sx, sy, st2, ss, sigdat;

sx = sy = st2 = 0.0;
*slope = 0.0;

if(mwt)
{
for(ss = 0.0, n = 0; n < num; n++)
{
if(sig[n] == 0.0) sig[n] = MINSIG;

wt = 1.0 / (sig[n] * sig[n]);
ss += wt;
sx += x[n] * wt;
sy += y[n] * wt;
}
}
else
{
for(ss = num, n = 0; n < num; n++)
{
sx += x[n];
sy += y[n];
}
}

sxoss = sx / ss;

for(n = 0; n < num; n++)
{
t = (mwt) ? (x[n] - sxoss) / sig[n] : x[n] - sxoss;
st2 += t * t;
*slope += t * y[n];
}

*slope /= st2;
*intercept = (sy - sx * (*slope)) / ss;
*sig_intercept = sqrt((1.0 + sx * sx / (ss * st2)) / ss);
*sig_slope = sqrt(1.0 / st2);

/* Calculate Chi2 */

*chi2 = 0.0;
*q = 1.0;

if(mwt == 0)
{
for(n = 0; n < num; n++)
*chi2 += SQR(y[n] - (*intercept) - (*slope) * x[n]);

sigdat = sqrt((*chi2) / (float)(num - 2));
*sig_slope *= sigdat;
*sig_intercept *= sigdat;
status = 0;
}
else
{
for(n = 0; n < num; n++)
*chi2 += SQR((y[n] - (*intercept) - (*slope) * x[n]) / sig[n]);

if(num > 2) *q = (float)gammaq(0.5 * (double)(num - 2),
0.5 * (double)(*chi2));
}

return(status);
}
24 changes: 24 additions & 0 deletions codebase/analysis/src.lib/linearfit.1.0/src/makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Makefile for the linearfit library
# ==================================
# Author: Angeline G. Burrell, NRL (2021)
# This is a U.S. government work and not under copyright protection in the U.S.
#
# Disclaimer: RST is licensed under GPL v3.0. Please visit
# <https://www.gnu.org/licenses/> to see the full license
#
# Modifications:

include $(MAKECFG).$(SYSTEM)

INCLUDE = -I$(IPATH)/base -I$(IPATH)/general -I$(IPATH)/analysis -I../include
INC = $(IPATH)/analysis
OUTPUT = linearfit
DSTPATH = $(LIBPATH)

SRC = linearfit.c
OBJS = $(SRC:.c=.o)

LINK = "1"

include $(MAKELIB).$(SYSTEM)

Loading
Loading