|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectstella.util.GuiderMagnitudes
public class GuiderMagnitudes
We fit data from a file to obtain a general photometric solution to the STELLA guiding camera. The function we fit is
mag_inst=mag+a0*x+a1*(B-V)+a2.The data is provided in an ascii-file, the first column is the instrumental magnitude, second is the V magnitude from the catalog, third the color index, fourth and last the airmass. The format is compliant with the output of
MirrorData#Extinction.
| Field Summary | |
|---|---|
private VectorG[] |
aircolor
The measurement points. |
private VectorG |
dmag
The measurements, i.e. |
private GeneralLinearRegression |
glr
The general linear least squres solver. |
| Constructor Summary | |
|---|---|
GuiderMagnitudes(File columns)
The argument is the data file. |
|
| Method Summary | |
|---|---|
static void |
main(String[] arg)
We read the input data from the file provided. |
private VectorG |
solve()
Solves for the zero point, the k and epsilon. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private VectorG dmag
private VectorG[] aircolor
private GeneralLinearRegression glr
| Constructor Detail |
|---|
public GuiderMagnitudes(File columns)
| Method Detail |
|---|
private VectorG solve()
public static void main(String[] arg)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||