Differences between revisions 2 and 3
Revision 2 as of 2022-05-13 13:28:51
Size: 3535
Editor: DalyTerik
Comment:
Revision 3 as of 2022-05-13 14:00:40
Size: 2949
Editor: DalyTerik
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
REG files are written by [[stella]]. Stella writes out a REG files for each image in which stella successfully correlates stars. REG files contain information about the pixel/line locations of stars in images and camera information. The REG file list the CX VY CZ that you solved for, the predicted CX CY CZ, and then lists information for each star on a separate line. The REG files are used by [[distortion]] to compute an updated camera model, which can then be used in INIT_LITHOS and make_sumfiles.txt. REG files live in the REGFILES directory, which is parallel to LMKFILES, SUMFILES, etc. REG files are written by [[stella]]. Stella writes out a REG files for each image in which stella successfully correlates stars. REG files contain information about the pixel/line locations of stars in images and camera information. The REG file list the CX VY CZ that you solved for, the predicted CX CY CZ, and then lists information for each star on a separate line. The REG files are used by [[distortion]] to compute an updated camera model, which can then be used in INIT_LITHOS and make_sumfiles.txt. REG files live in the REGFILES directory, which is parallel to LMKFILES, SUMFILES, etc. They are meant to be a shortcut toward a poor man's aperture photometry to assess radiometric response.
Line 9: Line 9:
If a .REG file already exists, stella will use that information as a starting point when you re-run stella. If you want to start an image totally afresh, you must delete the pre-existing .REG file. Stella names MAG files as PICNAME.REG.
Line 11: Line 11:
Warning! If you have an existing REG file and then re-run the image through stella and do NOT solve for pointing, stella will delete the existing REG file!

Stella names REG files as PICNAME.REG.

== An annotated .REG file ==
== An annotated .MAG file ==
Line 17: Line 13:
   -0.9303361 -0.1242768 0.3450073 -0.9302355 -0.1243779 0.3452419 Cx, C0x --> The solved-for Cx and the predicted Cx.
    0.3498056 -0.5830977 0.7332347 0.3500547 -0.5830538 0.7331507 Cy, C0y --> The solved-for Cy and the predicted Cy.
    0.1100489 0.8028402 0.5859496 0.1101069 0.8028564 0.5859164 Cz, C0z --> The solved-for Cz and the predicted Cz.
    0.1078023 0.8029705 0.5861886 948.212 651.497 -0.088 0.209 W PX LN dx dy --> each line in this section of the REG file
                                                                                                               corresponds to a star. The columns are
                                                                                                               a unit vector to the star (first three columns),
                                                                                                               the pixel/line location of the star in the image
                                                                                                               (next two columns), and then the pixel/line residuals
   etc, one line in the file for each star that correlated in the image for the star (last two columns).
END 39 -0.014 0.067 -0.266 0.316 2628.33430 --> The last line of the file says how many stars exceeded
                                                                                                               the correlation limit (39, in this case). The next three
                                                                                                               numbers are the rotation about the X, Y, and Z axes in units
                                                                                                               of milliradians. The Z-axis rotation is a twist.
                                                                                                               I need to ask Bob what the second-to-last term in this row is.
                                                                                                               The last term is the focal length in mm solved from this image.
    catno corr sum dn mag --> the columns are the number of the star in the catalog (same as the number in TEMPFILE.ppm
                                          --> the correlation score for that star, the total number of DN summed over an circle with radius
    150632 0.883 362528 9.500 --> qsize (the final parameter in the stella inputs), and the stellar magnitude.
    150692 0.879 285433 9.820
    150182 0.905 366901 9.820
    151042 0.951 341694 9.910
    150068 0.915 203637 10.300
    150234 0.912 196155 10.340
    151380 0.953 203285 10.350
    150010 0.964 188350 10.390
    151014 0.933 214639 10.390
    150122 0.935 200106 10.410
    151432 0.927 190317 10.450
    150482 0.947 210444 10.460
    150758 0.903 180699 10.460
    150154 0.954 159825 10.530
    150248 0.858 199390 10.630
    150080 0.901 165230 10.790
    151240 0.968 165286 10.860
    150764 0.842 161857 10.870
    150426 0.946 142003 10.880
    150522 0.899 187723 10.910
    150744 0.920 101989 10.920
    150912 0.925 148504 10.960
    150940 0.931 141451 10.990
    151066 0.870 138391 11.020
    150686 0.890 130369 11.110
    150350 0.856 108177 11.160
    150820 0.960 130938 11.180
    150678 0.943 118386 11.190
    151216 0.918 106825 11.200
    150798 0.928 127300 11.230
    150626 0.859 107775 11.260
    150514 0.900 114116 11.300
    150720 0.901 99973 11.360
    151368 0.912 97339 11.420
    151224 0.941 116083 11.440
    150494 0.933 83160 11.450
    150258 0.904 113108 11.460
    151284 0.930 95273 11.460
END
    1.1400 0.9158 38 --> the PSF used for the Gaussian, something, and then the number of stars in the file.

REG Files

Category DART

Version 1.0

Description

REG files are written by stella. Stella writes out a REG files for each image in which stella successfully correlates stars. REG files contain information about the pixel/line locations of stars in images and camera information. The REG file list the CX VY CZ that you solved for, the predicted CX CY CZ, and then lists information for each star on a separate line. The REG files are used by distortion to compute an updated camera model, which can then be used in INIT_LITHOS and make_sumfiles.txt. REG files live in the REGFILES directory, which is parallel to LMKFILES, SUMFILES, etc. They are meant to be a shortcut toward a poor man's aperture photometry to assess radiometric response.

Stella names MAG files as PICNAME.REG.

An annotated .MAG file

    catno      corr     sum dn      mag   --> the columns are the number of the star in the catalog (same as the number in TEMPFILE.ppm
                                          --> the correlation score for that star, the total number of DN summed over an circle with radius
    150632     0.883    362528     9.500  --> qsize (the final parameter in the stella inputs), and the stellar magnitude.
    150692     0.879    285433     9.820
    150182     0.905    366901     9.820
    151042     0.951    341694     9.910
    150068     0.915    203637    10.300
    150234     0.912    196155    10.340
    151380     0.953    203285    10.350
    150010     0.964    188350    10.390
    151014     0.933    214639    10.390
    150122     0.935    200106    10.410
    151432     0.927    190317    10.450
    150482     0.947    210444    10.460
    150758     0.903    180699    10.460
    150154     0.954    159825    10.530
    150248     0.858    199390    10.630
    150080     0.901    165230    10.790
    151240     0.968    165286    10.860
    150764     0.842    161857    10.870
    150426     0.946    142003    10.880
    150522     0.899    187723    10.910
    150744     0.920    101989    10.920
    150912     0.925    148504    10.960
    150940     0.931    141451    10.990
    151066     0.870    138391    11.020
    150686     0.890    130369    11.110
    150350     0.856    108177    11.160
    150820     0.960    130938    11.180
    150678     0.943    118386    11.190
    151216     0.918    106825    11.200
    150798     0.928    127300    11.230
    150626     0.859    107775    11.260
    150514     0.900    114116    11.300
    150720     0.901     99973    11.360
    151368     0.912     97339    11.420
    151224     0.941    116083    11.440
    150494     0.933     83160    11.450
    150258     0.904    113108    11.460
    151284     0.930     95273    11.460
END
    1.1400    0.9158        38            --> the PSF used for the Gaussian, something, and then the number of stars in the file.

REG file (last edited 2022-05-20 12:55:28 by DalyTerik)