Skip to content

Commit d2f6073

Browse files
Merge pull request #221 from CanardConfit/imported
[Automation] [2026-01-25] Mirroring from the Mercury repo
2 parents 455546e + 1812a09 commit d2f6073

File tree

8 files changed

+362
-164
lines changed

8 files changed

+362
-164
lines changed

astap_main.pas

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ interface
7272
IniFiles;{for saving and loading settings}
7373

7474
const
75-
astap_version='2026.01.15'; // astap_version := {$I %DATE%} + ' ' + {$I %TIME%});
75+
astap_version='2026.01.24'; // astap_version := {$I %DATE%} + ' ' + {$I %TIME%});
7676
type
7777
tshapes = record //a shape and it positions
7878
shape : Tshape;
@@ -1478,7 +1478,7 @@ function load_fits(filen:string;light {load as light or dark/flat},load_data,upd
14781478
end;
14791479
end
14801480
else
1481-
if ((header[i+2]='-') and (header[i+3]='A') and (header[i+4]='G')) then //JD_AVG
1481+
if ((header[i+2]='-') and (header[i+3]='A') and (header[i+4]='G')) then //JD-AVG
14821482
begin
14831483
// if head.date_avg='' then {DATE-AVG overrules any JD value}
14841484
begin
@@ -12602,12 +12602,26 @@ procedure Tmainform1.centre_lost_windowsClick(Sender: TObject);
1260212602

1260312603

1260412604
procedure Tmainform1.DisplayHint(Sender: TObject);
12605+
var
12606+
hintStr: string;
1260512607
begin
12606-
if ((length(GetlongHint(Application.Hint))>0)) then
12608+
hintStr := GetLongHint(Application.Hint);
12609+
if length(hintstr)>0 then
1260712610
begin
12608-
// mainform1.Caption:=GetlongHint(Application.Hint);
12609-
statusbar1.SimplePanel:=true;
12610-
statusbar1.Simpletext:=GetlongHint(Application.Hint);
12611+
if (Copy(hintStr, 1, 1) = '#') then
12612+
begin
12613+
if Assigned(Screen.ActiveForm) and (Screen.ActiveForm is Tstackmenu1) then
12614+
begin
12615+
Screen.ActiveForm.Caption := Copy(hintStr, 2, 999);
12616+
Exit; // Don't show in statusbar
12617+
end;
12618+
end
12619+
else
12620+
begin
12621+
statusbar1.SimplePanel:=true;
12622+
statusbar1.Simpletext:=hintStr;
12623+
stackmenu1.Caption:='Stack menu'; // Or empty string, or default
12624+
end;
1261112625
end
1261212626
else
1261312627
statusbar1.SimplePanel:=false;

documentation/astap.htm

Lines changed: 53 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
</a><br>
7878
(5 million galaxies)</big></td>
7979
<td style="background-color: rgb(233, 233, 233); width: 141px;" colspan="1" rowspan="3"><big><a href="https://sourceforge.net/projects/astap-program/files/star_databases/variable_star_database.exe/download"><span style="text-decoration: underline;">Variable stars</span></a><br>
80-
(v2025.12.22)</big></td>
80+
(v2025.12.22)<br><a href="nova_positions_retrieval.zip"><br>Nova positions retrieval program</a></big></td>
8181
</tr>
8282
<tr>
8383
<td style="background-color: rgb(233, 233, 233);"><big>Window
@@ -153,7 +153,7 @@
153153
<tr>
154154
<td><big>MacOS&nbsp;64 bit for intel<span style="font-weight: bold;"> </span>processors</big></td>
155155
<td><big><a href="https://sourceforge.net/projects/astap-program/files/macOS%20installer/astap.pkg/download">Program</a>
156-
(v2026.01.06)<br>
156+
(v2026.01.15)<br>
157157
<a href="https://sourceforge.net/projects/astap-program/files/macOS%20installer/openssl_libraries.pkg/download">OpenSSL
158158
1.1</a> for internet&nbsp;access</big></td>
159159
<td colspan="1" rowspan="2" style="background-color: rgb(233, 233, 233);"><big><a href="https://sourceforge.net/projects/astap-program/files/star_databases/d80_star_database.pkg/download">D80</a></big></td>
@@ -187,7 +187,7 @@
187187
<td style="background-color: rgb(233, 233, 233);"><big>MacOS&nbsp;64
188188
bit for <span style="font-weight: bold;">Apple silicon</span>
189189
processors (M-types)</big></td>
190-
<td style="background-color: rgb(233, 233, 233);"><big><span style="color: red;"></span><a href="https://sourceforge.net/projects/astap-program/files/macOS%20installer/astap_M1.pkg/download">Program&nbsp;</a></big><big>(v2026.01.06)</big><big>
190+
<td style="background-color: rgb(233, 233, 233);"><big><span style="color: red;"></span><a href="https://sourceforge.net/projects/astap-program/files/macOS%20installer/astap_M1.pkg/download">Program&nbsp;</a></big><big>(v2026.01.15)</big><big>
191191
code signing required! See instructions at this&nbsp;<a href="https://sourceforge.net/projects/astap-program/files/macOS%20installer/">link</a>&nbsp;(bottom)!!
192192
Significant faster. <small><small>(Dcraw and FITS
193193
compression are not available&nbsp; in this version<br>
@@ -403,7 +403,7 @@
403403
<td style="background-color: rgb(234, 234, 234);"><big>MacOS&nbsp;64
404404
bit</big></td>
405405
<td style="background-color: rgb(234, 234, 234);"><big><a href="astap_mac_X86_64.zip">astap_mac_X86_64.zip</a>
406-
(v2026.01.06)<br>
406+
(v2026.01.15)<br>
407407
Executable only. Move the executable in the application at
408408
/Contents/MacOS<br>
409409
</big></td>
@@ -439,7 +439,7 @@
439439
<td style="background-color: rgb(234, 234, 234);"><big>MacOS
440440
M1</big></td>
441441
<td style="background-color: rgb(234, 234, 234);"><big><a href="astap_mac_M1.zip">astap_mac_M1.zip</a>
442-
(v2026.01.06)<br>
442+
(v2026.01.15)<br>
443443
Executable only. Move the executable in the application at
444444
/Contents/MacOS<br>
445445
</big></td>
@@ -551,8 +551,7 @@
551551
<li><big><a href="astap.htm#export_data">Copy
552552
selected list to clipboard</a></big></li>
553553
<li><big><a href="#nova_batch_processing">Batch
554-
menu unknown stars (Novae search)</a><br>
555-
</big></li>
554+
menu unknown stars (Novae search)</a></big></li><li><a href="#header_keyword"><big>Change header keyword batch wise.</big></a></li>
556555
</ul>
557556
</ul>
558557
<li><big><a href="#darks_tab">Darks tab</a></big></li>
@@ -610,7 +609,7 @@
610609
<li><big><a href="astap.htm#measure_all">Measure
611610
all visible variables in one step</a></big></li>
612611
<li><big><a href="astap.htm#asteroid_magnitude">Measuring
613-
asteroid magnitudes</a></big></li>
612+
asteroid magnitudes</a></big></li><li><big><a href="#photometry_popup">Pop-up menu photometry tab</a> <br></big></li>
614613
</ul>
615614
<li><big><a href="#inspector_tab">Inspector
616615
tab</a></big></li>
@@ -1345,16 +1344,7 @@
13451344
</tr>
13461345
</tbody>
13471346
</table>
1348-
<big><br>
1349-
Keyword modification:
1350-
The pop-up menu has option to update a keyword of multiple files if
1351-
required. If the keyword DATE-OBS is typed then the program will
1352-
request a time shift in hours. This could be used to correct a recorded
1353-
time of observation. The old DATE-OBS is&nbsp;stored be behind a
1354-
new
1355-
keyword&nbsp;for recovery but that should no be necessary.<br>
1356-
<br>
1357-
<br>
1347+
<big><br><br>
13581348
<a name="uncheck_outliers"></a> <span style="font-weight: bold; text-decoration: underline;">Lights
13591349
tab, How to exclude poor images</span><br>
13601350
<br>
@@ -1531,9 +1521,26 @@
15311521
<br>
15321522
</span>Below an example of a nova and non-star detection in M101<br>
15331523
<br>
1534-
<img style="width: 1345px; height: 1215px;" alt="" src="astap_nova2.jpg"><br>
1524+
<img style="width: 1345px; height: 1215px;" alt="" src="astap_nova2.jpg"><br><br><br><br><big><span style="font-weight: bold;">Database for novae</span></big><br><br>There is a small utility <a href="nova_positions_retrieval.zip">nova_positions_retrieval.zip</a> &nbsp;for Windows to retrieve the nova positions from <a href="https://www.rochesterastronomy.org/supernova.html" rel="nofollow">www.rochesterastronomy.org/supernova.html</a>
1525+
&nbsp;and writes it to the variable star database
1526+
&nbsp;variable_stars_15.csv. Extract the utility program at the ASTAP
1527+
directory or place the output file variable_stars_15.csv in the ASTAP
1528+
directory. Select in the photometry tab for annotation "Local database
1529+
mag 15". Select in the viewer "Variable star annotation", shortcut
1530+
CTRL+K. If you need this utility for Linux or Mac tell me.<br><br>&nbsp;</big><big><br>
15351531
<span style="font-weight: bold;"></span></big>
1536-
<p align="left"></p>
1532+
<p align="left"></p><big><span style="font-weight: bold;"><a name="header_keyword"></a>&nbsp;Lights tab, pop-up menu, change header&nbsp; keyword batch wise.</span></big><p align="left"><big><span style="font-weight: bold;">Change header keywords of
1533+
selected files</span>:&nbsp;The pop-up menu has an option to
1534+
update a keyword in multiple files if
1535+
required. Select the files to modify and select the pop-up menu with the right mouse button.&nbsp;</big><big>If &nbsp;you
1536+
type for the new keyword value in capital&nbsp;letters DELETE, then the keyword
1537+
will be removed from all file headers.</big></p><big> </big><big>If
1538+
the keyword DATE-OBS is typed then the program will
1539+
request a time shift in hours or a fraction of an hour. This could be
1540+
used to correct a recorded
1541+
time of observation. The old DATE-OBS value is&nbsp;stored behind a new
1542+
keyword like TT120619 for recovery by renaming it back to DATE-OBS.</big><br><p align="left"><big><img style="width: 1312px; height: 638px;" alt="" src="astap_keyword_menu.png"><br>
1543+
</big></p><p align="left"></p>
15371544
<p align="left"><a href="astap.htm#index"><br>
15381545
</a></p>
15391546
<a href="astap.htm#index">Back to index</a><br>
@@ -2761,9 +2768,9 @@
27612768
<p align="left"><big>This
27622769
photometry tab allows aperture photometry of variable stars.</big></p>
27632770
<p align="left"><big><a name="photometry_index"></a>Brief
2764-
instructions:</big></p>
2771+
guideline:</big></p>
27652772
<p align="left"><big>1) Load the images in the photometry tab
2766-
using the&nbsp;</big><big><span style="background-color: rgb(153, 153, 153); font-weight: bold;">Browse</span></big><big>&nbsp;button.&nbsp;</big></p>
2773+
using the&nbsp;</big><big><span style="background-color: rgb(153, 153, 153); font-weight: bold;">Browse</span></big><big>&nbsp;button. &nbsp;If you have a SeeStar telescope use these <a href="seestar.htm">SeeStar guideline</a>.</big></p>
27672774
<p align="left"><big>2) Optionally you could use </big><big><span style="background-color: rgb(153, 153, 153); font-weight: bold;">Analyse</span></big><big>&nbsp;button
27682775
or&nbsp;</big><big><span style="background-color: rgb(153, 153, 153); font-weight: bold;">
27692776
+</span></big><big>&nbsp;button</big><big>
@@ -2789,7 +2796,7 @@
27892796
<p align="left"><big>5) Press the&nbsp;</big><big><span style="background-color: rgb(153, 153, 153); font-weight: bold;">
27902797
&nbsp; &nbsp;&#11208;<big>|</big> &nbsp;
27912798
&nbsp;&nbsp;</span>&nbsp;<span style="font-weight: bold; background-color: rgb(153, 153, 153);"></span><span style="font-weight: bold; background-color: rgb(153, 153, 153);"></span><span style="font-weight: bold; background-color: rgb(153, 153, 153);"></span>
2792-
(play)butto</big><big>n measure all images.&nbsp;</big><big>The
2799+
(play)butto</big><big>n to measure all images.&nbsp;</big><big>The
27932800
program will do the following: </big></p>
27942801
<p style="margin-left: 40px;" align="left"><big>Cycle
27952802
1: Find an astrometric solution for all selected images and write the
@@ -2819,7 +2826,10 @@
28192826
report</span></big></a><big> to open
28202827
the&nbsp;report window.&nbsp;</big><big>In the
28212828
report window select one or more variables, one or&nbsp;more
2822-
comparison stars and a check star and click on create the report.</big></p><p align="left"><big></big></p>
2829+
comparison stars</big><big> and a check star/ </big></p><p align="left"><big>8)
2830+
If it all looks correct, click on create the report. If you see an
2831+
outlier, you can use the graphic popup menu to select the corresponding
2832+
image to inspect.</big></p><p align="left"></p><p align="left"><big>Youtube video:&nbsp;<a href="https://www.youtube.com/watch?v=GzqDJcH3GZQ">Photometry with SeeStar telescope using ASTAP for processing</a><a href="https://www.youtube.com/watch?v=GzqDJcH3GZQ"> </a>.</big><big style="font-weight: bold;"><big><br></big></big></p><p align="left"><big></big></p>
28232833
<p align="left"><big><a href="astap.htm#index">Back
28242834
to index</a></big></p>
28252835
<p align="left"></p>
@@ -2911,17 +2921,20 @@
29112921
<hr style="width: 100%; height: 2px;">
29122922
<p align="left"></p>
29132923
<p align="left"><big>The photometry pop-up menu:</big></p>
2914-
<p align="left"><big><img style="width: 1839px; height: 652px;" alt="" src="astap_photometry5.png"></big></p>
2924+
<p align="left"><big><img style="width: 1827px; height: 721px;" alt="" src="astap_photometry5.png"></big></p>
29152925
<p style="font-weight: bold; text-decoration: underline;" align="left"><big><a name="photometry_popup"></a>Pop-up
29162926
menu of photometry tab:</big></p>
29172927
<p align="left"><big><span style="font-weight: bold;">Change header keywords of
29182928
selected files</span>:&nbsp;The pop-up menu has an option to
29192929
update a keyword in multiple files if
2920-
required. If the keyword DATE-OBS is typed then the program will
2921-
request a time shift in hours. This could be used to correct a recorded
2922-
time of observation. The old DATE-OBS is&nbsp;stored be behind a
2923-
new
2924-
keyword&nbsp;for recovery but that should no be necessary.</big></p>
2930+
required. Select the files to modify and select the pop-up menu with the right mouse button.&nbsp;</big><big>If &nbsp;you
2931+
type for the new keyword value in capital&nbsp;letters DELETE, then the keyword
2932+
will be removed from all file headers.</big></p><p align="left"><big>If
2933+
the keyword DATE-OBS is typed then the program will
2934+
request a time shift in hours or a fraction of an hour. This could be
2935+
used to correct a recorded
2936+
time of observation. The old DATE-OBS value is&nbsp;stored behind a new
2937+
keyword like TT120619 for recovery by renaming it back to DATE-OBS.</big><big></big><big>&nbsp;See this screenshot&nbsp;<a href="astap_keyword_menu.png">astap_keyword_menu.png</a></big></p>
29252938
<br>
29262939
<div style="text-align: left;"><big><span style="font-weight: bold;">Calibrate:</span>
29272940
For maximum accuracy it is better to calibrate the images&nbsp;with
@@ -2949,8 +2962,8 @@
29492962
&nbsp;"auto" results in the correct result. This works best with
29502963
terrestrial images otherwise select a manual de-Bayer pattern.<br>
29512964
</big><big><span style="font-weight: bold;"></span></big><br>
2952-
<big><span style="font-weight: bold;">Astrometric
2953-
solutions&nbsp;</span>.
2965+
<big><span style="font-weight: bold;">Refresh astrometric
2966+
solutions of selected files</span>.
29542967
If the images are not solved yet, press the&nbsp;"Refresh
29552968
astrometric
29562969
solutions" button This is required to identify the stars for
@@ -2961,7 +2974,13 @@
29612974
and check the initial &#945;,&#948; position in the viewer. If solving fails, go
29622975
through the <a href="conditions">check list</a> for
29632976
solving.<br>
2964-
<br>
2977+
<br><span style="font-weight: bold;">Stack ALL files in groups, mode average. </span>This
2978+
option will stack the files in groups of 2, 3, 8, .. &nbsp;as you
2979+
specify. This will improve the signal-to-noise ratio of the imaged
2980+
stars but reduce the number of observations. This routine will process
2981+
all checked files in the photometry tab. Prior to stacking the files
2982+
will be automatically sorted on filter and secondary on JD-mid (date).
2983+
The original files are unaffected but are removed from the list.<br><br>
29652984
</big><big><span style="font-weight: bold;"></span></big><br>
29662985
<big><a href="astap.htm#photometry_index">Back to
29672986
photometry_index</a></big><br>
@@ -3098,8 +3117,7 @@
30983117
online standard field
30993118
like "Online DB mag 13 std field".</big></li>
31003119
<li><big>Select
3101-
in the Photometry tab for the Gaia comp stars "Online Gaia
3102-
transformed". This is required for the blue and red filter images. The
3120+
in the Photometry tab for the Gaia comp stars "Online Gaia". This is required for the blue and red filter images. The
31033121
local database contains only the Johnson-V magnitude.</big></li>
31043122
<li><big>In
31053123
case of a DSLR images use the photometry tab popup menu to split them

0 commit comments

Comments
 (0)