minimization
Class MinimizeChiSqr
java.lang.Object
minimization.MinimizeChiSqr
- All Implemented Interfaces:
- LineMinMethod
public class MinimizeChiSqr
- extends java.lang.Object
- implements LineMinMethod
|
Constructor Summary |
MinimizeChiSqr(double[][] ic,
int Method,
double Mstar,
int crvSamp,
int dataNum,
double[][] observe,
GenericList dataSets,
GenericList dataSetNames,
java.lang.String primaryTele,
double startTime,
double endTime)
|
|
Method Summary |
static double[][] |
append(double[][] arr1,
double[][] arr2)
|
static void |
copy(double[][] copied,
double[][] stored)
|
static void |
copy(double[] copied,
double[] stored)
|
double |
eval(double x)
|
void |
orbitMin(int[] mIndex)
|
void |
setFitWithTransits(boolean doFWT)
|
void |
setObservedTransits(transitsBag bag)
|
static void |
shellSort(double[][] arr,
int col,
int startRow,
int endRow)
|
static int[] |
trackShellSort(double[][] arr,
int col,
int startRow,
int endRow)
|
void |
velMin(int vInd,
double[] offsets)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MinimizeChiSqr
public MinimizeChiSqr(double[][] ic,
int Method,
double Mstar,
int crvSamp,
int dataNum,
double[][] observe,
GenericList dataSets,
GenericList dataSetNames,
java.lang.String primaryTele,
double startTime,
double endTime)
setObservedTransits
public void setObservedTransits(transitsBag bag)
setFitWithTransits
public void setFitWithTransits(boolean doFWT)
orbitMin
public void orbitMin(int[] mIndex)
velMin
public void velMin(int vInd,
double[] offsets)
eval
public double eval(double x)
- Specified by:
eval in interface LineMinMethod
append
public static double[][] append(double[][] arr1,
double[][] arr2)
shellSort
public static void shellSort(double[][] arr,
int col,
int startRow,
int endRow)
trackShellSort
public static int[] trackShellSort(double[][] arr,
int col,
int startRow,
int endRow)
copy
public static void copy(double[] copied,
double[] stored)
copy
public static void copy(double[][] copied,
double[][] stored)