Inital Version
7
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
.tools/
|
||||
**/bin/
|
||||
**/obj/
|
||||
Sample Data/
|
||||
projects/
|
||||
artifacts/
|
||||
*.user
|
||||
17
Build.ps1
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
param([switch]$Publish,[switch]$Test)
|
||||
$ErrorActionPreference='Stop'
|
||||
Set-Location $PSScriptRoot
|
||||
$env:DOTNET_CLI_HOME=Join-Path $PSScriptRoot '.tools/home'
|
||||
$env:NUGET_PACKAGES=Join-Path $PSScriptRoot '.tools/packages'
|
||||
$env:DOTNET_CLI_TELEMETRY_OPTOUT='1'
|
||||
$sdk=Join-Path $PSScriptRoot '.tools/dotnet/dotnet.exe'
|
||||
if (!(Test-Path $sdk)) { $sdk='dotnet' }
|
||||
& $sdk build src/AstroFrame.Desktop -c Release
|
||||
if ($LASTEXITCODE) { throw 'Build failed' }
|
||||
& $sdk build tests/AstroFrame.Validation -c Release
|
||||
if ($LASTEXITCODE) { throw 'Validation build failed' }
|
||||
if ($Test) { & $sdk run --project tests/AstroFrame.Validation -c Release --no-build; if ($LASTEXITCODE) {throw 'Validation failed'} }
|
||||
if ($Publish) {
|
||||
& $sdk publish src/AstroFrame.Desktop -c Release -r win-x64 --self-contained true -o artifacts/AstroFrame
|
||||
if ($LASTEXITCODE) { throw 'Publish failed' }
|
||||
}
|
||||
2
NuGet.Config
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration><packageSources><clear/><add key="workspace" value=".tools/feed"/><add key="nuget" value="https://api.nuget.org/v3/index.json"/></packageSources></configuration>
|
||||
2
Open NGC 7000.cmd
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
@echo off
|
||||
start "" "%~dp0artifacts\AstroFrame\AstroFrame.Desktop.exe" --project "%~dp0projects\NGC 7000"
|
||||
2
Open Sample Survey.cmd
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
@echo off
|
||||
start "" "%~dp0artifacts\AstroFrame\AstroFrame.Desktop.exe" --project "%~dp0projects\Sample Survey"
|
||||
76
README.md
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
# AstroFrame
|
||||
|
||||
An independent Windows/Linux desktop application for selecting astrophotography light frames before Siril. The spatial-reference engine uses deterministic image measurements, aligned session background models and forced stellar photometry. It is experimental: general classification accuracy and stack parity have **not** been established.
|
||||
|
||||
## Run on Windows
|
||||
|
||||
Open `artifacts/AstroFrame/AstroFrame.Desktop.exe`. This self-contained build does not require Python, a GPU, or a separate .NET installation. Keep the entire application folder together.
|
||||
|
||||
Windows enforces a **6 GiB process allocation limit** and a **3 GiB managed-heap limit**. Only one desktop instance can run at a time. Analysis uses up to four workers, leaving at least two logical processors unused where available. It rejects images exceeding a 256 MiB per-frame budget and pauses when it cannot leave roughly 25% of physical RAM free (up to 8 GiB). If pressure persists for 20 seconds, completed measurements are saved for resuming. The page file is not counted as available physical RAM. Windows software rendering is used during this release. The larger limit provides headroom; it does not allocate 6 GiB in advance.
|
||||
|
||||
`Open Sample Survey.cmd` opens all supplied datasets, including NGC 7000. `Open NGC 7000.cmd` opens its separate project. Normal launches reopen the last project automatically. Reopening a completed project uses saved measurements. New display caches are generated on demand for older projects without recomputing classifications; subsequent previews use cached linear thumbnails. An explicit project can also be opened with `AstroFrame.Desktop.exe --project "project folder"`.
|
||||
|
||||
To analyze another dataset, choose **Analyze lights**, select the folder containing original `.fit`, `.fits`, or `.fts` files, and wait for analysis. Subfolders are included. New projects are saved separately under `%LOCALAPPDATA%/AstroFrame/Projects/` on Windows (the equivalent local application-data location on Linux). The input folder is not used for project storage.
|
||||
|
||||
## Review
|
||||
|
||||
- Select an observing session from the selector above the workspace. The Graphite palette uses neutral charcoal and silver with muted decision colors. The Atlas layout puts exposures on the left, a large preview in the center, and quality graphs and evidence on the right. Baselines never mix targets, exposure settings, gain, filter, camera, dimensions, or Bayer patterns. Gaps over two hours and coordinate changes split sessions.
|
||||
- Select a quality measurement and click the graph to inspect an exposure. One graph shows the selected metric, including stellar flux when selected. Capture order uses UTC timestamps; gaps between sessions are marked rather than drawn to elapsed-time scale.
|
||||
- Filter **REVIEW** or **REJECT**, and sort by concern, star count, stellar flux, or FWHM.
|
||||
- Toggle **Compare nearby** and **Spatial overlay**. Red fill shows transient sky structure in the aligned reference grid. Region outlines show forced stellar flux loss. Previews have independent display stretches; use measured flux to compare transparency.
|
||||
- Use **Frame view** for an area-averaged exposure preview, or **Nebula view** for additional averaging of faint diffuse structure. Adjust **Stretch** to brighten the display. These controls never affect measurements, classifications or original files.
|
||||
- Press **1**, **2**, **3** for KEEP, REVIEW, REJECT. Decisions save and advance. **J/K** navigates. **Reset** restores the automatic decision. **Ctrl+Z** undoes a manual decision.
|
||||
- Decision evidence and measurements remain visible below the quality graph. Hover over an evidence line to read its full technical detail, and scroll the panel for additional measurements. Preview stretch and manual decisions sit below the image. Existing notes remain in saved projects and exports; the note editor has been removed. Automatic decisions and human overrides remain separate.
|
||||
|
||||
KEEP means consistent measurements; it does not certify a perfect frame. REVIEW means a substantial deviation or measurement uncertainty. REJECT requires strong, coherent transient sky structure, agreement between cloud/flux/star-loss measurements, severe combined morphology degradation, or catastrophic star disappearance. Small ellipticity variations alone do not trigger review.
|
||||
|
||||
The earlier engine missed obvious clouds and falsely reviewed a clear frame. Its rolling background baselines and detection-only flux measurements have been replaced. Analysis-version changes request reanalysis while preserving manual decisions. Display changes have their own cache version, so preview upgrades do not invalidate quality measurements.
|
||||
|
||||
## Export to Siril
|
||||
|
||||
**Export accepted** writes sequentially named original FITS files into an empty output directory outside the source tree. KEEP frames are included by default; unresolved REVIEW frames are an explicit option. Hardlinks avoid duplicate image storage on compatible filesystems; otherwise a byte-for-byte copy is used. Copies are available as an explicit choice.
|
||||
|
||||
Choose the current session, one target across all sessions, or the entire project. A multi-target export uses separate target directories, preventing unrelated fields from being mixed into a single Siril input folder.
|
||||
|
||||
Hardlinks share file contents with originals. AstroFrame never writes FITS pixels. Process exported inputs into separate outputs in Siril; use copies for tools that overwrite their inputs. Cancellation retains completed exported files and removes incomplete copy files. Choose a new empty directory for another export.
|
||||
|
||||
Exports include `accepted.txt` with accepted output paths and `decisions.csv` with all decisions, timestamps, exposure durations, and review notes. Siril can load the exported FITS directory normally. The CSV is an audit manifest, not a native Siril sequence.
|
||||
|
||||
## Build and validate
|
||||
|
||||
Requires a .NET 8 SDK. `Build.ps1` uses the workspace-local SDK if present, otherwise `dotnet` from PATH:
|
||||
|
||||
```powershell
|
||||
./Build.ps1 -Test
|
||||
./Build.ps1 -Publish
|
||||
```
|
||||
|
||||
Standard builds on Windows or Linux:
|
||||
|
||||
```sh
|
||||
dotnet build src/AstroFrame.Desktop -c Release
|
||||
dotnet run --project tests/AstroFrame.Validation -c Release
|
||||
dotnet publish src/AstroFrame.Desktop -c Release -r linux-x64 --self-contained true -o artifacts/AstroFrame-linux
|
||||
```
|
||||
|
||||
The Windows build and rendered layout were tested here. Linux uses Avalonia's X11 backend and bundled Skia/Harfbuzz binaries; actual Linux execution remains untested. A Linux desktop with the usual X11/font libraries is required.
|
||||
|
||||
Prebuilt Linux files are in `artifacts/AstroFrame-linux`. On Linux, run `chmod +x AstroFrame.Desktop` before launching if executable permissions were lost during transfer. The managed-heap limit and RAM-pressure monitoring also apply on Linux; the Windows kernel job limit does not.
|
||||
|
||||
Batch analysis and review-label summaries:
|
||||
|
||||
```sh
|
||||
dotnet run --project tests/AstroFrame.Validation -c Release -- analyze "Sample Data" "projects/Sample Survey"
|
||||
dotnet run --project tests/AstroFrame.Validation -c Release -- labels "projects/Sample Survey"
|
||||
```
|
||||
|
||||
See [desktop layout](docs/desktop-design.md), [analysis design](docs/analysis-design.md), [observed dataset findings](docs/dataset-findings.md), [NGC 7000 preview and performance findings](docs/ngc7000-findings.md), and [stack validation protocol](docs/validation-protocol.md).
|
||||
|
||||
Real-image regression commands (NumPy is needed only for the diagnostic experiment, not these checks):
|
||||
|
||||
```sh
|
||||
python tools/check_real_frames.py "projects/Sample Survey/project.json"
|
||||
python tools/check_visual_holdout.py "projects/Sample Survey/project.json"
|
||||
```
|
||||
|
||||
The first check covers the five exposures explicitly identified by the owner. The second is a provisional cloud-only screen of 56 fixed time samples, selected before the new decisions. Neither establishes stack parity.
|
||||
8
design-concepts/01-copper-observatory.html
Normal file
BIN
design-concepts/01-copper-observatory.png
Normal file
|
After Width: | Height: | Size: 506 KiB |
8
design-concepts/02-olive-fieldwork.html
Normal file
BIN
design-concepts/02-olive-fieldwork.png
Normal file
|
After Width: | Height: | Size: 514 KiB |
8
design-concepts/03-graphite-studio.html
Normal file
BIN
design-concepts/03-graphite-studio.png
Normal file
|
After Width: | Height: | Size: 399 KiB |
8
design-concepts/04-plum-atlas.html
Normal file
BIN
design-concepts/04-plum-atlas.png
Normal file
|
After Width: | Height: | Size: 512 KiB |
8
design-concepts/05-parchment-instrument.html
Normal file
BIN
design-concepts/05-parchment-instrument.png
Normal file
|
After Width: | Height: | Size: 512 KiB |
25
design-concepts/README.md
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# AstroFrame design concepts
|
||||
|
||||
Open `index.html` to compare the five alternatives. Each numbered HTML file is self-contained, with all images embedded, and can be opened directly in a browser without a server or internet access. Each also has a 1680×1000 PNG for sharing or comparing. The layouts scale uniformly to fit a browser window; they are visual desktop concepts rather than functional applications.
|
||||
|
||||
| File | Direction | Main difference |
|
||||
|---|---|---|
|
||||
| `01-copper-observatory` | Copper Observatory | Warm charcoal, copper, familiar sidebar/graph/table/inspector layout |
|
||||
| `02-olive-fieldwork` | Olive Fieldwork | Smoked green and linen, centered frame with analysis to its right |
|
||||
| `03-graphite-studio` | Graphite Studio | Neutral silver, horizontal session tabs and a full-width exposure table |
|
||||
| `04-plum-atlas` | Plum Atlas | Muted plum, exposure queue / preview / decision evidence columns |
|
||||
| `05-parchment-instrument` | Parchment Instrument | Light ivory and espresso, compact instrument tables and dark preview canvas |
|
||||
|
||||
All alternatives omit Inspect stars, Open project, standalone Manifest, note editing, a dedicated second flux graph and the repeated verdict above the exposure. The stretch thumb is fully contained in a dedicated control row. The space image is confined to the top header; work surfaces have no scattered decorative dots. The application itself, including the reported stretch-bar defect, has not been edited during this concept round.
|
||||
|
||||
The photo is the real `Light_NGC 1432_30.0s_IRCUT_20260919-235146.fit` preview reconstructed from its saved linear display cache. The graph uses all 490 saved measurements from the first Pleiades session. Counts reflect current persisted overrides as well as automatic decisions, so they can differ from an earlier screenshot. Sidebar thumbnails in the light theme use actual lights from their corresponding session. Measurements and thumbnails are read; originals, caches and project files are not written.
|
||||
|
||||
`build_concepts.py`, `render_mockups.cjs` and `make_gallery.py` generate the standalone files, render them in one sequential headless browser, and check that controls fit, the stretch thumb is contained, images load, text encoding is intact, and each design has one graph. `qa-results.json` records those checks. `application-unchanged.json` verifies the source, published Windows binary and saved project files against the baseline hashes captured before creating the concepts.
|
||||
|
||||
## Decorative image provenance
|
||||
|
||||
The image-generation skill's **built-in image generation mode** created `assets/space-header.png`. No generated typography, graphs or scientific images are used. The scene is decorative concept artwork, not an actual survey image. The generated original was copied without modifying it; per-theme filters are display styling inside the standalone concepts.
|
||||
|
||||
Final image prompt:
|
||||
|
||||
> Use case: photorealistic-natural. Asset type: a photographic deep-space header background for standalone desktop UI design mockups. Generate ONLY the background image, absolutely no UI, letters, logos, buttons, planets, spacecraft or foreground horizon. Very wide panoramic 3:1 composition. A detailed natural Milky Way star field: recognizably luminous star clusters, wisps of pale warm interstellar dust and softly structured charcoal-blue nebulae, distinct fine points of starlight. Professional observatory astrophotograph, understated natural tones, no cyan neon, no dramatic lens flares, no magical sparkles or graphic constellations. The header will be cropped to a shallow strip, so place the interesting mottled star-cloud detail across the central horizontal band. Strong enough texture to read as space rather than screen dirt, while remaining dark enough for white interface text. Darker far-left and far-right edges for title and window controls. This is a decorative concept asset and must not look like scientific analysis data.
|
||||
2
design-concepts/View designs.cmd
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
@echo off
|
||||
start "" "%~dp0index.html"
|
||||
5
design-concepts/application-unchanged.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"checkedFiles": 35,
|
||||
"changedFiles": [],
|
||||
"scope": "App source, Windows executable and DLL, and both saved projects."
|
||||
}
|
||||
BIN
design-concepts/assets/space-header.png
Normal file
|
After Width: | Height: | Size: 2.7 MiB |
138
design-concepts/build_concepts.py
Normal file
|
|
@ -0,0 +1,138 @@
|
|||
"""Create standalone visual alternatives. Read saved measurements; never edit the app."""
|
||||
from pathlib import Path
|
||||
from datetime import datetime
|
||||
import base64, hashlib, html, io, json, math, struct, zlib
|
||||
import numpy as np
|
||||
from PIL import Image
|
||||
|
||||
HERE=Path(__file__).resolve().parent
|
||||
ROOT=HERE.parent
|
||||
project=json.loads((ROOT/'projects/Sample Survey/project.json').read_text(encoding='utf-8'))
|
||||
frames=project['Frames']
|
||||
selected=next(f for f in frames if f['Path'].endswith('20260919-235146.fit'))
|
||||
session=[f for f in frames if f['Session']==selected['Session']]
|
||||
session.sort(key=lambda f:f['Timestamp'] or '')
|
||||
css=(HERE/'mockups.css').read_text(encoding='utf-8')
|
||||
def esc(s):return html.escape(str(s))
|
||||
def state(f):return (f['Override'] or f['Automatic']).lower()
|
||||
def stamp(f):return datetime.fromisoformat(f['Timestamp'].replace('Z','+00:00')).strftime('%H:%M:%S')
|
||||
def data_uri(path):return 'data:image/'+('png' if path.suffix=='.png' else 'jpeg')+';base64,'+base64.b64encode(path.read_bytes()).decode()
|
||||
header=data_uri(HERE/'assets/space-header.png')
|
||||
icon=data_uri(ROOT/'src/AstroFrame.Desktop/Assets/astroframe.png')
|
||||
|
||||
def real_preview(f):
|
||||
raw=(ROOT/'projects/Sample Survey/previews'/(f['Id']+'-display3.bin')).read_bytes()
|
||||
magic,length,modified,w,h=struct.unpack('<iqqii',raw[:28]);assert magic==0x41504633
|
||||
a=np.frombuffer(zlib.decompress(raw[28:],-15),dtype='<f4').reshape(h,w)
|
||||
median=float(np.median(a));noise=max(.001,float(np.median(np.abs(a[:,1:]-a[:,:-1])))/.953872)
|
||||
black=median-2.8*noise;white=max(float(np.quantile(a,.9995)),median+30*noise)
|
||||
mid=(median-black)/(white-black);t=.18;m=mid*(t-1)/((2*t-1)*mid-t)
|
||||
v=np.clip((a-black)/(white-black),0,1);out=np.clip(255*(m-1)*v/((2*m-1)*v-m),0,255).astype(np.uint8)
|
||||
b=io.BytesIO();Image.fromarray(out).save(b,format='PNG')
|
||||
return 'data:image/png;base64,'+base64.b64encode(b.getvalue()).decode()
|
||||
preview=real_preview(selected)
|
||||
clear=real_preview(next(f for f in session if f['Path'].endswith('20260919-235652.fit')))
|
||||
|
||||
DESIGNS=[
|
||||
dict(slug='01-copper-observatory',name='Copper Observatory',layout='classic',description='Warm charcoal and copper. Familiar session sidebar, graph and table, with a larger inspector.',palette={'bg':'#181714','panel':'#201e1a','raised':'#2a2721','line':'#403a30','faint':'#302c25','text':'#eee8dc','muted':'#b0a693','accent':'#d1a277','on-accent':'#211810','keep':'#a6c3a2','review':'#d1ba7a','reject':'#df9690','selected':'#3b3026','track':'#645c4e','radius':'4px','sky-opacity':'.88','sky-filter':'sepia(.6) saturate(.72)'}),
|
||||
dict(slug='02-olive-fieldwork',name='Olive Fieldwork',layout='fieldwork',description='Smoked green and linen. A frame-first workspace with the image in the center and analysis to the right.',palette={'bg':'#131a16','panel':'#1b241e','raised':'#273128','line':'#3a493d','faint':'#2b382e','text':'#e4e8d8','muted':'#a4b2a1','accent':'#b7c095','on-accent':'#1b2516','keep':'#a9c4a1','review':'#d8c18e','reject':'#dea095','selected':'#303d2b','track':'#5c6b5a','radius':'3px','sky-opacity':'.9','sky-filter':'sepia(.25) saturate(.5) hue-rotate(28deg)'}),
|
||||
dict(slug='03-graphite-studio',name='Graphite Studio',layout='studio',description='Neutral graphite and silver. Horizontal session tabs, image and graph above a full-width exposure table.',palette={'bg':'#151617','panel':'#1e2021','raised':'#292b2d','line':'#3b3e40','faint':'#2e3032','text':'#e6e7e7','muted':'#a2a5a7','accent':'#d3d5d4','on-accent':'#191b1b','keep':'#a8bfb0','review':'#d5bf91','reject':'#dba2a6','selected':'#343638','track':'#606467','radius':'2px','sky-opacity':'.92','sky-filter':'grayscale(1)'}),
|
||||
dict(slug='04-plum-atlas',name='Plum Atlas',layout='atlas',description='Aubergine and dusty rose. Exposure list on the left, uninterrupted preview in the middle, evidence on the right.',palette={'bg':'#1a161d','panel':'#241e28','raised':'#322a37','line':'#493c4d','faint':'#342b38','text':'#ece4ed','muted':'#b5a6b9','accent':'#c8a4b9','on-accent':'#281a25','keep':'#adc5b6','review':'#d7c095','reject':'#e4a0ac','selected':'#453344','track':'#705d73','radius':'6px','sky-opacity':'.8','sky-filter':'saturate(.62) hue-rotate(22deg)'}),
|
||||
dict(slug='05-parchment-instrument',name='Parchment Instrument',layout='instrument',description='Warm ivory and espresso. A light instrument-panel alternative with compact tables and a dark image canvas.',palette={'bg':'#eeeae1','panel':'#f7f5ef','raised':'#e5dfd3','line':'#c9bfae','faint':'#dcd5c9','text':'#332c23','muted':'#766958','accent':'#806447','on-accent':'#fffaf2','keep':'#446448','review':'#896c26','reject':'#a44c43','selected':'#d9cebc','track':'#bdb29f','radius':'1px','sky-opacity':'.95','sky-filter':'sepia(.65) saturate(.4)'}),
|
||||
]
|
||||
|
||||
def button(text,klass=''):return f'<button type="button" class="button {klass}">{text}</button>'
|
||||
def selector(text):return f'<span class="select">{text}</span>'
|
||||
def topbar():
|
||||
controls='<span class="caption-button"><svg viewBox="0 0 12 12"><path d="M1 6h10" fill="none" stroke="currentColor"/></svg></span><span class="caption-button"><svg viewBox="0 0 12 12"><path d="M2 2h8v8H2z" fill="none" stroke="currentColor"/></svg></span><span class="caption-button"><svg viewBox="0 0 12 12"><path d="m2 2 8 8M10 2l-8 8" fill="none" stroke="currentColor"/></svg></span>'
|
||||
return f'<header class="sky-header"><div class="sky-photo" style="background-image:url({header})"></div><div class="sky-shade"></div><div class="chrome"><div class="brand"><img src="{icon}" alt="">AstroFrame</div><div class="caption-buttons">{controls}</div></div><div class="banner"><div class="project-label"><div><h1>Sample Data</h1><small>2,067 lights · 6 observing sessions</small></div></div><div class="toolbar">{button("Analyze lights","primary")}{button("Export accepted")}</div></div></header>'
|
||||
def totals():
|
||||
counts={s:sum(state(f)==s for f in session) for s in ['keep','review','reject']}
|
||||
items=[]
|
||||
for s in counts:
|
||||
minutes=sum(f['Exposure'] for f in session if state(f)==s)/60
|
||||
duration=f'{minutes/60:.1f} h' if minutes>=60 else f'{minutes:.1f} min'
|
||||
items.append(f'<div class="total"><b class="{s}">{counts[s]}</b><span>{s}</span><small>{duration}</small></div>')
|
||||
items.append('<div class="total"><b>3.0 h</b><span>Accepted time</span><small>of 4.1 h</small></div>')
|
||||
return '<div class="totals">'+''.join(items)+'</div>'
|
||||
def scope():return '<div class="scope"><div class="target-info"><h2>NGC 1432</h2><span>Pleiades</span><small>20 Sep 2026 · 490 lights · 30 s · IRCUT</small></div>'+totals()+'</div>'
|
||||
def sessions(compact=False,thumbs=False):
|
||||
rows='<div class="session"><strong>All sessions</strong><small>2,067 lights · 17.2 h</small></div>'
|
||||
for key in dict.fromkeys(f['Session'] for f in frames):
|
||||
group=[f for f in frames if f['Session']==key];parts=key.split(' · ');active=key==selected['Session']
|
||||
representative=selected if active else min((f for f in group if state(f)=='keep'),key=lambda f:abs(group.index(f)-len(group)/2),default=group[0])
|
||||
photo=f'<img class="session-thumb" src="{real_preview(representative)}" alt="">' if thumbs else ''
|
||||
rows+=f'<div class="session {"active" if active else ""}">{photo}<div><strong>{esc(parts[0])}</strong><small>{esc(parts[1][:10])} · {len(group)} lights</small><small class="meta">{sum(f["Exposure"] for f in group)/3600:.1f} h · {esc(parts[-1])}</small></div></div>'
|
||||
return f'<aside class="side sessions {"compact" if compact else ""} {"thumbnails" if thumbs else ""}"><div class="side-heading">Sessions</div>{rows}</aside>'
|
||||
def ribbon():
|
||||
rows=[]
|
||||
for key in dict.fromkeys(f['Session'] for f in frames):
|
||||
parts=key.split(' · ');group=[f for f in frames if f['Session']==key]
|
||||
rows.append(f'<div class="ribbon-item {"active" if key==selected["Session"] else ""}">{esc(parts[0])}<small>{esc(parts[1][:10])} · {len(group)} lights</small></div>')
|
||||
return '<nav class="session-ribbon">'+''.join(rows)+'</nav>'
|
||||
def chart_svg(width,height):
|
||||
left,right,top,bottom=56,width-18,26,height-39
|
||||
vals=[f['CloudSignificance'] for f in session];high=float(np.quantile(vals,.99))*1.12;low=0
|
||||
y=lambda v:bottom-min(1,max(0,(v-low)/(high-low)))*(bottom-top)
|
||||
x=lambda i:left+(right-left)*i/(len(session)-1)
|
||||
shapes=[]
|
||||
for n in range(4):
|
||||
yy=top+(bottom-top)*n/3;value=high*(1-n/3)
|
||||
shapes.append(f'<path class="plot-grid" d="M{left} {yy:.1f}H{right}"/><text class="plot-text" x="{left-9}" y="{yy+4:.1f}" text-anchor="end">{value:.0f}</text>')
|
||||
chosen=session.index(selected);shapes.append(f'<path class="plot-selection" d="M{x(chosen):.1f} {top}V{bottom}"/>')
|
||||
for i,f in enumerate(session):
|
||||
shapes.append(f'<circle class="plot-marker {state(f)}" cx="{x(i):.1f}" cy="{y(f["CloudSignificance"]):.1f}" r="{4.3 if f is selected else 2.1}"/>')
|
||||
shapes.append(f'<text class="plot-text" x="{left}" y="{height-15}">{stamp(session[0])}</text><text class="plot-text" x="{right}" y="{height-15}" text-anchor="end">{stamp(session[-1])}</text><text class="plot-text" x="{left}" y="15">Reference scatter</text>')
|
||||
return f'<svg viewBox="0 0 {width} {height}" preserveAspectRatio="none" aria-label="Real cloud-structure measurements for 490 exposures">'+''.join(shapes)+'</svg>'
|
||||
def graph(width=870,height=266):
|
||||
legend='<div class="chart-legend"><span class="keep"><i class="dot"></i>Keep</span><span class="review"><i class="dot"></i>Review</span><span class="reject"><i class="dot"></i>Reject</span></div>'
|
||||
return f'<section class="panel graph"><div class="panel-head"><h3>Quality</h3><div class="right">{legend}{selector("Cloud structure")}</div></div><div class="chart-body">{chart_svg(width,height)}</div></section>'
|
||||
def table(dense=False,narrow=False,limit=6):
|
||||
rows=[];start=max(0,session.index(selected)-1);shown=session[start:start+limit]
|
||||
headers='<th class="time-col">Time (UTC)</th><th class="dec-col">Decision</th>'
|
||||
if not narrow:headers+='<th class="filecol">Exposure</th>'
|
||||
headers+='<th class="num-col num">Stars</th><th class="num-col num">FWHM</th>'
|
||||
for f in shown:
|
||||
file=Path(f['Path']).name
|
||||
cells=f'<td>{stamp(f)}</td><td class="decision {state(f)}">{state(f).upper()}</td>'
|
||||
if not narrow:cells+=f'<td>30 s<span class="file">{esc(file)}</span></td>'
|
||||
cells+=f'<td class="num">{f["StarCount"]:,}</td><td class="num">{f["Fwhm"]:.2f}</td>'
|
||||
rows.append(f'<tr class="{"chosen" if f is selected else ""}">{cells}</tr>')
|
||||
head='<div class="right">'+selector('All decisions')+(selector('Capture time') if not narrow else '')+'</div>'
|
||||
return f'<section class="panel table-panel"><div class="panel-head"><h3>Exposures <span class="muted" style="font-weight:400;font-size:11px">490</span></h3>{head}</div><div class="table-body"><table class="frame-table"><thead><tr>{headers}</tr></thead><tbody>{"".join(rows)}</tbody></table></div><div class="table-caption">FWHM in original pixels · UTC capture order</div></section>'
|
||||
def decisions():return '<div class="decision-controls">'+button('Keep','keep')+button('Review','review')+button('Reject','reject')+button('Reset','flat reset')+'</div>'
|
||||
def stretch():return '<div class="stretch" data-qa="stretch"><div class="stretch-title"><span>Preview stretch</span><span>0.18</span></div><div class="slider-line"><div class="slider-area"><div class="slider-rail"><div class="slider-fill"></div><span class="slider-knob" data-qa="knob"></span></div></div>'+button('Reset','tiny flat')+'</div></div>'
|
||||
def caption():return '<div class="exposure-caption"><span class="filename">'+esc(Path(selected['Path']).name)+'</span><span class="reject">REJECT</span> · '+stamp(selected)+' UTC</div>'
|
||||
def switches():return '<div class="view-controls">'+selector('Frame view')+'<div class="check-options"><span><i class="check"></i>Overlay</span><span><i class="check"></i>Compare</span></div></div>'
|
||||
def image():return f'<div class="preview-stage"><img src="{preview}" alt="Actual selected Seestar light frame"></div>'
|
||||
def inspector(order='classic'):
|
||||
head='<div class="inspector-head"><h3>Exposure preview</h3><span class="muted" style="font-size:11px">2 / 490</span></div>'
|
||||
if order=='fieldwork':body=head+switches()+image()+caption()+stretch()+decisions()
|
||||
elif order=='atlas':body=head+switches()+image()+stretch()+caption()+decisions()
|
||||
else:body=head+decisions()+switches()+image()+stretch()+caption()+'<div class="details-toggle">Frame details <span class="muted">⌄</span></div>'
|
||||
return '<section class="inspector">'+body+'</section>'
|
||||
def evidence(full=False):
|
||||
reason='<div class="reason"><div class="eyebrow">Decision evidence</div><h3>Likely cloud / transparency loss</h3><div class="reason-line">Upper-left stellar flux: 58% of reference</div><div class="reason-line">Transient sky structure covers 86% of overlap</div><div class="reason-line">Star count: 1,151 vs 1,666 reference</div></div>'
|
||||
if not full:return '<section class="panel">'+reason+'</section>'
|
||||
rows=[('Cloud structure','103.31','—'),('Cloud area','85.6%','—'),('Star count','1,151','1,666'),('Stellar flux','0.856','0.975'),('FWHM','3.51 px','3.37 px'),('Ellipticity','0.19','0.11')]
|
||||
metrics='<div class="measurements"><div class="measure-header"><span>MEASUREMENT</span><span>FRAME / REFERENCE</span></div>'+''.join(f'<div class="measure-row"><span>{a}</span><b>{b} <span> / {c}</span></b></div>' for a,b,c in rows)+'</div>'
|
||||
return '<section class="panel">'+reason+metrics+'</section>'
|
||||
def studio():
|
||||
view='<section class="inspector"><div class="inspector-head"><h3>Selected exposure · '+stamp(selected)+' UTC</h3>'+selector('Frame view')+'</div>'+image()+'<div class="studio-bottom">'+decisions()+stretch()+'</div></section>'
|
||||
reasons='<section class="panel reason"><div style="display:flex;justify-content:space-between"><h3>Likely cloud / transparency loss</h3><span class="reject" style="font-size:11px">REJECT</span></div><p>Upper-left stellar flux is 58% of reference; transient sky structure covers 86% of overlap.</p><div class="reason-grid"><div class="measure-row"><span>Detected stars</span><b>1,151 / 1,666</b></div><div class="measure-row"><span>FWHM</span><b>3.51 / 3.37 px</b></div><div class="measure-row"><span>Stellar flux</span><b>0.856 / 0.975</b></div><div class="measure-row"><span>Ellipticity</span><b>0.19 / 0.11</b></div></div></section>'
|
||||
return '<div class="content studio">'+view+'<div class="right-stack">'+graph(800,285)+reasons+'</div>'+table(dense=True,limit=3)+'</div>'
|
||||
def layout(kind):
|
||||
if kind=='studio':return ribbon()+scope()+studio()
|
||||
if kind=='classic':inner=sessions()+'<div class="center-stack">'+graph()+table()+'</div>'+inspector()
|
||||
elif kind=='fieldwork':inner=sessions(compact=True)+inspector('fieldwork')+'<div class="right-stack">'+graph(585,260)+table(narrow=True,limit=4)+evidence()+'</div>'
|
||||
elif kind=='atlas':inner=table(narrow=True,limit=9)+inspector('atlas')+'<div class="right-stack">'+graph(540,294)+evidence(full=True)+'</div>'
|
||||
elif kind=='instrument':inner=sessions(compact=True,thumbs=True)+'<div class="center-stack">'+graph(820,277)+table(dense=True)+'</div>'+inspector()
|
||||
return scope()+f'<div class="content {kind}">'+inner+'</div>'
|
||||
|
||||
for design in DESIGNS:
|
||||
variables=':root{'+''.join('--'+k+':'+v+';' for k,v in design['palette'].items())+'}'
|
||||
content=topbar()+layout(design['layout'])+'<div class="footer"><span>490 lights · NGC 1432 · 20 Sep 2026</span><span>30 s exposures · IRCUT</span></div>'
|
||||
page='<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>AstroFrame — '+design['name']+'</title><style>'+variables+css+'</style></head><body><main id="app">'+content+'</main><script>function fit(){const s=Math.min(innerWidth/1680,innerHeight/1000);document.getElementById("app").style.transform="scale("+s+")";}addEventListener("resize",fit);fit();</script></body></html>'
|
||||
(HERE/(design['slug']+'.html')).write_text(page,encoding='utf-8')
|
||||
(HERE/'concepts.json').write_text(json.dumps([{k:v for k,v in d.items() if k!='palette'} for d in DESIGNS],indent=2),encoding='utf-8')
|
||||
print('Created five standalone mockups using one real exposure and session metrics.')
|
||||
32
design-concepts/concepts.json
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
[
|
||||
{
|
||||
"slug": "01-copper-observatory",
|
||||
"name": "Copper Observatory",
|
||||
"layout": "classic",
|
||||
"description": "Warm charcoal and copper. Familiar session sidebar, graph and table, with a larger inspector."
|
||||
},
|
||||
{
|
||||
"slug": "02-olive-fieldwork",
|
||||
"name": "Olive Fieldwork",
|
||||
"layout": "fieldwork",
|
||||
"description": "Smoked green and linen. A frame-first workspace with the image in the center and analysis to the right."
|
||||
},
|
||||
{
|
||||
"slug": "03-graphite-studio",
|
||||
"name": "Graphite Studio",
|
||||
"layout": "studio",
|
||||
"description": "Neutral graphite and silver. Horizontal session tabs, image and graph above a full-width exposure table."
|
||||
},
|
||||
{
|
||||
"slug": "04-plum-atlas",
|
||||
"name": "Plum Atlas",
|
||||
"layout": "atlas",
|
||||
"description": "Aubergine and dusty rose. Exposure list on the left, uninterrupted preview in the middle, evidence on the right."
|
||||
},
|
||||
{
|
||||
"slug": "05-parchment-instrument",
|
||||
"name": "Parchment Instrument",
|
||||
"layout": "instrument",
|
||||
"description": "Warm ivory and espresso. A light instrument-panel alternative with compact tables and a dark image canvas."
|
||||
}
|
||||
]
|
||||
BIN
design-concepts/gallery-preview.png
Normal file
|
After Width: | Height: | Size: 778 KiB |
3
design-concepts/index.html
Normal file
18
design-concepts/make_gallery.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
from pathlib import Path
|
||||
import base64,hashlib,html,json
|
||||
|
||||
here=Path(__file__).resolve().parent
|
||||
designs=json.loads((here/'concepts.json').read_text(encoding='utf-8'))
|
||||
cards=[]
|
||||
for i,d in enumerate(designs,1):
|
||||
slug=d['slug'];png=here/(slug+'.png');picture='data:image/png;base64,'+base64.b64encode(png.read_bytes()).decode()
|
||||
cards.append(f'<article><div class="heading"><span class="number">{i}</span><h2>{html.escape(d["name"])}</h2></div><a href="{slug}.html" aria-label="Open {d["name"]}"><img src="{picture}" alt="{d["name"]} full desktop mockup"></a><p>{html.escape(d["description"])}</p><div class="links"><a href="{slug}.html">Open standalone mockup ↗</a><a href="{slug}.png">Full-size image ↗</a></div></article>')
|
||||
page='''<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>AstroFrame design concepts</title><style>
|
||||
*{box-sizing:border-box}body{margin:0;background:#141414;color:#e9e6df;font-family:'Segoe UI',Arial,sans-serif;padding:40px;line-height:1.5}main{max-width:1800px;margin:auto}header{margin-bottom:32px;display:flex;justify-content:space-between;align-items:end;gap:24px}h1{font-size:28px;margin:0;font-weight:500}header p{color:#a5a19a;font-size:14px;margin:8px 0 0}.tag{color:#bbb4a6;border:1px solid #49453e;padding:6px 12px;border-radius:3px;white-space:nowrap;font-size:12px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}article{min-width:0}.heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}h2{font-size:18px;font-weight:500;margin:0}.number{color:#c9b79d;font-size:12px;border:1px solid #5a4e3d;border-radius:3px;display:grid;place-items:center;width:25px;height:25px}img{width:100%;display:block;border:1px solid #3e3b36;border-radius:4px}a{color:#d1bea3;text-decoration:none}a:hover{text-decoration:underline}article p{font-size:13px;color:#aaa59b;margin:10px 0}.links{display:flex;justify-content:space-between;font-size:12px;margin-top:12px}.notes{align-self:center;padding:34px;border-left:1px solid #494238}.notes h2{margin-bottom:12px}.notes p{font-size:14px;margin:8px 0;color:#b7b1a6}.notes a{font-size:13px}footer{margin-top:40px;color:#878279;font-size:12px}@media(max-width:1000px){.grid{grid-template-columns:1fr}.notes{border-left:0;border-top:1px solid #494238}body{padding:22px}header{display:block}.tag{display:inline-block;margin-top:14px}}
|
||||
</style></head><body><main><header><div><h1>AstroFrame · five design directions</h1><p>The same real exposure and session data in every mockup. Open a design to see it at full size.</p></div><span class="tag">Standalone concepts · application untouched</span></header><div class="grid">'''+''.join(cards)+'''<section class="notes"><h2>What changes between designs</h2><p>Color, layout, session navigation, data density, and placement of the preview and decision evidence.</p><p>Each has one selectable graph, a photographic space header, a fully visible stretch control, and no Inspect stars button.</p><p>These are visual concepts. No analysis, export, or review actions are connected.</p><a href="README.md">Design notes and image provenance ↗</a></section></div><footer>Frame preview and measurements: supplied Seestar dataset. Decorative header: generated concept asset, not scientific data.</footer></main></body></html>'''
|
||||
(here/'index.html').write_text(page,encoding='utf-8')
|
||||
baseline=json.loads((here/'unchanged-baseline.json').read_text())
|
||||
changed=[p for p,digest in baseline.items() if hashlib.sha256((here.parent/p).read_bytes()).hexdigest()!=digest]
|
||||
assert not changed,changed
|
||||
(here/'application-unchanged.json').write_text(json.dumps({'checkedFiles':len(baseline),'changedFiles':changed,'scope':'App source, Windows executable and DLL, and both saved projects.'},indent=2)+'\n')
|
||||
print('Gallery created. Application and saved-project hashes match the baseline.')
|
||||
7
design-concepts/mockups.css
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
*{box-sizing:border-box}html,body{margin:0;padding:0;width:100%;height:100%;overflow:hidden}body{font-family:'Segoe UI',Arial,sans-serif;background:#090909;color:var(--text);font-size:13px;line-height:1.4;font-variant-numeric:tabular-nums}button{font:inherit;color:inherit;cursor:default}#app{width:1680px;height:1000px;position:absolute;left:0;top:0;transform-origin:top left;background:var(--bg);display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line)}
|
||||
.sky-header{height:96px;flex:none;position:relative;background:#0c0d11;color:#f5f2ed;overflow:hidden}.sky-photo{position:absolute;inset:0;background-size:cover;background-position:50% 49%;opacity:var(--sky-opacity);filter:var(--sky-filter)}.sky-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,9,11,.93),rgba(8,9,11,.38) 38%,rgba(8,9,11,.18) 65%,rgba(8,9,11,.88))}.chrome{height:30px;position:relative;display:flex;align-items:center;justify-content:space-between;padding-left:18px;font-size:12px;color:#e8e2db}.brand{display:flex;align-items:center;gap:8px;font-weight:600}.brand img{width:19px;height:19px}.caption-buttons{height:30px;display:flex}.caption-button{width:44px;display:grid;place-items:center;color:#dad8d5}.caption-button svg{width:11px;height:11px}.banner{height:66px;display:flex;align-items:center;justify-content:space-between;position:relative;padding:0 24px 6px}.project-label{display:flex;align-items:center;gap:13px}.project-label h1{font-size:21px;font-weight:600;margin:0}.project-label small{font-size:12px;color:#d1c9be;display:block;margin-top:3px}.toolbar{display:flex;align-items:center;gap:9px}.button{border:1px solid var(--line);background:var(--raised);color:var(--text);height:34px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:var(--radius);white-space:nowrap;font-size:12px}.button.primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent);font-weight:600}.banner .button:not(.primary){background:#1c1b1bc9;border-color:#6e645955;color:#f5f1ea}.button.tiny{height:28px;padding:0 10px}.button.flat{background:transparent;border-color:var(--line)}.keep{color:var(--keep)}.review{color:var(--review)}.reject{color:var(--reject)}.muted{color:var(--muted)}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:1.15px;color:var(--muted);font-weight:600}h2,h3,p{margin:0}h2{font-size:18px;font-weight:600}h3{font-size:13px;font-weight:600}
|
||||
.scope{height:70px;padding:12px 24px;display:flex;gap:38px;align-items:center;border-bottom:1px solid var(--line);flex:none;background:var(--bg)}.target-info{min-width:278px}.target-info h2{display:inline;margin-right:12px}.target-info span{font-size:12px;color:var(--muted)}.target-info small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.totals{display:flex;align-items:center;gap:30px;margin-left:auto}.total{display:grid;grid-template-columns:auto auto;gap:2px 8px;align-items:baseline}.total b{font-size:22px;font-weight:500;grid-row:1/3}.total span{font-size:10px;letter-spacing:.5px;text-transform:uppercase}.total small{font-size:11px;color:var(--muted)}.content{padding:18px;flex:1;min-height:0;display:grid;gap:18px}.content.classic{grid-template-columns:188px minmax(0,1fr) 440px}.content.fieldwork{grid-template-columns:178px minmax(0,1.28fr) minmax(0,1fr)}.content.atlas{grid-template-columns:350px minmax(0,1.27fr) minmax(0,1fr)}.content.studio{grid-template-columns:1.07fr 1fr;grid-template-rows:minmax(0,1fr) 244px;gap:16px}.content.instrument{grid-template-columns:194px minmax(0,1fr) 450px;gap:22px;padding:22px}.side{min-width:0;display:flex;flex-direction:column;gap:6px}.side-heading{height:30px;padding:2px 10px;font-size:12px;color:var(--muted)}.session{padding:12px 10px;margin-bottom:4px;border-radius:var(--radius);border-left:3px solid transparent}.session.active{background:var(--selected);border-left-color:var(--accent)}.session strong{display:block;font-size:13px;font-weight:600}.session small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.session .meta{margin-top:1px}.session-thumb{display:none}.sessions.compact .session{padding:9px 10px}.sessions.thumbnails .session{display:flex;gap:10px}.sessions.thumbnails .session-thumb{display:block;width:38px;height:48px;object-fit:cover;background:#111}.sessions.thumbnails .session>div{flex:1;min-width:0}
|
||||
.panel{border:1px solid var(--line);background:var(--panel);border-radius:var(--radius);min-width:0;min-height:0;overflow:hidden}.panel-head{height:46px;display:flex;justify-content:space-between;align-items:center;padding:0 16px;gap:10px;border-bottom:1px solid var(--line)}.panel-head .right{display:flex;gap:7px;align-items:center}.select{height:29px;border:1px solid var(--line);border-radius:var(--radius);background:var(--raised);padding:4px 11px;display:inline-flex;align-items:center;gap:20px;font-size:11px;white-space:nowrap}.select:after{content:'⌄';font-size:14px;color:var(--muted);line-height:1}.center-stack,.right-stack{display:flex;flex-direction:column;gap:16px;min-height:0;min-width:0}.graph{flex:none;height:312px;display:flex;flex-direction:column}.graph svg{display:block;width:100%;height:100%;min-height:0}.chart-body{padding:0 10px 4px;height:calc(100% - 46px)}.chart-legend{display:flex;gap:14px;font-size:10px;color:var(--muted);align-items:center}.dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:currentColor;margin-right:5px}.plot-grid{stroke:var(--line);stroke-width:1}.plot-text{fill:var(--muted);font:11px 'Segoe UI',Arial}.plot-value{fill:var(--text);font:11px 'Segoe UI',Arial}.plot-marker.keep{fill:var(--keep)}.plot-marker.review{fill:var(--review)}.plot-marker.reject{fill:var(--reject)}.plot-reference{stroke:var(--accent);stroke-width:1.2;fill:none}.plot-selection{stroke:var(--text);stroke-width:.8;opacity:.45}
|
||||
.table-panel{flex:1;min-height:0;display:flex;flex-direction:column}.frame-table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:12px}.frame-table th{font-size:10px;font-weight:400;color:var(--muted);height:34px;padding:0 12px;text-align:left;border-bottom:1px solid var(--line)}.frame-table td{padding:11px 12px;height:48px;border-bottom:1px solid var(--faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.frame-table td:first-child{font-size:11px}.frame-table .chosen{background:var(--selected);box-shadow:inset 3px 0 var(--accent)}.frame-table .file{font-size:10px;color:var(--muted);display:block;margin-top:3px;overflow:hidden;text-overflow:ellipsis}.frame-table .num{text-align:right}.frame-table .decision{font-size:10px;letter-spacing:.2px;font-weight:600}.table-body{overflow:auto;flex:1;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.table-caption{padding:9px 15px;color:var(--muted);font-size:10px;border-top:1px solid var(--line);height:32px;flex:none}.frame-table .filecol{width:40%}.frame-table .dec-col{width:82px}.frame-table .time-col{width:100px}.frame-table .num-col{width:64px}
|
||||
.inspector{display:flex;flex-direction:column;min-height:0;min-width:0}.inspector-head{height:30px;display:flex;align-items:center;justify-content:space-between;padding:0 1px 8px;flex:none}.decision-controls{display:flex;align-items:center;gap:7px;flex:none;height:40px;margin:4px 0 6px}.decision-controls .button{flex:1;height:32px;padding:0 11px}.decision-controls .reset{flex:0;height:30px;color:var(--muted)}.view-controls{height:35px;display:flex;align-items:center;justify-content:space-between;flex:none;gap:8px}.check-options{display:flex;gap:12px;align-items:center;font-size:11px;color:var(--muted)}.check{display:inline-block;width:12px;height:12px;border:1px solid var(--muted);border-radius:2px;vertical-align:-2px;margin-right:5px}.preview-stage{flex:1;min-height:0;margin:10px 0 0;display:flex;justify-content:center;align-items:center;background:#090b0e;border:1px solid var(--line);position:relative;overflow:hidden;border-radius:var(--radius)}.preview-stage img{display:block;width:100%;height:100%;object-fit:contain;min-height:0}.preview-stage .image-label{position:absolute;left:10px;top:8px;color:#f1eeea;background:#101011bb;font-size:10px;padding:4px 7px;border-radius:2px}.stretch{flex:none;min-height:64px;padding:9px 0 7px}.stretch-title{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px;margin-bottom:2px}.slider-line{height:34px;display:flex;gap:12px;align-items:center;padding:0 2px}.slider-area{height:28px;display:flex;align-items:center;flex:1;min-width:0;padding:0 9px}.slider-rail{position:relative;height:3px;background:var(--track);width:100%;border-radius:2px}.slider-fill{position:absolute;inset:0 auto 0 0;width:38%;background:var(--accent)}.slider-knob{position:absolute;width:15px;height:15px;top:50%;left:38%;transform:translate(-50%,-50%);border-radius:50%;border:2px solid var(--bg);background:var(--accent);box-shadow:0 0 0 1px var(--accent)}.exposure-caption{font-size:11px;min-height:44px;padding:7px 1px 4px;flex:none}.exposure-caption .filename{color:var(--muted);font-size:10px;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-bottom:4px}.details-toggle{height:34px;flex:none;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);font-size:12px;padding:0 2px}.reason{padding:13px 15px;flex:none;display:flex;flex-direction:column;gap:9px}.reason h3{font-size:13px;font-weight:500}.reason p{font-size:11px;color:var(--muted);line-height:1.6}.reason-line{display:flex;gap:8px;align-items:baseline;font-size:11px}.reason-line:before{content:'•';color:var(--reject)}.measurements{padding:3px 15px 12px}.measure-row{display:flex;justify-content:space-between;border-bottom:1px solid var(--faint);height:30px;align-items:center;font-size:11px}.measure-row span{color:var(--muted)}.measure-row b{font-weight:500}.measure-header{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;padding:10px 0 5px}.footer{height:26px;flex:none;border-top:1px solid var(--line);padding:5px 20px;display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}
|
||||
.fieldwork .inspector{padding:0 14px;border-left:1px solid var(--line);border-right:1px solid var(--line)}.fieldwork .graph{height:306px}.fieldwork .preview-stage{margin-top:9px}.fieldwork .right-stack .table-panel{min-height:225px}.fieldwork .right-stack .reason{padding:14px 16px}.fieldwork .right-stack{gap:14px}.fieldwork .inspector-head h3{font-size:16px}.fieldwork .decision-controls{margin-top:10px}.fieldwork .exposure-caption{padding-top:8px}.session-ribbon{display:flex;align-items:center;gap:8px;height:54px;flex:none;padding:8px 22px;border-bottom:1px solid var(--line);background:var(--panel)}.ribbon-item{display:flex;flex-direction:column;padding:4px 15px;border-bottom:2px solid transparent;min-width:153px;font-size:12px}.ribbon-item small{font-size:10px;color:var(--muted)}.ribbon-item.active{border-color:var(--accent);background:var(--selected)}.studio .inspector{display:grid;grid-template-columns:1fr;grid-template-rows:34px minmax(0,1fr) 57px;position:relative}.studio .inspector .inspector-head{height:34px}.studio .preview-stage{margin:0}.studio .studio-bottom{display:flex;align-items:center;gap:16px;margin-top:7px}.studio .decision-controls{min-width:295px;margin:0}.studio .stretch{flex:1;padding:0;min-height:50px}.studio .stretch-title{margin:0}.studio .select{margin-left:auto}.studio .right-stack .graph{flex:1;height:auto;min-height:250px}.studio .reason{background:var(--panel)}.studio .table-panel{grid-column:1/-1}.studio .frame-table td{height:34px;padding:7px 12px}.studio .table-caption{display:none}.studio .exposure-caption{display:none}.studio .reason-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px 28px}.studio .reason-grid .measure-row{height:27px}.atlas .frame-table .filecol{display:none}.atlas .frame-table td{height:67px}.atlas .frame-table th{height:38px}.atlas .preview-stage{margin-top:0}.atlas .inspector{padding:0 10px}.atlas .inspector-head{height:37px}.atlas .right-stack .graph{height:345px}.atlas .right-stack .reason{padding:18px}.atlas .measurements{padding:0 18px 18px}.atlas .measure-row{height:37px}.atlas .decision-controls{margin-top:9px}.instrument .panel{border-radius:0;border-width:0;background:transparent}.instrument .graph{height:329px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.instrument .panel-head{padding-left:0;padding-right:0}.instrument .chart-body{padding-left:0;padding-right:0}.instrument .table-panel .panel-head{border-bottom:1px solid var(--line)}.instrument .frame-table td{height:39px;padding-top:6px;padding-bottom:6px}.instrument .inspector{padding-left:20px;border-left:1px solid var(--line)}.instrument .reason{padding:10px 0 0}.instrument .inspector-head{height:32px}.instrument .preview-stage{border:0;border-radius:0}.instrument .table-caption{padding-left:0}.instrument .decision-controls .button{border-radius:0}.instrument .side-heading{font-family:Georgia,serif;font-size:16px;color:var(--text)}.instrument .session.active{background:transparent;border-left-color:var(--accent)}
|
||||
101
design-concepts/qa-results.json
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
{
|
||||
"viewport": "1680x1000",
|
||||
"errors": [],
|
||||
"designs": [
|
||||
{
|
||||
"design": "Copper Observatory",
|
||||
"sliderFits": true,
|
||||
"controlsInsideWindow": true,
|
||||
"overlappingHeaders": [],
|
||||
"imagesLoaded": true,
|
||||
"singleGraph": true,
|
||||
"noInspectStars": true,
|
||||
"encodingIntact": true,
|
||||
"previewPixels": {
|
||||
"x": 1221,
|
||||
"y": 310,
|
||||
"width": 440,
|
||||
"height": 499.21875,
|
||||
"right": 1661,
|
||||
"bottom": 809.21875
|
||||
},
|
||||
"externalAssets": 0
|
||||
},
|
||||
{
|
||||
"design": "Olive Fieldwork",
|
||||
"sliderFits": true,
|
||||
"controlsInsideWindow": true,
|
||||
"overlappingHeaders": [],
|
||||
"imagesLoaded": true,
|
||||
"singleGraph": true,
|
||||
"noInspectStars": true,
|
||||
"encodingIntact": true,
|
||||
"previewPixels": {
|
||||
"x": 230,
|
||||
"y": 259,
|
||||
"width": 771.671875,
|
||||
"height": 527.21875,
|
||||
"right": 1001.671875,
|
||||
"bottom": 786.21875
|
||||
},
|
||||
"externalAssets": 0
|
||||
},
|
||||
{
|
||||
"design": "Graphite Studio",
|
||||
"sliderFits": true,
|
||||
"controlsInsideWindow": true,
|
||||
"overlappingHeaders": [],
|
||||
"imagesLoaded": true,
|
||||
"singleGraph": true,
|
||||
"noInspectStars": true,
|
||||
"encodingIntact": true,
|
||||
"previewPixels": {
|
||||
"x": 19,
|
||||
"y": 273,
|
||||
"width": 840.484375,
|
||||
"height": 365,
|
||||
"right": 859.484375,
|
||||
"bottom": 638
|
||||
},
|
||||
"externalAssets": 0
|
||||
},
|
||||
{
|
||||
"design": "Plum Atlas",
|
||||
"sliderFits": true,
|
||||
"controlsInsideWindow": true,
|
||||
"overlappingHeaders": [],
|
||||
"imagesLoaded": true,
|
||||
"singleGraph": true,
|
||||
"noInspectStars": true,
|
||||
"encodingIntact": true,
|
||||
"previewPixels": {
|
||||
"x": 397,
|
||||
"y": 257,
|
||||
"width": 682.6875,
|
||||
"height": 531.21875,
|
||||
"right": 1079.6875,
|
||||
"bottom": 788.21875
|
||||
},
|
||||
"externalAssets": 0
|
||||
},
|
||||
{
|
||||
"design": "Parchment Instrument",
|
||||
"sliderFits": true,
|
||||
"controlsInsideWindow": true,
|
||||
"overlappingHeaders": [],
|
||||
"imagesLoaded": true,
|
||||
"singleGraph": true,
|
||||
"noInspectStars": true,
|
||||
"encodingIntact": true,
|
||||
"previewPixels": {
|
||||
"x": 1228,
|
||||
"y": 316,
|
||||
"width": 429,
|
||||
"height": 489.21875,
|
||||
"right": 1657,
|
||||
"bottom": 805.21875
|
||||
},
|
||||
"externalAssets": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
13
design-concepts/render_gallery.cjs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
const {chromium}=require('C:/Users/Elijah/.cache/codex-runtimes/codex-primary-runtime/dependencies/node/node_modules/playwright');
|
||||
const path=require('path'),{pathToFileURL}=require('url');
|
||||
(async()=>{
|
||||
const browser=await chromium.launch({executablePath:'C:/Program Files/Google/Chrome/Application/chrome.exe',headless:true,args:['--disable-gpu','--disable-extensions','--no-first-run']});
|
||||
try{
|
||||
const page=await browser.newPage({viewport:{width:1680,height:1000}});
|
||||
await page.goto(pathToFileURL(path.join(__dirname,'index.html')).href,{waitUntil:'load'});
|
||||
await page.evaluate(async()=>{await document.fonts.ready;await Promise.all([...document.images].map(i=>i.decode()));});
|
||||
const counts=await page.evaluate(()=>({cards:document.querySelectorAll('article').length,imagesLoaded:[...document.images].every(i=>i.naturalWidth>0),horizontalOverflow:document.documentElement.scrollWidth>innerWidth}));
|
||||
if(counts.cards!==5||!counts.imagesLoaded||counts.horizontalOverflow)throw new Error(JSON.stringify(counts));
|
||||
await page.screenshot({path:path.join(__dirname,'gallery-preview.png'),fullPage:true});console.log(JSON.stringify(counts));
|
||||
}finally{await browser.close();}
|
||||
})().catch(e=>{console.error(e);process.exitCode=1});
|
||||
28
design-concepts/render_mockups.cjs
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
const {chromium}=require('C:/Users/Elijah/.cache/codex-runtimes/codex-primary-runtime/dependencies/node/node_modules/playwright');
|
||||
const fs=require('fs'),path=require('path'),{pathToFileURL}=require('url');
|
||||
|
||||
(async()=>{
|
||||
const directory=__dirname,designs=JSON.parse(fs.readFileSync(path.join(directory,'concepts.json'),'utf8'));
|
||||
const browser=await chromium.launch({executablePath:'C:/Program Files/Google/Chrome/Application/chrome.exe',headless:true,args:['--disable-gpu','--disable-extensions','--no-first-run']});
|
||||
const context=await browser.newContext({viewport:{width:1680,height:1000},deviceScaleFactor:1});
|
||||
const page=await context.newPage(),errors=[];page.on('pageerror',e=>errors.push(e.message));
|
||||
const reports=[];
|
||||
try{
|
||||
for(const design of designs){
|
||||
await page.goto(pathToFileURL(path.join(directory,design.slug+'.html')).href,{waitUntil:'load'});
|
||||
await page.evaluate(async()=>{await document.fonts.ready;await Promise.all([...document.images].map(i=>i.decode()));});
|
||||
const result=await page.evaluate(()=>{
|
||||
const bounds=e=>{const r=e.getBoundingClientRect();return {x:r.x,y:r.y,width:r.width,height:r.height,right:r.right,bottom:r.bottom};};
|
||||
const contains=(a,b)=>a.x>=b.x-.1&&a.y>=b.y-.1&&a.right<=b.right+.1&&a.bottom<=b.bottom+.1;
|
||||
const root=document.getElementById('app'),knob=document.querySelector('[data-qa="knob"]'),stretch=document.querySelector('[data-qa="stretch"]');
|
||||
const inWindow=[...document.querySelectorAll('.button,.select,.slider-knob,.preview-stage,.inspector-head,.scope,.session-ribbon')].every(e=>contains(bounds(e),bounds(root)));
|
||||
const badHeaders=[...document.querySelectorAll('.panel-head')].filter(h=>[...h.children].some(c=>!contains(bounds(c),bounds(h)))).map(h=>h.textContent.trim());
|
||||
return {sliderFits:contains(bounds(knob),bounds(stretch)),controlsInsideWindow:inWindow,overlappingHeaders:badHeaders,imagesLoaded:[...document.images].every(i=>i.naturalWidth>0),singleGraph:document.querySelectorAll('.graph').length===1,noInspectStars:!document.body.textContent.includes('Inspect stars'),encodingIntact:!document.querySelector('style').textContent.includes('â€')&&!document.querySelector('style').textContent.includes('âŒ'),previewPixels:bounds(document.querySelector('.preview-stage')),externalAssets:[...document.querySelectorAll('[src]')].filter(e=>!e.getAttribute('src').startsWith('data:')).length};
|
||||
});
|
||||
await page.screenshot({path:path.join(directory,design.slug+'.png')});
|
||||
reports.push({design:design.name,...result});console.log(JSON.stringify(reports.at(-1)));
|
||||
}
|
||||
fs.writeFileSync(path.join(directory,'qa-results.json'),JSON.stringify({viewport:'1680x1000',errors,designs:reports},null,2));
|
||||
if(errors.length||reports.some(r=>!r.sliderFits||!r.controlsInsideWindow||r.overlappingHeaders.length||!r.imagesLoaded||!r.singleGraph||!r.noInspectStars||!r.encodingIntact||r.externalAssets))process.exitCode=1;
|
||||
}finally{await browser.close();}
|
||||
})().catch(e=>{console.error(e);process.exitCode=1});
|
||||
37
design-concepts/unchanged-baseline.json
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
"src\\AstroFrame.Desktop\\DesktopState.cs": "cc7d9976cbc0decac0e01d4b6d9082207b8ee96ebef60ff4f1f85ee5423135aa",
|
||||
"src\\AstroFrame.Desktop\\MainWindow.cs": "37ef809901ec45496b54e558933e12d0bc5772fa736e111e75fb9414011535f4",
|
||||
"src\\AstroFrame.Desktop\\NativeDesktopChecks.cs": "df049f4f7631b3c12b634480fd379c604d804c59ff3a9082a906942053b9d8b2",
|
||||
"src\\AstroFrame.Desktop\\Program.cs": "7e54b17dda8361c409ad53ecfa6c5dcfb96572090ab889ad4afaf024d6bc6cb6",
|
||||
"src\\AstroFrame.Desktop\\SpaceBackdrop.cs": "c78f51cc6031e2fb917cb14ae02879d9594de352ee9eed4ecfbdd2abeab48d0d",
|
||||
"src\\AstroFrame.Desktop\\StarInspector.cs": "4568526f579b8c15a9ee7eefec98d648e676e1f00e13856e7d63ddf63f973b34",
|
||||
"src\\AstroFrame.Desktop\\Visuals.cs": "f16f5b872f30c9747f93b17aeddc4eef380addc927553c5b5842cf222aa1a10c",
|
||||
"src\\AstroFrame.Engine\\Classification.cs": "392ebb4f6e644e8ccb49e4e9794ba58cdf3bd33bafb9df6a18278c7aca914bcd",
|
||||
"src\\AstroFrame.Engine\\Export.cs": "d305858ecceeb730b32080e8e2b6e46bfea0b2b46eea0d30f95781b6a3024f4f",
|
||||
"src\\AstroFrame.Engine\\Fits.cs": "0c70ec845cb90a93b7f82e46130b4300147fc55a01906f900a809d0ef0d54dea",
|
||||
"src\\AstroFrame.Engine\\Matching.cs": "93625dd3df4ce86b0de6bb4aaf3576848f6079f2ba8273e0676be6b51fa5d570",
|
||||
"src\\AstroFrame.Engine\\Measurements.cs": "68070da95c4c39e564f5ebea28c2d9917f7525c3ce6458ea59290ec133de2698",
|
||||
"src\\AstroFrame.Engine\\Models.cs": "86030f0d21554f7a59c7d8225b12ff0c49b68180441dc237193cfb1969b6958e",
|
||||
"src\\AstroFrame.Engine\\PreviewRenderer.cs": "88cb727971a9cd84217a86511610cc8ffdc0fb29c169850eede64efb56413c27",
|
||||
"src\\AstroFrame.Engine\\ProjectStore.cs": "bf3e58ae537214ec542a78931c86c02559e7f7e8cbc4e96a614a7ffb8d00fb46",
|
||||
"src\\AstroFrame.Engine\\ResourcePolicy.cs": "8e49899b854f53ff6cc80bd12a40d788109351d68d11126b01e9aefc8d68579f",
|
||||
"src\\AstroFrame.Engine\\SkyModel.cs": "819e9ccd88954d1a1cb24a357795ef8aad841184e1420ee438acb542b6a7710e",
|
||||
"src\\AstroFrame.Engine\\SpatialReference.cs": "cbb35aba9ec7dc17570c9fe9b356008249fb416fd327b8833dad9c2c3625bf3d",
|
||||
"src\\AstroFrame.Engine\\StellarDetail.cs": "16c8dc7615cc1b15f7a0ea4a871051caa8a152f956857439b33a0e54ffd3d910",
|
||||
"src\\AstroFrame.Desktop\\obj\\Release\\net8.0\\.NETCoreApp,Version=v8.0.AssemblyAttributes.cs": "f7a5d9789c863625e139ff99e1113a503830f6b85a88f6129916df83ac76b49e",
|
||||
"src\\AstroFrame.Desktop\\obj\\Release\\net8.0\\AstroFrame.Desktop.AssemblyInfo.cs": "992744bad6cc99ebc2d30709cb17c10a9089ba67795f2f0306921990f706046d",
|
||||
"src\\AstroFrame.Desktop\\obj\\Release\\net8.0\\AstroFrame.Desktop.GlobalUsings.g.cs": "f3f134e9e825e3e7268090f58b1af2bda2de513f61a09c56f48b9b8d08612abc",
|
||||
"src\\AstroFrame.Desktop\\obj\\Release\\net8.0\\linux-x64\\.NETCoreApp,Version=v8.0.AssemblyAttributes.cs": "f7a5d9789c863625e139ff99e1113a503830f6b85a88f6129916df83ac76b49e",
|
||||
"src\\AstroFrame.Desktop\\obj\\Release\\net8.0\\linux-x64\\AstroFrame.Desktop.AssemblyInfo.cs": "992744bad6cc99ebc2d30709cb17c10a9089ba67795f2f0306921990f706046d",
|
||||
"src\\AstroFrame.Desktop\\obj\\Release\\net8.0\\linux-x64\\AstroFrame.Desktop.GlobalUsings.g.cs": "f3f134e9e825e3e7268090f58b1af2bda2de513f61a09c56f48b9b8d08612abc",
|
||||
"src\\AstroFrame.Desktop\\obj\\Release\\net8.0\\win-x64\\.NETCoreApp,Version=v8.0.AssemblyAttributes.cs": "f7a5d9789c863625e139ff99e1113a503830f6b85a88f6129916df83ac76b49e",
|
||||
"src\\AstroFrame.Desktop\\obj\\Release\\net8.0\\win-x64\\AstroFrame.Desktop.AssemblyInfo.cs": "992744bad6cc99ebc2d30709cb17c10a9089ba67795f2f0306921990f706046d",
|
||||
"src\\AstroFrame.Desktop\\obj\\Release\\net8.0\\win-x64\\AstroFrame.Desktop.GlobalUsings.g.cs": "f3f134e9e825e3e7268090f58b1af2bda2de513f61a09c56f48b9b8d08612abc",
|
||||
"src\\AstroFrame.Engine\\obj\\Release\\net8.0\\.NETCoreApp,Version=v8.0.AssemblyAttributes.cs": "f7a5d9789c863625e139ff99e1113a503830f6b85a88f6129916df83ac76b49e",
|
||||
"src\\AstroFrame.Engine\\obj\\Release\\net8.0\\AstroFrame.Engine.AssemblyInfo.cs": "571d424f50b5f3901956becc2ee869365890ab24810a9d834afe402b7cf7d33f",
|
||||
"src\\AstroFrame.Engine\\obj\\Release\\net8.0\\AstroFrame.Engine.GlobalUsings.g.cs": "f3f134e9e825e3e7268090f58b1af2bda2de513f61a09c56f48b9b8d08612abc",
|
||||
"artifacts\\AstroFrame\\AstroFrame.Desktop.exe": "3693141e8040e951bf5b5f39be74e3d5b5c552f9998915d76d9686e38a50e9ef",
|
||||
"artifacts\\AstroFrame\\AstroFrame.Desktop.dll": "302be28f6435cb833d26c17bd3c9b8e48cbe7fd86d63b7448dd828fa3f0d912f",
|
||||
"projects\\Sample Survey\\project.json": "e6b6f700ec863f638822bd15d65c7c9af6734f0296e3d199eb260792a3ecab66",
|
||||
"projects\\NGC 7000\\project.json": "05b2cb5da408791f232856382fdede644b6b297fc0dd1da09fcbd76fc8f4b5ab"
|
||||
}
|
||||
61
docs/analysis-design.md
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
# Analysis design and architecture
|
||||
|
||||
## Evidence and scope
|
||||
|
||||
The supplied 1,920 originals cover four targets and five sessions, with 2160×3840 GRBG Bayer data, 30-second exposures and two filter settings. Original FITS files are opened read-only. This application evaluates and exports lights; Siril handles calibration, registration, stacking and post-processing.
|
||||
|
||||
The first algorithm failed real owner-reviewed examples: cloud structure inflated detected-star counts; flux only sampled surviving detections; rolling baselines absorbed prolonged cloud; a small ellipticity deviation reviewed a clear image. The v2 design replaces the cloud measurements, reference construction and classification policy. Rejection counts are not a target or a validation criterion.
|
||||
|
||||
## Components
|
||||
|
||||
- **Engine:** FITS reader, independent `IFrameDetector` measurements, background reference construction, aperture photometry, named decision rules, persistence and export. No GUI, Python runtime, AI or GPU dependency.
|
||||
- **Desktop:** Avalonia/.NET 8 on Windows and Linux; asynchronous orchestration, graph inspection, spatial overlay and manual labels. Windows software rendering and native window decorations.
|
||||
- **Validation:** CLI analysis, real labeled regressions, provisional fixed-time visual samples and synthetic image invariants. Stack quality remains a separate validation task.
|
||||
|
||||
Additional detectors can add measurements independently. A future AI reviewer can consume previews/measurements and supply evidence without replacing deterministic analysis or human overrides. GPU acceleration remains optional and unimplemented.
|
||||
|
||||
## Measurements and reference
|
||||
|
||||
1. Read one FITS image at a time. Bayer data use equal-phase 2×2 averages. A 24×40 grid measures a clipped median sky and difference-based noise. The local interpolated sky, rather than a coarse global region, sets detection significance. A local annulus verifies that a peak rises above its own background, rejecting diffuse cloud texture. Core moments estimate FWHM and ellipticity; they are not calibrated Siril PSF fits.
|
||||
2. Group by target, camera, exposure, filter, gain, dimensions and Bayer pattern; split by timestamps, gaps over two hours and coordinate changes. Each session has its own reference.
|
||||
3. Select an anchor from low-curvature backgrounds with representative star population and morphology. Bright-star pairs estimate a similarity transform, then hundreds of correspondences refine rotation/translation. Maps and reference aperture coordinates follow that transform. Field edges outside the overlap remain unmeasured.
|
||||
4. Robustly remove each map's additive offset and planar gradient. Form an aligned median background map, measure transient residuals, and rebuild three times from the least transient 40% of exposures. This fraction constructs a reference; it is **not** a rejection quota. Persistent target nebulosity belongs to the reference. Smooth sky gradients and offsets are removed rather than interpreted as cloud.
|
||||
5. Read each exposure once more, sequentially, for signed aperture photometry at up to 600 reference coordinates. A local annulus subtracts sky. Reference brightness establishes aperture eligibility; a star need not be detected in the tested exposure. Median fluxes from reference exposures normalize global and 3×4 regional transparency. This addresses survivor bias. Saturated apertures and positions outside the field are excluded explicitly.
|
||||
6. Compare 960 aligned sky cells with the reference. Cell scatter comes from reference-frame residual MAD with a floor relative to measured image noise. Store a mask above five times that scatter, affected overlap fraction, largest connected component, 95th-percentile significance, residual ADU, aperture counts and reference overlap. These are named evidence, not an opaque combined score.
|
||||
|
||||
Grid background estimation and local aperture subtraction are standard image-analysis techniques; see [Photutils background documentation](https://photutils.readthedocs.io/en/stable/api/photutils.background.Background2D.html). This implementation is independent C#, using the supplied data to establish its comparison distributions.
|
||||
|
||||
## Classification
|
||||
|
||||
Morphology and flux baselines use the nearest 40 low-transient reference exposures, excluding the tested frame. Cloud-contaminated neighborhoods do not train their own normal baseline. This follows gradual changes where clear comparison frames exist while retaining a wider session reference during cloudy gaps.
|
||||
|
||||
REJECT evidence routes are explicit:
|
||||
|
||||
- Strong spatial structure: at least 25× reference scatter at the 95th percentile, at least 8% affected overlap and a connected area of at least 3.5%. A lone sky signal must be overwhelming before discarding integration; weaker coherent structure needs stellar corroboration or routes to REVIEW.
|
||||
- Moderate coherent spatial structure plus substantial global flux loss, regional forced-flux loss or detected-star loss.
|
||||
- Severe global flux loss (below 60% of clear-frame baseline) with substantial detected-star loss.
|
||||
- Severe combined stellar width and ellipticity degradation, or almost complete star disappearance relative to a rich reference field.
|
||||
|
||||
Automatic rejection requires enough comparable frames, valid time and adequate aligned overlap. Ordinary rejection also requires reliable matching/aperture measurements. Ambiguous structure, moderate flux loss, substantial single-metric morphology changes and uncertain measurements route to REVIEW. Minor ellipticity fluctuations and a high global background alone do not trigger review.
|
||||
|
||||
These significance and effect-size limits are **engineering policy, not calibrated probabilities or guarantees**. Reference scatter, noise, star population, flux, seeing and background are measured separately per session. No fixed acceptable star count or absolute sky brightness is used. The score exists only for sorting.
|
||||
|
||||
## Limits that need validation
|
||||
|
||||
A wholly uniform, cloudy session may lack any internally observable clear reference. Clouds that resemble a smooth gradient and have little detectable attenuation are difficult. Dense nebulosity, alignment failures, crowded fields, large drift/rotation and changing PSFs can bias maps or fixed-aperture flux. The current model removes only a planar sky trend; a legitimate time-varying nonlinear sky pattern can require review. The red overlay identifies anomalous sky structure, not a pixel-accurate physical cloud segmentation.
|
||||
|
||||
Small sessions and unreliable references cannot automatically reject. Reference stability also checks reference-map residuals against measured pixel noise; a wholly unstable comparison population routes to REVIEW. This does not detect a perfectly uniform, consistently attenuated session. Human overrides remain separate from automatic results. Do not claim the method matches manual Siril selection until independently processed stacks support that claim.
|
||||
|
||||
## Memory, caching and safety
|
||||
|
||||
Up to four workers are now selected automatically, leaving two logical processors unused where possible. A 48-frame NGC 7000 measurement benchmark took 9.04/4.99/2.94 seconds with one/two/four workers, with identical star counts and four-worker peak RAM of 250 MiB. This measures the stellar/background stage, not whole-project speedup. No full-resolution image collection or stack is held in RAM. Reference maps are only 960 values per frame. Windows enforces a verified 6 GiB process allocation cap; both executables use a 3 GiB managed-heap cap. A 256 MiB estimated per-frame budget rejects oversized allocations. Analysis checks physical memory before both image passes, reserving up to 8 GiB or one quarter of physical RAM. The page file does not satisfy this reserve. Sustained pressure stops safely and saves measurements.
|
||||
|
||||
Small JSON metadata stores decisions, notes, evidence and compact masks. Binary versioned caches hold stars, sky maps and forced photometry, validated against source size and modification time and reference identity. A new engine version invalidates analysis without losing human labels. Repeated analysis uses cached measurements and forced apertures when valid. Project writes replace a temporary file atomically. Cancellation leaves analysis incomplete and export disabled.
|
||||
|
||||
Display caches have a separate version. They contain compressed, linear, area-averaged thumbnails rather than a permanently stretched byte image. The screen transfer uses a noise-aware black point and adjustable median brightness; **Nebula view** averages neighboring display samples further. This avoids nearest-pixel aliasing and the original excessively bright, noisy stretch. Prepared display statistics are cached in the viewer so slider changes remain responsive. Disk loading and first-time thumbnail creation run off the UI thread, with cancellation and a single preview-loading gate preventing queued FITS reads during rapid navigation. Old projects regenerate only requested displays on demand.
|
||||
|
||||
The preview is not an input to classification. Source-star inspection reads two originals, maps identical stars through their stored alignment, and displays enlarged source superpixels without interpolation. Crops are independently normalized to judge morphology. See [Siril's screen-transfer discussion](https://siril.readthedocs.io/en/latest/processing/stretching.html) for the distinction between display stretching and linear image data.
|
||||
|
||||
The desktop allows one instance. UI tests run sequentially. The earlier native memory-access crash has not received a confirmed root-cause diagnosis; memory enforcement and later successful runs must not be confused with that diagnosis.
|
||||
|
||||
Export validates source fingerprints, refuses source/output-tree overlap and nonempty destinations, never overwrites original FITS, and supports hardlinks or bounded byte-for-byte copy fallback. Hardlinks share source bytes; downstream tools must write separate outputs. Export separates different targets and retains an audit manifest with classifications and cloud/flux measurements.
|
||||
204
docs/analysis-run.log
Normal file
|
|
@ -0,0 +1,204 @@
|
|||
Reading FITS metadata: 1/1920
|
||||
Reading FITS metadata: 192/1920
|
||||
Reading FITS metadata: 384/1920
|
||||
Reading FITS metadata: 576/1920
|
||||
Reading FITS metadata: 768/1920
|
||||
Reading FITS metadata: 960/1920
|
||||
Reading FITS metadata: 1152/1920
|
||||
Reading FITS metadata: 1344/1920
|
||||
Reading FITS metadata: 1536/1920
|
||||
Reading FITS metadata: 1728/1920
|
||||
Reading FITS metadata: 1920/1920
|
||||
Measuring stars and sky: 1/1920
|
||||
Measuring stars and sky: 192/1920
|
||||
Measuring stars and sky: 384/1920
|
||||
Measuring stars and sky: 576/1920
|
||||
Measuring stars and sky: 768/1920
|
||||
Measuring stars and sky: 960/1920
|
||||
Measuring stars and sky: 1152/1920
|
||||
Measuring stars and sky: 1344/1920
|
||||
Measuring stars and sky: 1536/1920
|
||||
Measuring stars and sky: 1728/1920
|
||||
Measuring stars and sky: 1920/1920
|
||||
Matching stars and building local baselines: 0/1920
|
||||
Analysis complete: 1920/1920
|
||||
{
|
||||
"elapsedSeconds": 165.11815,
|
||||
"peakWorkingMB": 457.49609375,
|
||||
"peakCommittedMB": 428.1953125,
|
||||
"processLimitMB": 2048,
|
||||
"heapLimitMB": 768,
|
||||
"windowsLimitEnforced": true,
|
||||
"engine": "0.1.0-experimental-4",
|
||||
"validation": "Unlabeled exploratory results; no evidence of stack parity",
|
||||
"sessions": [
|
||||
{
|
||||
"session": "IC 1805 \u00B7 2026-08-26 08:00 \u00B7 1 \u00B7 LP",
|
||||
"frames": 309,
|
||||
"keep": 299,
|
||||
"review": 9,
|
||||
"reject": 1,
|
||||
"totalMinutes": 154.5,
|
||||
"keepMinutes": 149.5,
|
||||
"stars": [
|
||||
713.4,
|
||||
842,
|
||||
924
|
||||
],
|
||||
"fwhm": [
|
||||
3.7016547332657703,
|
||||
3.8817492412476904,
|
||||
4.101185547734479
|
||||
],
|
||||
"flux": [
|
||||
0.9390225130493245,
|
||||
1,
|
||||
1.019057938509606
|
||||
],
|
||||
"matching": [
|
||||
0.929449850886831,
|
||||
0.9674502712477396,
|
||||
0.9819753600374673
|
||||
],
|
||||
"causes": {
|
||||
"Consistent with nearby exposures": 299,
|
||||
"Quality deviation needs review": 9,
|
||||
"Possible cloud / transparency loss": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"session": "M 33 \u00B7 2026-10-02 03:34 \u00B7 1 \u00B7 IRCUT",
|
||||
"frames": 254,
|
||||
"keep": 240,
|
||||
"review": 14,
|
||||
"reject": 0,
|
||||
"totalMinutes": 127,
|
||||
"keepMinutes": 120,
|
||||
"stars": [
|
||||
1102.3,
|
||||
1296.5,
|
||||
1385.35
|
||||
],
|
||||
"fwhm": [
|
||||
3.2475945470493968,
|
||||
3.4621459544485007,
|
||||
3.8522175317447016
|
||||
],
|
||||
"flux": [
|
||||
0.9126397921091285,
|
||||
1,
|
||||
1.0435316600089453
|
||||
],
|
||||
"matching": [
|
||||
0.9909140195504779,
|
||||
0.9962894248608535,
|
||||
0.9988351254480287
|
||||
],
|
||||
"causes": {
|
||||
"Consistent with nearby exposures": 240,
|
||||
"Quality deviation needs review": 14
|
||||
}
|
||||
},
|
||||
{
|
||||
"session": "NGC 1432 \u00B7 2026-09-20 06:50 \u00B7 1 \u00B7 IRCUT",
|
||||
"frames": 490,
|
||||
"keep": 391,
|
||||
"review": 95,
|
||||
"reject": 4,
|
||||
"totalMinutes": 245,
|
||||
"keepMinutes": 195.5,
|
||||
"stars": [
|
||||
1400.8,
|
||||
1758,
|
||||
2625.9999999999973
|
||||
],
|
||||
"fwhm": [
|
||||
3.306736145624173,
|
||||
3.402824384992561,
|
||||
3.7733233670907906
|
||||
],
|
||||
"flux": [
|
||||
0.6466034220160503,
|
||||
0.9995457110739384,
|
||||
1.0406770581546665
|
||||
],
|
||||
"matching": [
|
||||
0.9418406072106262,
|
||||
0.9981981981981982,
|
||||
1
|
||||
],
|
||||
"causes": {
|
||||
"Quality deviation needs review": 94,
|
||||
"Consistent with nearby exposures": 391,
|
||||
"Uncertain star matching / measurements": 1,
|
||||
"Possible cloud / transparency loss": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"session": "NGC 1432 \u00B7 2026-10-02 06:00 \u00B7 2 \u00B7 IRCUT",
|
||||
"frames": 563,
|
||||
"keep": 534,
|
||||
"review": 29,
|
||||
"reject": 0,
|
||||
"totalMinutes": 281.5,
|
||||
"keepMinutes": 267,
|
||||
"stars": [
|
||||
1289.1,
|
||||
1550,
|
||||
1696
|
||||
],
|
||||
"fwhm": [
|
||||
3.545001949518656,
|
||||
3.796412287226701,
|
||||
4.150905436125702
|
||||
],
|
||||
"flux": [
|
||||
0.9125062939945143,
|
||||
1,
|
||||
1.0240010570683782
|
||||
],
|
||||
"matching": [
|
||||
0.9374933412252145,
|
||||
0.9946808510638298,
|
||||
0.9982078853046595
|
||||
],
|
||||
"causes": {
|
||||
"Consistent with nearby exposures": 534,
|
||||
"Quality deviation needs review": 29
|
||||
}
|
||||
},
|
||||
{
|
||||
"session": "NGC 281 \u00B7 2026-09-26 08:00 \u00B7 1 \u00B7 LP",
|
||||
"frames": 304,
|
||||
"keep": 285,
|
||||
"review": 19,
|
||||
"reject": 0,
|
||||
"totalMinutes": 152,
|
||||
"keepMinutes": 142.5,
|
||||
"stars": [
|
||||
1619,
|
||||
1742,
|
||||
1814.6999999999998
|
||||
],
|
||||
"fwhm": [
|
||||
3.083001647601608,
|
||||
3.376176348990676,
|
||||
3.6662160658793
|
||||
],
|
||||
"flux": [
|
||||
0.9333414427943276,
|
||||
1,
|
||||
1.0302573161415467
|
||||
],
|
||||
"matching": [
|
||||
0.9745060440470277,
|
||||
0.9925650300750062,
|
||||
0.9982009527513125
|
||||
],
|
||||
"causes": {
|
||||
"Consistent with nearby exposures": 285,
|
||||
"Quality deviation needs review": 19
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
49
docs/dataset-findings.md
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
# Supplied-dataset findings — spatial-reference engine
|
||||
|
||||
The first algorithm failed the owner's screenshots and is superseded. These results are **provisional automatic decisions**, not ground-truth accuracy. Rejection counts are not tuned to the owner's approximate manual count. No controlled Siril stack comparison has been performed.
|
||||
|
||||
| Target / FITS UTC date | Lights | KEEP | REVIEW | REJECT | KEEP integration |
|
||||
|---|---:|---:|---:|---:|---:|
|
||||
| IC1805 / Aug 26 | 309 | 301 | 3 | 5 | 150.5 min |
|
||||
| M33 / Oct 2 | 254 | 243 | 11 | 0 | 121.5 min |
|
||||
| Pleiades / Sep 20 | 490 | 358 | 55 | 77 | 179 min |
|
||||
| Pleiades / Oct 2 | 563 | 547 | 16 | 0 | 273.5 min |
|
||||
| NGC281 / Sep 26 | 304 | 293 | 11 | 0 | 146.5 min |
|
||||
| NGC7000 / Aug 17 | 147 | 141 | 6 | 0 | 70.5 min |
|
||||
| **Total** | **2,067** | **1,883** | **102** | **82** | **941.5 min** |
|
||||
|
||||
Across both Pleiades nights: 905 KEEP, 71 REVIEW, 77 REJECT. KEEP-only export excludes 148 exposures (74 minutes); REVIEW integration is not declared unusable. All sessions together retain 941.5 of 1,033.5 supplied minutes by default. Original FITS files are untouched. The added NGC 7000 sample is documented separately in [preview and morphology findings](ngc7000-findings.md); its two reported REVIEW exposures have visibly elongated stars, rather than cloud flags.
|
||||
|
||||
## Reproduced failures and regression results
|
||||
|
||||
The five owner-reviewed examples originally passed only **1/5**. The spatial-reference engine passes **5/5**:
|
||||
|
||||
| Filename suffix | Owner judgment | New automatic |
|
||||
|---|---|---|
|
||||
| 20260919-235146 | Extensive upper cloud | REJECT |
|
||||
| 20260919-235218 | Extensive upper cloud, previously KEEP | REJECT |
|
||||
| 20260919-235652 | Clear, previously KEEP | KEEP |
|
||||
| 20260919-235856 | Clear, falsely REVIEW | KEEP |
|
||||
| 20260920-001734 | Extensive cloud bands, previously KEEP | REJECT |
|
||||
|
||||
A one-frame-at-a-time diagnostic aligned 24×40 sky maps and removed offsets/planar gradients. The three cloudy examples had 95th-percentile residual amplitudes about 250–636 ADU, compared with 10–13 ADU for the clear examples. The production engine additionally uses per-cell reference scatter, local sky subtraction, refined alignment and forced stellar apertures. Exact diagnostic amplitudes differ from production measurements because sampling and registration differ.
|
||||
|
||||
Before seeing v2 decisions, 56 fixed capture-order previews were screened across the five sessions: three obvious additional cloudy frames and 53 without obvious cloud structure. The first v2 policy rejected one clear-looking boundary sample based on sky structure alone despite almost normal stellar flux. The final policy sends such modest uncorroborated structure to REVIEW; overwhelming sky structure still rejects. The resulting cloud-only screen passes **56/56**. This policy adjustment used the screen, so it is no longer an untouched test set.
|
||||
|
||||
The provisional clear-looking labels only assert **not REJECT**. They do not certify KEEP, PSF quality or uniform transparency. Independent display stretches can hide faint clouds. These preview observations are not user ground truth, an unbiased accuracy estimate, or proof that every bad frame was found.
|
||||
|
||||
Additional boundary inspection covered the 12 KEEP frames with highest cloud significance, the 12 REJECT frames with lowest significance and the 12 REVIEW frames with highest significance in the first Pleiades night. The sampled rejects show cloud bands; weaker structure mainly routes to REVIEW. One nearly opaque frame remains REVIEW because alignment is uncertain. These selected samples expose edge cases but cannot measure general error rates.
|
||||
|
||||
The validation executable passes **39 checks**, including image-level persistent nebulosity/gradients, gradual flux drift, a prolonged moving-cloud stretch, modest sky structure without stellar loss, a wholly unstable cloudy reference, cache/label migration, source-safe export and display/source independence. These validate mechanics and stated invariants rather than stack quality.
|
||||
|
||||
## Resource verification
|
||||
|
||||
The fresh measurement pass for all 1,920 frames used one worker and took **436.8 seconds**, peaking at **589.8 MiB resident RAM** and **559.3 MiB committed memory**. A subsequent forced-photometry cache refresh with the final reference-stability guard peaked at **616.1 MiB resident RAM**, **586.3 MiB committed**, and took 58.6 seconds. Cached reclassification avoids image reads.
|
||||
|
||||
Those historical one-worker runs enforced and verified the Windows 2 GiB process allocation limit and 768 MiB managed-heap cap. The current package allows up to four workers, with a verified 6 GiB process limit and 3 GiB managed-heap limit. Analysis still checks physical headroom before each image read, preserving about one quarter of physical RAM up to 8 GiB. The page file does not count as free physical RAM. Large raw images are never retained as a project-wide image collection. See the NGC 7000 findings for current parallel benchmarks and the 2,067-frame cached refresh; that refresh peaked at 661.2 MiB resident RAM.
|
||||
|
||||
Current sequential packaged desktop checks passed at two window sizes, including graphs, dense spatial overlay, comparison, 40 exposure switches, filters, sorting, manual overrides, saved notes, reset, latest-preview cancellation and the nebula/stretch controls. Peak desktop RAM was **194.8 MiB**. Larger measurements remain in binary caches rather than review metadata. Windows and Linux packages compile; actual Linux execution is untested.
|
||||
|
||||
The native memory-access crash reported earlier still has no confirmed root-cause diagnosis. Resource enforcement and successful sequential tests are reported separately from crash-cause claims.
|
||||
|
||||
Evidence: `diagnostics/spatial-fresh-resources.json`, `screenshots/resource-checks.json`, `screenshots/smoke-checks.txt`, `validation-sheets/`, `../tests/real-frame-labels.json`, `../tests/visual-cloud-holdout.json`, and `../projects/Sample Survey/report.json`. The failed v1 metadata/report are retained in `diagnostics/v1-project.json` and `diagnostics/v1-report.json`. Complete manual labels and controlled all/manual/automatic Siril stacks remain necessary.
|
||||
527
docs/dataset-inspection.json
Normal file
|
|
@ -0,0 +1,527 @@
|
|||
{
|
||||
"IC1805": {
|
||||
"count": 309,
|
||||
"dates": {
|
||||
"2026-08-26": 309
|
||||
},
|
||||
"formats": [
|
||||
[
|
||||
"2160",
|
||||
"3840",
|
||||
"16",
|
||||
"GRBG",
|
||||
"30.",
|
||||
"LP",
|
||||
"200"
|
||||
]
|
||||
],
|
||||
"samples": [
|
||||
{
|
||||
"file": "Sample Data\\IC1805\\Light_IC 1805_30.0s_LP_20260826-010128.fit",
|
||||
"date": "2026-08-26T08:00:48.142199",
|
||||
"background": 1448.25,
|
||||
"noise": 85.69,
|
||||
"peaks": 507,
|
||||
"p99": 1671.25
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\IC1805\\Light_IC 1805_30.0s_LP_20260826-011415.fit",
|
||||
"date": "2026-08-26T08:13:35.974514",
|
||||
"background": 1439.25,
|
||||
"noise": 86.22,
|
||||
"peaks": 542,
|
||||
"p99": 1663.25
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\IC1805\\Light_IC 1805_30.0s_LP_20260826-012907.fit",
|
||||
"date": "2026-08-26T08:28:27.991327",
|
||||
"background": 1425.75,
|
||||
"noise": 83.07,
|
||||
"peaks": 533,
|
||||
"p99": 1642.25
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\IC1805\\Light_IC 1805_30.0s_LP_20260826-014429.fit",
|
||||
"date": "2026-08-26T08:43:49.976188",
|
||||
"background": 1410.25,
|
||||
"noise": 81.5,
|
||||
"peaks": 525,
|
||||
"p99": 1622.25
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\IC1805\\Light_IC 1805_30.0s_LP_20260826-015921.fit",
|
||||
"date": "2026-08-26T08:58:41.794695",
|
||||
"background": 1404.25,
|
||||
"noise": 79.14,
|
||||
"peaks": 559,
|
||||
"p99": 1609.75
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\IC1805\\Light_IC 1805_30.0s_LP_20260826-021335.fit",
|
||||
"date": "2026-08-26T09:12:55.427805",
|
||||
"background": 1392.75,
|
||||
"noise": 76.78,
|
||||
"peaks": 564,
|
||||
"p99": 1591.75
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\IC1805\\Light_IC 1805_30.0s_LP_20260826-022908.fit",
|
||||
"date": "2026-08-26T09:28:29.007684",
|
||||
"background": 1384.0,
|
||||
"noise": 75.73,
|
||||
"peaks": 575,
|
||||
"p99": 1580.25
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\IC1805\\Light_IC 1805_30.0s_LP_20260826-024500.fit",
|
||||
"date": "2026-08-26T09:44:21.241447",
|
||||
"background": 1373.0,
|
||||
"noise": 75.47,
|
||||
"peaks": 556,
|
||||
"p99": 1568.75
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\IC1805\\Light_IC 1805_30.0s_LP_20260826-025832.fit",
|
||||
"date": "2026-08-26T09:57:52.313590",
|
||||
"background": 1361.5,
|
||||
"noise": 73.9,
|
||||
"peaks": 565,
|
||||
"p99": 1552.5
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\IC1805\\Light_IC 1805_30.0s_LP_20260826-031333.fit",
|
||||
"date": "2026-08-26T10:12:53.200856",
|
||||
"background": 1346.0,
|
||||
"noise": 72.59,
|
||||
"peaks": 609,
|
||||
"p99": 1533.75
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\IC1805\\Light_IC 1805_30.0s_LP_20260826-032619.fit",
|
||||
"date": "2026-08-26T10:25:40.290008",
|
||||
"background": 1334.0,
|
||||
"noise": 71.54,
|
||||
"peaks": 596,
|
||||
"p99": 1519.0
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\IC1805\\Light_IC 1805_30.0s_LP_20260826-034139.fit",
|
||||
"date": "2026-08-26T10:40:59.204393",
|
||||
"background": 1307.0,
|
||||
"noise": 69.44,
|
||||
"peaks": 614,
|
||||
"p99": 1486.0
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\IC1805\\Light_IC 1805_30.0s_LP_20260826-035457.fit",
|
||||
"date": "2026-08-26T10:54:17.926863",
|
||||
"background": 1296.5,
|
||||
"noise": 68.66,
|
||||
"peaks": 566,
|
||||
"p99": 1474.0
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\IC1805\\Light_IC 1805_30.0s_LP_20260826-040931.fit",
|
||||
"date": "2026-08-26T11:08:51.740643",
|
||||
"background": 1260.0,
|
||||
"noise": 67.09,
|
||||
"peaks": 568,
|
||||
"p99": 1434.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"M33": {
|
||||
"count": 254,
|
||||
"dates": {
|
||||
"2026-10-02": 254
|
||||
},
|
||||
"formats": [
|
||||
[
|
||||
"2160",
|
||||
"3840",
|
||||
"16",
|
||||
"GRBG",
|
||||
"30.",
|
||||
"IRCUT",
|
||||
"200"
|
||||
]
|
||||
],
|
||||
"samples": [
|
||||
{
|
||||
"file": "Sample Data\\M33\\Light_M 33_30.0s_IRCUT_20261001-203443.fit",
|
||||
"date": "2026-10-02T03:34:02.000598",
|
||||
"background": 3033.75,
|
||||
"noise": 108.23,
|
||||
"peaks": 984,
|
||||
"p99": 3336.75
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\M33\\Light_M 33_30.0s_IRCUT_20261001-204526.fit",
|
||||
"date": "2026-10-02T03:44:46.328183",
|
||||
"background": 2923.5,
|
||||
"noise": 106.66,
|
||||
"peaks": 981,
|
||||
"p99": 3220.75
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\M33\\Light_M 33_30.0s_IRCUT_20261001-205609.fit",
|
||||
"date": "2026-10-02T03:55:29.167670",
|
||||
"background": 2817.25,
|
||||
"noise": 104.04,
|
||||
"peaks": 1014,
|
||||
"p99": 3106.75
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\M33\\Light_M 33_30.0s_IRCUT_20261001-210735.fit",
|
||||
"date": "2026-10-02T04:06:55.825998",
|
||||
"background": 2694.75,
|
||||
"noise": 100.63,
|
||||
"peaks": 1021,
|
||||
"p99": 2975.75
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\M33\\Light_M 33_30.0s_IRCUT_20261001-211818.fit",
|
||||
"date": "2026-10-02T04:17:38.142009",
|
||||
"background": 2559.25,
|
||||
"noise": 96.96,
|
||||
"peaks": 1043,
|
||||
"p99": 2830.0
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\M33\\Light_M 33_30.0s_IRCUT_20261001-212931.fit",
|
||||
"date": "2026-10-02T04:28:51.492310",
|
||||
"background": 2481.75,
|
||||
"noise": 94.86,
|
||||
"peaks": 1085,
|
||||
"p99": 2744.25
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\M33\\Light_M 33_30.0s_IRCUT_20261001-214001.fit",
|
||||
"date": "2026-10-02T04:39:21.610203",
|
||||
"background": 2438.25,
|
||||
"noise": 93.82,
|
||||
"peaks": 1039,
|
||||
"p99": 2697.75
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\M33\\Light_M 33_30.0s_IRCUT_20261001-215208.fit",
|
||||
"date": "2026-10-02T04:51:29.143802",
|
||||
"background": 2404.0,
|
||||
"noise": 92.24,
|
||||
"peaks": 1067,
|
||||
"p99": 2659.25
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\M33\\Light_M 33_30.0s_IRCUT_20261001-220251.fit",
|
||||
"date": "2026-10-02T05:02:12.263836",
|
||||
"background": 2315.0,
|
||||
"noise": 89.88,
|
||||
"peaks": 1053,
|
||||
"p99": 2564.0
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\M33\\Light_M 33_30.0s_IRCUT_20261001-221405.fit",
|
||||
"date": "2026-10-02T05:13:26.379276",
|
||||
"background": 2298.0,
|
||||
"noise": 89.1,
|
||||
"peaks": 1117,
|
||||
"p99": 2544.25
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\M33\\Light_M 33_30.0s_IRCUT_20261001-222449.fit",
|
||||
"date": "2026-10-02T05:24:09.678666",
|
||||
"background": 2268.5,
|
||||
"noise": 88.31,
|
||||
"peaks": 1064,
|
||||
"p99": 2511.5
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\M33\\Light_M 33_30.0s_IRCUT_20261001-223603.fit",
|
||||
"date": "2026-10-02T05:35:23.882952",
|
||||
"background": 2239.25,
|
||||
"noise": 87.0,
|
||||
"peaks": 1129,
|
||||
"p99": 2479.0
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\M33\\Light_M 33_30.0s_IRCUT_20261001-224758.fit",
|
||||
"date": "2026-10-02T05:47:18.277587",
|
||||
"background": 2208.5,
|
||||
"noise": 86.22,
|
||||
"peaks": 910,
|
||||
"p99": 2450.5
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\M33\\Light_M 33_30.0s_IRCUT_20261001-225953.fit",
|
||||
"date": "2026-10-02T05:59:13.615372",
|
||||
"background": 2181.0,
|
||||
"noise": 85.43,
|
||||
"peaks": 988,
|
||||
"p99": 2419.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"NGC 1432": {
|
||||
"count": 1053,
|
||||
"dates": {
|
||||
"2026-09-20": 490,
|
||||
"2026-10-02": 563
|
||||
},
|
||||
"formats": [
|
||||
[
|
||||
"2160",
|
||||
"3840",
|
||||
"16",
|
||||
"GRBG",
|
||||
"30.",
|
||||
"IRCUT",
|
||||
"200"
|
||||
]
|
||||
],
|
||||
"samples": [
|
||||
{
|
||||
"file": "Sample Data\\NGC 1432\\Light_NGC 1432_30.0s_IRCUT_20260919-235115.fit",
|
||||
"date": "2026-09-20T06:50:35.798278",
|
||||
"background": 2922.75,
|
||||
"noise": 112.42,
|
||||
"peaks": 26869,
|
||||
"p99": 4469.0
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\NGC 1432\\Light_NGC 1432_30.0s_IRCUT_20260920-003611.fit",
|
||||
"date": "2026-09-20T07:35:31.788188",
|
||||
"background": 3522.5,
|
||||
"noise": 122.12,
|
||||
"peaks": 47054,
|
||||
"p99": 5631.0
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\NGC 1432\\Light_NGC 1432_30.0s_IRCUT_20260920-012157.fit",
|
||||
"date": "2026-09-20T08:21:17.631867",
|
||||
"background": 2134.5,
|
||||
"noise": 87.79,
|
||||
"peaks": 1462,
|
||||
"p99": 2419.75
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\NGC 1432\\Light_NGC 1432_30.0s_IRCUT_20260920-020825.fit",
|
||||
"date": "2026-09-20T09:07:45.508784",
|
||||
"background": 1979.25,
|
||||
"noise": 80.97,
|
||||
"peaks": 1548,
|
||||
"p99": 2255.25
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\NGC 1432\\Light_NGC 1432_30.0s_IRCUT_20260920-025407.fit",
|
||||
"date": "2026-09-20T09:53:27.917405",
|
||||
"background": 1867.0,
|
||||
"noise": 77.04,
|
||||
"peaks": 1602,
|
||||
"p99": 2132.0
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\NGC 1432\\Light_NGC 1432_30.0s_IRCUT_20260920-033947.fit",
|
||||
"date": "2026-09-20T10:39:07.663909",
|
||||
"background": 1785.25,
|
||||
"noise": 73.9,
|
||||
"peaks": 1670,
|
||||
"p99": 2048.0
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\NGC 1432\\Light_NGC 1432_30.0s_IRCUT_20260920-042658.fit",
|
||||
"date": "2026-09-20T11:26:19.061467",
|
||||
"background": 1735.75,
|
||||
"noise": 71.8,
|
||||
"peaks": 1712,
|
||||
"p99": 2003.5
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\NGC 1432\\Light_NGC 1432_30.0s_IRCUT_20261001-234347.fit",
|
||||
"date": "2026-10-02T06:43:07.499092",
|
||||
"background": 2897.75,
|
||||
"noise": 104.3,
|
||||
"peaks": 1073,
|
||||
"p99": 3225.75
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\NGC 1432\\Light_NGC 1432_30.0s_IRCUT_20261002-003147.fit",
|
||||
"date": "2026-10-02T07:31:08.008427",
|
||||
"background": 2578.75,
|
||||
"noise": 95.65,
|
||||
"peaks": 1206,
|
||||
"p99": 2886.0
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\NGC 1432\\Light_NGC 1432_30.0s_IRCUT_20261002-011955.fit",
|
||||
"date": "2026-10-02T08:19:15.546839",
|
||||
"background": 2389.5,
|
||||
"noise": 90.67,
|
||||
"peaks": 1143,
|
||||
"p99": 2696.5
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\NGC 1432\\Light_NGC 1432_30.0s_IRCUT_20261002-020739.fit",
|
||||
"date": "2026-10-02T09:07:00.574800",
|
||||
"background": 2241.5,
|
||||
"noise": 87.0,
|
||||
"peaks": 1161,
|
||||
"p99": 2544.5
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\NGC 1432\\Light_NGC 1432_30.0s_IRCUT_20261002-025643.fit",
|
||||
"date": "2026-10-02T09:56:03.807950",
|
||||
"background": 2159.25,
|
||||
"noise": 84.64,
|
||||
"peaks": 1253,
|
||||
"p99": 2457.5
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\NGC 1432\\Light_NGC 1432_30.0s_IRCUT_20261002-034240.fit",
|
||||
"date": "2026-10-02T10:42:01.255576",
|
||||
"background": 2105.0,
|
||||
"noise": 86.74,
|
||||
"peaks": 1417,
|
||||
"p99": 2400.75
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\NGC 1432\\Light_NGC 1432_30.0s_IRCUT_20261002-042942.fit",
|
||||
"date": "2026-10-02T11:29:02.945605",
|
||||
"background": 2113.25,
|
||||
"noise": 87.53,
|
||||
"peaks": 1419,
|
||||
"p99": 2408.5
|
||||
}
|
||||
]
|
||||
},
|
||||
"NGC 281": {
|
||||
"count": 304,
|
||||
"dates": {
|
||||
"2026-09-26": 304
|
||||
},
|
||||
"formats": [
|
||||
[
|
||||
"2160",
|
||||
"3840",
|
||||
"16",
|
||||
"GRBG",
|
||||
"30.",
|
||||
"LP",
|
||||
"200"
|
||||
]
|
||||
],
|
||||
"samples": [
|
||||
{
|
||||
"file": "Sample Data\\NGC 281\\Light_NGC 281_30.0s_LP_20260926-010121.fit",
|
||||
"date": "2026-09-26T08:00:41.673553",
|
||||
"background": 1526.25,
|
||||
"noise": 61.32,
|
||||
"peaks": 1351,
|
||||
"p99": 1697.75
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\NGC 281\\Light_NGC 281_30.0s_LP_20260926-011554.fit",
|
||||
"date": "2026-09-26T08:15:15.466440",
|
||||
"background": 1528.0,
|
||||
"noise": 61.06,
|
||||
"peaks": 1105,
|
||||
"p99": 1700.0
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\NGC 281\\Light_NGC 281_30.0s_LP_20260926-012841.fit",
|
||||
"date": "2026-09-26T08:28:02.088951",
|
||||
"background": 1525.25,
|
||||
"noise": 60.8,
|
||||
"peaks": 1277,
|
||||
"p99": 1695.5
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\NGC 281\\Light_NGC 281_30.0s_LP_20260926-014140.fit",
|
||||
"date": "2026-09-26T08:41:00.496882",
|
||||
"background": 1532.0,
|
||||
"noise": 60.8,
|
||||
"peaks": 1383,
|
||||
"p99": 1702.0
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\NGC 281\\Light_NGC 281_30.0s_LP_20260926-015510.fit",
|
||||
"date": "2026-09-26T08:54:30.761496",
|
||||
"background": 1530.75,
|
||||
"noise": 60.27,
|
||||
"peaks": 1268,
|
||||
"p99": 1700.0
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\NGC 281\\Light_NGC 281_30.0s_LP_20260926-020841.fit",
|
||||
"date": "2026-09-26T09:08:02.205882",
|
||||
"background": 1530.0,
|
||||
"noise": 60.27,
|
||||
"peaks": 1400,
|
||||
"p99": 1698.0
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\NGC 281\\Light_NGC 281_30.0s_LP_20260926-022214.fit",
|
||||
"date": "2026-09-26T09:21:34.481130",
|
||||
"background": 1530.5,
|
||||
"noise": 60.27,
|
||||
"peaks": 1492,
|
||||
"p99": 1695.25
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\NGC 281\\Light_NGC 281_30.0s_LP_20260926-023544.fit",
|
||||
"date": "2026-09-26T09:35:05.406017",
|
||||
"background": 1536.25,
|
||||
"noise": 60.01,
|
||||
"peaks": 1525,
|
||||
"p99": 1700.5
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\NGC 281\\Light_NGC 281_30.0s_LP_20260926-024915.fit",
|
||||
"date": "2026-09-26T09:48:35.566770",
|
||||
"background": 1532.0,
|
||||
"noise": 59.75,
|
||||
"peaks": 1635,
|
||||
"p99": 1697.25
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\NGC 281\\Light_NGC 281_30.0s_LP_20260926-030232.fit",
|
||||
"date": "2026-09-26T10:01:53.298508",
|
||||
"background": 1541.75,
|
||||
"noise": 59.75,
|
||||
"peaks": 1625,
|
||||
"p99": 1707.25
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\NGC 281\\Light_NGC 281_30.0s_LP_20260926-031718.fit",
|
||||
"date": "2026-09-26T10:16:39.167886",
|
||||
"background": 1539.75,
|
||||
"noise": 59.75,
|
||||
"peaks": 1625,
|
||||
"p99": 1704.5
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\NGC 281\\Light_NGC 281_30.0s_LP_20260926-033940.fit",
|
||||
"date": "2026-09-26T10:39:01.303001",
|
||||
"background": 1542.75,
|
||||
"noise": 59.75,
|
||||
"peaks": 1440,
|
||||
"p99": 1709.25
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\NGC 281\\Light_NGC 281_30.0s_LP_20260926-040105.fit",
|
||||
"date": "2026-09-26T11:00:25.721387",
|
||||
"background": 1547.75,
|
||||
"noise": 59.49,
|
||||
"peaks": 1557,
|
||||
"p99": 1713.5
|
||||
},
|
||||
{
|
||||
"file": "Sample Data\\NGC 281\\Light_NGC 281_30.0s_LP_20260926-042723.fit",
|
||||
"date": "2026-09-26T11:26:44.375101",
|
||||
"background": 1553.0,
|
||||
"noise": 59.22,
|
||||
"peaks": 1480,
|
||||
"p99": 1718.25
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
15
docs/desktop-design.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Graphite Atlas desktop
|
||||
|
||||
The owner selected the Graphite Studio palette and Plum Atlas layout from the standalone concepts. The application combines their charcoal backgrounds, silver accents, restrained decision colors, compact summaries and three-column workspace. The exposure queue is on the left, the largest column holds the preview, and the right column contains one selectable quality graph above permanently accessible evidence and measurements. A compact selector above the workspace switches sessions, including All sessions. Filtering, sorting, graph selection, keyboard review, saved overrides, undo and accepted-frame export remain available.
|
||||
|
||||
Frame/Nebula view, cloud overlay and nearby comparison sit above the preview. Preview stretch has a dedicated 48-pixel row below it and a visible silver thumb. The single verdict/time caption, filename and decision buttons follow the stretch. Long evidence lines present a concise first clause, with their complete engine-generated message available on hover. The evidence panel scrolls when needed; no measurements or saved explanations are discarded.
|
||||
|
||||
The header now has a plain graphite background. Its height is reduced from 100 to 74 logical pixels: a 36-pixel native caption row and a 38-pixel project/action row. The project name and light/session counts sit on one line. Removing the photographic background also removes its display-bitmap allocation; the original asset remains preserved with the standalone design concepts.
|
||||
|
||||
The exposure total has its own full-width row above the filter and sort controls. A regression check measures the complete real-project count at the minimum window size before reducing the smoke fixture. Previously the count shared a row with the filter, leaving too little width for 2,067 exposures. Graph points use distinct brighter green, amber and coral brushes and a slightly larger dot radius; the surrounding Graphite palette stays restrained.
|
||||
|
||||
Inspect stars, Open project, the standalone Manifest button, note editing, redundant verdict headings and sidebar explanatory copy are absent. Existing notes remain persisted and included in exports. This frontend update does not alter analysis measurements, classifications or resource policies.
|
||||
|
||||
The integrated title bar retains Avalonia's native caption controls and extended client area. Native resize/minimize/maximize styles, caption dragging, edge hit targets and the maximize target used by Windows Snap layouts remain enabled. Actual pointer-driven drag-to-edge snapping has not been exercised here.
|
||||
|
||||
Validation runs sequential instances with a 1.5 GiB private-memory bound and a 25-second timeout per case. Captures cover the regular and minimum supported layouts, selected/nearby cloud comparison, NGC 7000 Nebula view and 120/144-DPI rasterization. UI smoke checks cover rapid navigation, session selection, filtering, sorting, persisted overrides and old notes, display controls, one graph, removed controls, preview size, visible evidence, full slider-thumb containment and column order. Native checks verify style bits, caption and edge hit targets, working-area maximization, minimization and restoration. See screenshots/smoke-checks.txt, screenshots/resource-checks.json and diagnostics/frontend-validation-results.json for current results. Linux packaging is verified by compilation; Linux execution remains untested.
|
||||
1
docs/diagnostics/cloud-map-index.json
Normal file
BIN
docs/diagnostics/cloud-maps.npz
Normal file
BIN
docs/diagnostics/cloud-residuals.npz
Normal file
4
docs/diagnostics/exposure-count-before-fix.txt
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
System.Exception: full project exposure count fits at minimum window size
|
||||
at AstroFrame.Desktop.MainWindow.<>c__DisplayClass60_0.<SmokeTest>g__Check|0(Boolean value, String text) in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\MainWindow.cs:line 165
|
||||
at AstroFrame.Desktop.MainWindow.SmokeTest(String report) in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\MainWindow.cs:line 168
|
||||
at AstroFrame.Desktop.App.<>c__DisplayClass1_0.<<OnFrameworkInitializationCompleted>b__0>d.MoveNext() in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\Program.cs:line 50
|
||||
21
docs/diagnostics/frontend-validation-results.json
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"uiDesign": "Graphite Atlas with compact plain header",
|
||||
"uiChecks": 31,
|
||||
"allUiChecksPass": true,
|
||||
"peakResidentMiB": 193.3,
|
||||
"sequentialPackagedCases": 9,
|
||||
"renderedDpi": [
|
||||
96,
|
||||
120,
|
||||
144
|
||||
],
|
||||
"windowsPublished": true,
|
||||
"linuxPublished": true,
|
||||
"linuxExecutionTested": false,
|
||||
"liveDragToEdgeSnapTested": false,
|
||||
"classificationChanges": "None; engine source hashes match concept-round baseline",
|
||||
"unchangedEngineSourceFiles": 15,
|
||||
"exposureCountRegression": "Failed before layout fix; passes with full 2,067-frame project at minimum window size",
|
||||
"headerPhotoVisibility": 0,
|
||||
"headerHeightLogicalPixels": 74
|
||||
}
|
||||
1
docs/diagnostics/holdout-frame-id.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
232528E55F19BCEF080D70A6
|
||||
35
docs/diagnostics/initial-pleiades.png.error.txt
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
System.InvalidOperationException: The Control already has a parent.
|
||||
at Avalonia.StyledElement.Avalonia.Controls.ISetLogicalParent.SetParent(ILogical parent)
|
||||
at Avalonia.Controls.Decorator.ChildChanged(AvaloniaPropertyChangedEventArgs e)
|
||||
at Avalonia.Controls.Decorator.<>c.<.cctor>b__2_0(Decorator x, AvaloniaPropertyChangedEventArgs e)
|
||||
at Avalonia.AvaloniaObjectExtensions.ClassHandlerObserver`1.OnNext(AvaloniaPropertyChangedEventArgs value)
|
||||
at Avalonia.Reactive.LightweightObservableBase`1.PublishNext(T value)
|
||||
at Avalonia.Reactive.LightweightSubject`1.OnNext(T value)
|
||||
at Avalonia.AvaloniaProperty`1.NotifyChanged(AvaloniaPropertyChangedEventArgs`1 e)
|
||||
at Avalonia.AvaloniaObject.RaisePropertyChanged[T](AvaloniaProperty`1 property, Optional`1 oldValue, BindingValue`1 newValue, BindingPriority priority, Boolean isEffectiveValue)
|
||||
at Avalonia.PropertyStore.EffectiveValue`1.NotifyValueChanged(ValueStore owner, StyledProperty`1 property, T oldValue)
|
||||
at Avalonia.PropertyStore.EffectiveValue`1.SetAndRaiseCore(ValueStore owner, StyledProperty`1 property, T value, BindingPriority priority, Boolean isOverriddenCurrentValue, Boolean isCoercedDefaultValue)
|
||||
at Avalonia.PropertyStore.EffectiveValue`1.SetLocalValueAndRaise(ValueStore owner, StyledProperty`1 property, T value)
|
||||
at Avalonia.PropertyStore.ValueStore.SetLocalValue[T](StyledProperty`1 property, T value)
|
||||
at Avalonia.PropertyStore.ValueStore.SetValue[T](StyledProperty`1 property, T value, BindingPriority priority)
|
||||
at Avalonia.AvaloniaObject.SetValue[T](StyledProperty`1 property, T value, BindingPriority priority)
|
||||
at Avalonia.Controls.Decorator.set_Child(Control value)
|
||||
at AstroFrame.Desktop.MainWindow.Panel(Control child) in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\MainWindow.cs:line 76
|
||||
at AstroFrame.Desktop.MainWindow.Select(Frame f) in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\MainWindow.cs:line 129
|
||||
at AstroFrame.Desktop.MainWindow.RefreshFrames(Frame prefer) in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\MainWindow.cs:line 116
|
||||
at AstroFrame.Desktop.MainWindow.<.ctor>b__41_1(Object _, SelectionChangedEventArgs _) in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\MainWindow.cs:line 47
|
||||
at Avalonia.Interactivity.Interactive.<AddHandler>g__InvokeAdapter|8_0[TEventArgs](Delegate baseHandler, Object sender, RoutedEventArgs args)
|
||||
at Avalonia.Interactivity.Interactive.<>c__8`1.<AddHandler>b__8_1(Delegate baseHandler, Object sender, RoutedEventArgs args)
|
||||
at Avalonia.Interactivity.EventRoute.RaiseEventImpl(RoutedEventArgs e)
|
||||
at Avalonia.Interactivity.EventRoute.RaiseEvent(Interactive source, RoutedEventArgs e)
|
||||
at Avalonia.Interactivity.Interactive.RaiseEvent(RoutedEventArgs e)
|
||||
at Avalonia.Controls.Primitives.SelectingItemsControl.OnSelectionModelSelectionChanged(Object sender, SelectionModelSelectionChangedEventArgs e)
|
||||
at Avalonia.Controls.Selection.SelectionModel`1.CommitOperation(Operation operation, Boolean raisePropertyChanged)
|
||||
at Avalonia.Controls.Selection.SelectionModel`1.EndBatchUpdate()
|
||||
at Avalonia.Controls.Selection.SelectionModel`1.BatchUpdateOperation.Dispose()
|
||||
at Avalonia.Controls.Selection.SelectionModel`1.set_SelectedIndex(Int32 value)
|
||||
at Avalonia.Controls.Selection.SelectionModel`1.set_SelectedItem(T value)
|
||||
at Avalonia.Controls.Selection.SelectionModel`1.Avalonia.Controls.Selection.ISelectionModel.set_SelectedItem(Object value)
|
||||
at Avalonia.Controls.Primitives.SelectingItemsControl.set_SelectedItem(Object value)
|
||||
at AstroFrame.Desktop.MainWindow.CaptureSelection(Boolean rejected) in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\MainWindow.cs:line 123
|
||||
at AstroFrame.Desktop.App.<>c__DisplayClass1_0.<<OnFrameworkInitializationCompleted>b__0>d.MoveNext() in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\Program.cs:line 35
|
||||
35
docs/diagnostics/initial-reject.png.error.txt
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
System.InvalidOperationException: The Control already has a parent.
|
||||
at Avalonia.StyledElement.Avalonia.Controls.ISetLogicalParent.SetParent(ILogical parent)
|
||||
at Avalonia.Controls.Decorator.ChildChanged(AvaloniaPropertyChangedEventArgs e)
|
||||
at Avalonia.Controls.Decorator.<>c.<.cctor>b__2_0(Decorator x, AvaloniaPropertyChangedEventArgs e)
|
||||
at Avalonia.AvaloniaObjectExtensions.ClassHandlerObserver`1.OnNext(AvaloniaPropertyChangedEventArgs value)
|
||||
at Avalonia.Reactive.LightweightObservableBase`1.PublishNext(T value)
|
||||
at Avalonia.Reactive.LightweightSubject`1.OnNext(T value)
|
||||
at Avalonia.AvaloniaProperty`1.NotifyChanged(AvaloniaPropertyChangedEventArgs`1 e)
|
||||
at Avalonia.AvaloniaObject.RaisePropertyChanged[T](AvaloniaProperty`1 property, Optional`1 oldValue, BindingValue`1 newValue, BindingPriority priority, Boolean isEffectiveValue)
|
||||
at Avalonia.PropertyStore.EffectiveValue`1.NotifyValueChanged(ValueStore owner, StyledProperty`1 property, T oldValue)
|
||||
at Avalonia.PropertyStore.EffectiveValue`1.SetAndRaiseCore(ValueStore owner, StyledProperty`1 property, T value, BindingPriority priority, Boolean isOverriddenCurrentValue, Boolean isCoercedDefaultValue)
|
||||
at Avalonia.PropertyStore.EffectiveValue`1.SetLocalValueAndRaise(ValueStore owner, StyledProperty`1 property, T value)
|
||||
at Avalonia.PropertyStore.ValueStore.SetLocalValue[T](StyledProperty`1 property, T value)
|
||||
at Avalonia.PropertyStore.ValueStore.SetValue[T](StyledProperty`1 property, T value, BindingPriority priority)
|
||||
at Avalonia.AvaloniaObject.SetValue[T](StyledProperty`1 property, T value, BindingPriority priority)
|
||||
at Avalonia.Controls.Decorator.set_Child(Control value)
|
||||
at AstroFrame.Desktop.MainWindow.Panel(Control child) in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\MainWindow.cs:line 76
|
||||
at AstroFrame.Desktop.MainWindow.Select(Frame f) in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\MainWindow.cs:line 129
|
||||
at AstroFrame.Desktop.MainWindow.RefreshFrames(Frame prefer) in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\MainWindow.cs:line 116
|
||||
at AstroFrame.Desktop.MainWindow.<.ctor>b__41_1(Object _, SelectionChangedEventArgs _) in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\MainWindow.cs:line 47
|
||||
at Avalonia.Interactivity.Interactive.<AddHandler>g__InvokeAdapter|8_0[TEventArgs](Delegate baseHandler, Object sender, RoutedEventArgs args)
|
||||
at Avalonia.Interactivity.Interactive.<>c__8`1.<AddHandler>b__8_1(Delegate baseHandler, Object sender, RoutedEventArgs args)
|
||||
at Avalonia.Interactivity.EventRoute.RaiseEventImpl(RoutedEventArgs e)
|
||||
at Avalonia.Interactivity.EventRoute.RaiseEvent(Interactive source, RoutedEventArgs e)
|
||||
at Avalonia.Interactivity.Interactive.RaiseEvent(RoutedEventArgs e)
|
||||
at Avalonia.Controls.Primitives.SelectingItemsControl.OnSelectionModelSelectionChanged(Object sender, SelectionModelSelectionChangedEventArgs e)
|
||||
at Avalonia.Controls.Selection.SelectionModel`1.CommitOperation(Operation operation, Boolean raisePropertyChanged)
|
||||
at Avalonia.Controls.Selection.SelectionModel`1.EndBatchUpdate()
|
||||
at Avalonia.Controls.Selection.SelectionModel`1.BatchUpdateOperation.Dispose()
|
||||
at Avalonia.Controls.Selection.SelectionModel`1.set_SelectedIndex(Int32 value)
|
||||
at Avalonia.Controls.Selection.SelectionModel`1.set_SelectedItem(T value)
|
||||
at Avalonia.Controls.Selection.SelectionModel`1.Avalonia.Controls.Selection.ISelectionModel.set_SelectedItem(Object value)
|
||||
at Avalonia.Controls.Primitives.SelectingItemsControl.set_SelectedItem(Object value)
|
||||
at AstroFrame.Desktop.MainWindow.CaptureSelection(Boolean rejected) in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\MainWindow.cs:line 123
|
||||
at AstroFrame.Desktop.App.<>c__DisplayClass1_0.<<OnFrameworkInitializationCompleted>b__0>d.MoveNext() in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\Program.cs:line 35
|
||||
35
docs/diagnostics/initial-small.png.error.txt
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
System.InvalidOperationException: The Control already has a parent.
|
||||
at Avalonia.StyledElement.Avalonia.Controls.ISetLogicalParent.SetParent(ILogical parent)
|
||||
at Avalonia.Controls.Decorator.ChildChanged(AvaloniaPropertyChangedEventArgs e)
|
||||
at Avalonia.Controls.Decorator.<>c.<.cctor>b__2_0(Decorator x, AvaloniaPropertyChangedEventArgs e)
|
||||
at Avalonia.AvaloniaObjectExtensions.ClassHandlerObserver`1.OnNext(AvaloniaPropertyChangedEventArgs value)
|
||||
at Avalonia.Reactive.LightweightObservableBase`1.PublishNext(T value)
|
||||
at Avalonia.Reactive.LightweightSubject`1.OnNext(T value)
|
||||
at Avalonia.AvaloniaProperty`1.NotifyChanged(AvaloniaPropertyChangedEventArgs`1 e)
|
||||
at Avalonia.AvaloniaObject.RaisePropertyChanged[T](AvaloniaProperty`1 property, Optional`1 oldValue, BindingValue`1 newValue, BindingPriority priority, Boolean isEffectiveValue)
|
||||
at Avalonia.PropertyStore.EffectiveValue`1.NotifyValueChanged(ValueStore owner, StyledProperty`1 property, T oldValue)
|
||||
at Avalonia.PropertyStore.EffectiveValue`1.SetAndRaiseCore(ValueStore owner, StyledProperty`1 property, T value, BindingPriority priority, Boolean isOverriddenCurrentValue, Boolean isCoercedDefaultValue)
|
||||
at Avalonia.PropertyStore.EffectiveValue`1.SetLocalValueAndRaise(ValueStore owner, StyledProperty`1 property, T value)
|
||||
at Avalonia.PropertyStore.ValueStore.SetLocalValue[T](StyledProperty`1 property, T value)
|
||||
at Avalonia.PropertyStore.ValueStore.SetValue[T](StyledProperty`1 property, T value, BindingPriority priority)
|
||||
at Avalonia.AvaloniaObject.SetValue[T](StyledProperty`1 property, T value, BindingPriority priority)
|
||||
at Avalonia.Controls.Decorator.set_Child(Control value)
|
||||
at AstroFrame.Desktop.MainWindow.Panel(Control child) in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\MainWindow.cs:line 76
|
||||
at AstroFrame.Desktop.MainWindow.Select(Frame f) in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\MainWindow.cs:line 129
|
||||
at AstroFrame.Desktop.MainWindow.RefreshFrames(Frame prefer) in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\MainWindow.cs:line 116
|
||||
at AstroFrame.Desktop.MainWindow.<.ctor>b__41_1(Object _, SelectionChangedEventArgs _) in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\MainWindow.cs:line 47
|
||||
at Avalonia.Interactivity.Interactive.<AddHandler>g__InvokeAdapter|8_0[TEventArgs](Delegate baseHandler, Object sender, RoutedEventArgs args)
|
||||
at Avalonia.Interactivity.Interactive.<>c__8`1.<AddHandler>b__8_1(Delegate baseHandler, Object sender, RoutedEventArgs args)
|
||||
at Avalonia.Interactivity.EventRoute.RaiseEventImpl(RoutedEventArgs e)
|
||||
at Avalonia.Interactivity.EventRoute.RaiseEvent(Interactive source, RoutedEventArgs e)
|
||||
at Avalonia.Interactivity.Interactive.RaiseEvent(RoutedEventArgs e)
|
||||
at Avalonia.Controls.Primitives.SelectingItemsControl.OnSelectionModelSelectionChanged(Object sender, SelectionModelSelectionChangedEventArgs e)
|
||||
at Avalonia.Controls.Selection.SelectionModel`1.CommitOperation(Operation operation, Boolean raisePropertyChanged)
|
||||
at Avalonia.Controls.Selection.SelectionModel`1.EndBatchUpdate()
|
||||
at Avalonia.Controls.Selection.SelectionModel`1.BatchUpdateOperation.Dispose()
|
||||
at Avalonia.Controls.Selection.SelectionModel`1.set_SelectedIndex(Int32 value)
|
||||
at Avalonia.Controls.Selection.SelectionModel`1.set_SelectedItem(T value)
|
||||
at Avalonia.Controls.Selection.SelectionModel`1.Avalonia.Controls.Selection.ISelectionModel.set_SelectedItem(Object value)
|
||||
at Avalonia.Controls.Primitives.SelectingItemsControl.set_SelectedItem(Object value)
|
||||
at AstroFrame.Desktop.MainWindow.CaptureSelection(Boolean rejected) in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\MainWindow.cs:line 123
|
||||
at AstroFrame.Desktop.App.<>c__DisplayClass1_0.<<OnFrameworkInitializationCompleted>b__0>d.MoveNext() in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\Program.cs:line 35
|
||||
54
docs/diagnostics/initial-smoke-checks.txt.error.txt
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
System.NullReferenceException: Object reference not set to an instance of an object.
|
||||
at AstroFrame.Desktop.MainWindow.FrameRow(Frame f) in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\MainWindow.cs:line 89
|
||||
at AstroFrame.Desktop.MainWindow.<>c.<.ctor>b__43_2(Frame f, INameScope _) in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\MainWindow.cs:line 58
|
||||
at Avalonia.Controls.Templates.FuncDataTemplate`1.<>c__DisplayClass4_0`1.<CastBuild>b__0(Object o, INameScope s)
|
||||
at Avalonia.Controls.Templates.FuncTemplate`2.BuildWithNameScope(TParam param)
|
||||
at Avalonia.Controls.Templates.FuncTemplate`2.Build(TParam param)
|
||||
at Avalonia.Controls.Templates.FuncDataTemplate.Build(Object data, Control existing)
|
||||
at Avalonia.Controls.Presenters.ContentPresenter.CreateChild(Object content, Control oldChild, IDataTemplate template)
|
||||
at Avalonia.Controls.Presenters.ContentPresenter.UpdateChild(Object content)
|
||||
at Avalonia.Controls.Presenters.ContentPresenter.ContentChanged(AvaloniaPropertyChangedEventArgs e)
|
||||
at Avalonia.Controls.Presenters.ContentPresenter.OnPropertyChanged(AvaloniaPropertyChangedEventArgs change)
|
||||
at Avalonia.AvaloniaObject.OnPropertyChangedCore(AvaloniaPropertyChangedEventArgs change)
|
||||
at Avalonia.Animation.Animatable.OnPropertyChangedCore(AvaloniaPropertyChangedEventArgs change)
|
||||
at Avalonia.AvaloniaObject.RaisePropertyChanged[T](AvaloniaProperty`1 property, Optional`1 oldValue, BindingValue`1 newValue, BindingPriority priority, Boolean isEffectiveValue)
|
||||
at Avalonia.PropertyStore.EffectiveValue`1.NotifyValueChanged(ValueStore owner, StyledProperty`1 property, T oldValue)
|
||||
at Avalonia.PropertyStore.EffectiveValue`1.SetAndRaiseCore(ValueStore owner, StyledProperty`1 property, T value, BindingPriority priority, Boolean isOverriddenCurrentValue, Boolean isCoercedDefaultValue)
|
||||
at Avalonia.PropertyStore.EffectiveValue`1.SetAndRaise(ValueStore owner, IValueEntry value, BindingPriority priority)
|
||||
at Avalonia.PropertyStore.ValueStore.ReevaluateEffectiveValue(AvaloniaProperty property, EffectiveValue current, IValueEntry changedValueEntry, Boolean ignoreLocalValue)
|
||||
at Avalonia.PropertyStore.ValueStore.Avalonia.Data.Core.IBindingExpressionSink.OnChanged(UntypedBindingExpressionBase instance, Boolean hasValueChanged, Boolean hasErrorChanged, Object value, BindingError error)
|
||||
at Avalonia.Data.Core.UntypedBindingExpressionBase.PublishValue(Object value, BindingError error)
|
||||
at Avalonia.Data.TemplateBinding.PublishValue()
|
||||
at Avalonia.Data.TemplateBinding.OnTemplatedParentPropertyChanged(Object sender, AvaloniaPropertyChangedEventArgs e)
|
||||
at Avalonia.AvaloniaObject.RaisePropertyChanged[T](AvaloniaProperty`1 property, Optional`1 oldValue, BindingValue`1 newValue, BindingPriority priority, Boolean isEffectiveValue)
|
||||
at Avalonia.PropertyStore.EffectiveValue`1.DisposeAndRaiseUnset(ValueStore owner, AvaloniaProperty property)
|
||||
at Avalonia.PropertyStore.ValueStore.ReevaluateEffectiveValue(AvaloniaProperty property, EffectiveValue current, IValueEntry changedValueEntry, Boolean ignoreLocalValue)
|
||||
at Avalonia.PropertyStore.ValueStore.ClearValue(AvaloniaProperty property)
|
||||
at Avalonia.AvaloniaObject.ClearValue[T](StyledProperty`1 property)
|
||||
at Avalonia.Controls.ItemsControl.ClearContainerForItemOverride(Control container)
|
||||
at Avalonia.Controls.Primitives.SelectingItemsControl.ClearContainerForItemOverride(Control element)
|
||||
at Avalonia.Controls.ItemsControl.ClearItemContainer(Control container)
|
||||
at Avalonia.Controls.Generators.ItemContainerGenerator.ClearItemContainer(Control container)
|
||||
at Avalonia.Controls.VirtualizingStackPanel.RecycleElementOnItemRemoved(Control element)
|
||||
at Avalonia.Controls.Utils.RealizedStackElements.ItemsRemoved(Int32 index, Int32 count, Action`3 updateElementIndex, Action`1 recycleElement)
|
||||
at Avalonia.Controls.VirtualizingStackPanel.OnItemsChanged(IReadOnlyList`1 items, NotifyCollectionChangedEventArgs e)
|
||||
at Avalonia.Controls.VirtualizingPanel.OnItemsControlItemsChanged(Object sender, NotifyCollectionChangedEventArgs e)
|
||||
at Avalonia.Controls.ItemsSourceView.RaiseCollectionChanged(NotifyCollectionChangedEventArgs e)
|
||||
at Avalonia.Controls.ItemCollection.SetSource(IEnumerable source)
|
||||
at Avalonia.Controls.ItemCollection.SetItemsSource(IEnumerable value)
|
||||
at Avalonia.Controls.ItemsControl.OnPropertyChanged(AvaloniaPropertyChangedEventArgs change)
|
||||
at Avalonia.Controls.Primitives.SelectingItemsControl.OnPropertyChanged(AvaloniaPropertyChangedEventArgs change)
|
||||
at Avalonia.AvaloniaObject.OnPropertyChangedCore(AvaloniaPropertyChangedEventArgs change)
|
||||
at Avalonia.Animation.Animatable.OnPropertyChangedCore(AvaloniaPropertyChangedEventArgs change)
|
||||
at Avalonia.AvaloniaObject.RaisePropertyChanged[T](AvaloniaProperty`1 property, Optional`1 oldValue, BindingValue`1 newValue, BindingPriority priority, Boolean isEffectiveValue)
|
||||
at Avalonia.PropertyStore.EffectiveValue`1.NotifyValueChanged(ValueStore owner, StyledProperty`1 property, T oldValue)
|
||||
at Avalonia.PropertyStore.EffectiveValue`1.SetAndRaiseCore(ValueStore owner, StyledProperty`1 property, T value, BindingPriority priority, Boolean isOverriddenCurrentValue, Boolean isCoercedDefaultValue)
|
||||
at Avalonia.PropertyStore.EffectiveValue`1.SetLocalValueAndRaise(ValueStore owner, StyledProperty`1 property, T value)
|
||||
at Avalonia.PropertyStore.ValueStore.SetLocalValue[T](StyledProperty`1 property, T value)
|
||||
at Avalonia.PropertyStore.ValueStore.SetValue[T](StyledProperty`1 property, T value, BindingPriority priority)
|
||||
at Avalonia.AvaloniaObject.SetValue[T](StyledProperty`1 property, T value, BindingPriority priority)
|
||||
at Avalonia.Controls.ItemsControl.set_ItemsSource(IEnumerable value)
|
||||
at AstroFrame.Desktop.MainWindow.RefreshFrames(Frame prefer) in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\MainWindow.cs:line 117
|
||||
at AstroFrame.Desktop.MainWindow.Override(Nullable`1 verdict, Boolean advance) in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\MainWindow.cs:line 173
|
||||
at AstroFrame.Desktop.MainWindow.SmokeTest(String report) in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\MainWindow.cs:line 137
|
||||
at AstroFrame.Desktop.App.<>c__DisplayClass1_0.<<OnFrameworkInitializationCompleted>b__0>d.MoveNext() in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\Program.cs:line 46
|
||||
BIN
docs/diagnostics/ngc7000-after.bin
Normal file
BIN
docs/diagnostics/ngc7000-after.png
Normal file
|
After Width: | Height: | Size: 182 KiB |
BIN
docs/diagnostics/ngc7000-before.bin
Normal file
BIN
docs/diagnostics/ngc7000-before.png
Normal file
|
After Width: | Height: | Size: 217 KiB |
BIN
docs/diagnostics/ngc7000-display-probe.png
Normal file
|
After Width: | Height: | Size: 534 KiB |
BIN
docs/diagnostics/ngc7000-psf-probe.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
1
docs/diagnostics/ngc7000-v2-project.json
Normal file
14
docs/diagnostics/ngc7000-validation-results.json
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"engineChecksPassed": 39,
|
||||
"ownerCloudExamplesPassed": 5,
|
||||
"provisionalCloudSamplesPassed": 56,
|
||||
"sequentialPackagedUiCasesPassed": 4,
|
||||
"uiSmokeChecksPassed": 12,
|
||||
"ngc7000Frames": 147,
|
||||
"combinedFrames": 2067,
|
||||
"ngc7000ClassificationChanges": 0,
|
||||
"workerStarCountsIdentical": true,
|
||||
"missingNewPreviews": 0,
|
||||
"limitsVerified": true,
|
||||
"limitation": "Display and measurement regression checks; not unbiased classification accuracy or Siril stack parity. Linux package compiled but execution untested."
|
||||
}
|
||||
9
docs/diagnostics/spatial-fresh-resources.json
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"measurementPass": "fresh v2 maps, stars and forced apertures for 1920 frames; later classification policy evaluated from the same cached measurements",
|
||||
"elapsedSeconds": 436.8248448,
|
||||
"peakWorkingMiB": 589.79296875,
|
||||
"peakCommittedMiB": 559.3046875,
|
||||
"processLimitMiB": 2048,
|
||||
"managedHeapLimitMiB": 768,
|
||||
"windowsKernelLimitVerified": true
|
||||
}
|
||||
14
docs/diagnostics/spatial-validation-results.json
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"engine": "0.2.0-spatial-reference-1",
|
||||
"ownerExamples": {
|
||||
"passes": 5,
|
||||
"total": 5
|
||||
},
|
||||
"provisionalTimeSamples": {
|
||||
"passes": 56,
|
||||
"total": 56,
|
||||
"policyTunedUsingTheseSamples": true
|
||||
},
|
||||
"mechanicalAndImageChecks": 34,
|
||||
"limitation": "No independently labeled full session or controlled Siril stack comparison. Selected examples do not establish general accuracy."
|
||||
}
|
||||
1
docs/diagnostics/v1-project.json
Normal file
180
docs/diagnostics/v1-report.json
Normal file
|
|
@ -0,0 +1,180 @@
|
|||
{
|
||||
"elapsedSeconds": 165.11815,
|
||||
"peakWorkingMB": 457.49609375,
|
||||
"peakCommittedMB": 428.1953125,
|
||||
"processLimitMB": 2048,
|
||||
"heapLimitMB": 768,
|
||||
"windowsLimitEnforced": true,
|
||||
"engine": "0.1.0-experimental-4",
|
||||
"validation": "Unlabeled exploratory results; no evidence of stack parity",
|
||||
"sessions": [
|
||||
{
|
||||
"session": "IC 1805 \u00B7 2026-08-26 08:00 \u00B7 1 \u00B7 LP",
|
||||
"frames": 309,
|
||||
"keep": 299,
|
||||
"review": 9,
|
||||
"reject": 1,
|
||||
"totalMinutes": 154.5,
|
||||
"keepMinutes": 149.5,
|
||||
"stars": [
|
||||
713.4,
|
||||
842,
|
||||
924
|
||||
],
|
||||
"fwhm": [
|
||||
3.7016547332657703,
|
||||
3.8817492412476904,
|
||||
4.101185547734479
|
||||
],
|
||||
"flux": [
|
||||
0.9390225130493245,
|
||||
1,
|
||||
1.019057938509606
|
||||
],
|
||||
"matching": [
|
||||
0.929449850886831,
|
||||
0.9674502712477396,
|
||||
0.9819753600374673
|
||||
],
|
||||
"causes": {
|
||||
"Consistent with nearby exposures": 299,
|
||||
"Quality deviation needs review": 9,
|
||||
"Possible cloud / transparency loss": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"session": "M 33 \u00B7 2026-10-02 03:34 \u00B7 1 \u00B7 IRCUT",
|
||||
"frames": 254,
|
||||
"keep": 240,
|
||||
"review": 14,
|
||||
"reject": 0,
|
||||
"totalMinutes": 127,
|
||||
"keepMinutes": 120,
|
||||
"stars": [
|
||||
1102.3,
|
||||
1296.5,
|
||||
1385.35
|
||||
],
|
||||
"fwhm": [
|
||||
3.2475945470493968,
|
||||
3.4621459544485007,
|
||||
3.8522175317447016
|
||||
],
|
||||
"flux": [
|
||||
0.9126397921091285,
|
||||
1,
|
||||
1.0435316600089453
|
||||
],
|
||||
"matching": [
|
||||
0.9909140195504779,
|
||||
0.9962894248608535,
|
||||
0.9988351254480287
|
||||
],
|
||||
"causes": {
|
||||
"Consistent with nearby exposures": 240,
|
||||
"Quality deviation needs review": 14
|
||||
}
|
||||
},
|
||||
{
|
||||
"session": "NGC 1432 \u00B7 2026-09-20 06:50 \u00B7 1 \u00B7 IRCUT",
|
||||
"frames": 490,
|
||||
"keep": 391,
|
||||
"review": 95,
|
||||
"reject": 4,
|
||||
"totalMinutes": 245,
|
||||
"keepMinutes": 195.5,
|
||||
"stars": [
|
||||
1400.8,
|
||||
1758,
|
||||
2625.9999999999973
|
||||
],
|
||||
"fwhm": [
|
||||
3.306736145624173,
|
||||
3.402824384992561,
|
||||
3.7733233670907906
|
||||
],
|
||||
"flux": [
|
||||
0.6466034220160503,
|
||||
0.9995457110739384,
|
||||
1.0406770581546665
|
||||
],
|
||||
"matching": [
|
||||
0.9418406072106262,
|
||||
0.9981981981981982,
|
||||
1
|
||||
],
|
||||
"causes": {
|
||||
"Quality deviation needs review": 94,
|
||||
"Consistent with nearby exposures": 391,
|
||||
"Uncertain star matching / measurements": 1,
|
||||
"Possible cloud / transparency loss": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"session": "NGC 1432 \u00B7 2026-10-02 06:00 \u00B7 2 \u00B7 IRCUT",
|
||||
"frames": 563,
|
||||
"keep": 534,
|
||||
"review": 29,
|
||||
"reject": 0,
|
||||
"totalMinutes": 281.5,
|
||||
"keepMinutes": 267,
|
||||
"stars": [
|
||||
1289.1,
|
||||
1550,
|
||||
1696
|
||||
],
|
||||
"fwhm": [
|
||||
3.545001949518656,
|
||||
3.796412287226701,
|
||||
4.150905436125702
|
||||
],
|
||||
"flux": [
|
||||
0.9125062939945143,
|
||||
1,
|
||||
1.0240010570683782
|
||||
],
|
||||
"matching": [
|
||||
0.9374933412252145,
|
||||
0.9946808510638298,
|
||||
0.9982078853046595
|
||||
],
|
||||
"causes": {
|
||||
"Consistent with nearby exposures": 534,
|
||||
"Quality deviation needs review": 29
|
||||
}
|
||||
},
|
||||
{
|
||||
"session": "NGC 281 \u00B7 2026-09-26 08:00 \u00B7 1 \u00B7 LP",
|
||||
"frames": 304,
|
||||
"keep": 285,
|
||||
"review": 19,
|
||||
"reject": 0,
|
||||
"totalMinutes": 152,
|
||||
"keepMinutes": 142.5,
|
||||
"stars": [
|
||||
1619,
|
||||
1742,
|
||||
1814.6999999999998
|
||||
],
|
||||
"fwhm": [
|
||||
3.083001647601608,
|
||||
3.376176348990676,
|
||||
3.6662160658793
|
||||
],
|
||||
"flux": [
|
||||
0.9333414427943276,
|
||||
1,
|
||||
1.0302573161415467
|
||||
],
|
||||
"matching": [
|
||||
0.9745060440470277,
|
||||
0.9925650300750062,
|
||||
0.9982009527513125
|
||||
],
|
||||
"causes": {
|
||||
"Consistent with nearby exposures": 285,
|
||||
"Quality deviation needs review": 19
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
1
docs/diagnostics/workers-1.json
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"workers":1,"count":48,"elapsedSeconds":9.0370284,"peakWorkingMiB":159.5390625,"peakPrivateMiB":134.66796875,"logicalProcessors":16,"starCounts":[1229,1182,1318,1237,1265,1223,1196,1207,1185,1128,1141,1149,1163,1160,1130,1106,1136,1140,1147,1169,1152,1102,1108,1113,1166,1122,1100,1047,1165,1149,1191,1179,1218,1190,1151,1208,1150,1176,1176,1221,1182,1146,1195,1184,1206,1255,1181,1197]}
|
||||
1
docs/diagnostics/workers-2.json
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"workers":2,"count":48,"elapsedSeconds":4.9943036,"peakWorkingMiB":248.625,"peakPrivateMiB":224.1015625,"logicalProcessors":16,"starCounts":[1229,1182,1318,1237,1265,1223,1196,1207,1185,1128,1141,1149,1163,1160,1130,1106,1136,1140,1147,1169,1152,1102,1108,1113,1166,1122,1100,1047,1165,1149,1191,1179,1218,1190,1151,1208,1150,1176,1176,1221,1182,1146,1195,1184,1206,1255,1181,1197]}
|
||||
1
docs/diagnostics/workers-4.json
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"workers":4,"count":48,"elapsedSeconds":2.938685,"peakWorkingMiB":249.98046875,"peakPrivateMiB":225.74609375,"logicalProcessors":16,"starCounts":[1229,1182,1318,1237,1265,1223,1196,1207,1185,1128,1141,1149,1163,1160,1130,1106,1136,1140,1147,1169,1152,1102,1108,1113,1166,1122,1100,1047,1165,1149,1191,1179,1218,1190,1151,1208,1150,1176,1176,1221,1182,1146,1195,1184,1206,1255,1181,1197]}
|
||||
48
docs/label-coverage.json
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{
|
||||
"total": 1920,
|
||||
"labeled": 0,
|
||||
"unlabeled": 1920,
|
||||
"falseRejectFrames": 0,
|
||||
"falseRejectSeconds": 0,
|
||||
"falseKeepFrames": 0,
|
||||
"humanAmbiguous": 0,
|
||||
"confusion": {},
|
||||
"sessions": [
|
||||
{
|
||||
"session": "IC 1805 \u00B7 2026-08-26 08:00 \u00B7 1 \u00B7 LP",
|
||||
"total": 309,
|
||||
"labeled": 0,
|
||||
"falseRejectSeconds": 0,
|
||||
"falseKeepFrames": 0
|
||||
},
|
||||
{
|
||||
"session": "M 33 \u00B7 2026-10-02 03:34 \u00B7 1 \u00B7 IRCUT",
|
||||
"total": 254,
|
||||
"labeled": 0,
|
||||
"falseRejectSeconds": 0,
|
||||
"falseKeepFrames": 0
|
||||
},
|
||||
{
|
||||
"session": "NGC 1432 \u00B7 2026-09-20 06:50 \u00B7 1 \u00B7 IRCUT",
|
||||
"total": 490,
|
||||
"labeled": 0,
|
||||
"falseRejectSeconds": 0,
|
||||
"falseKeepFrames": 0
|
||||
},
|
||||
{
|
||||
"session": "NGC 1432 \u00B7 2026-10-02 06:00 \u00B7 2 \u00B7 IRCUT",
|
||||
"total": 563,
|
||||
"labeled": 0,
|
||||
"falseRejectSeconds": 0,
|
||||
"falseKeepFrames": 0
|
||||
},
|
||||
{
|
||||
"session": "NGC 281 \u00B7 2026-09-26 08:00 \u00B7 1 \u00B7 LP",
|
||||
"total": 304,
|
||||
"labeled": 0,
|
||||
"falseRejectSeconds": 0,
|
||||
"falseKeepFrames": 0
|
||||
}
|
||||
],
|
||||
"limitation": "Only explicitly overridden frames are labels. Unlabeled frames are not assumed correct; selected review samples are not an unbiased accuracy estimate."
|
||||
}
|
||||
45
docs/ngc7000-findings.md
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
# NGC 7000 preview, morphology and performance findings
|
||||
|
||||
The supplied sample contains 147 Seestar S30 Pro lights: 2160×3840 GRBG Bayer, BITPIX 16 with BZERO 32768, 30 seconds, gain 200 and LP filter. FITS UTC timestamps span 2026-08-17 04:33–05:58. File names use the local previous date. Originals were read without modification.
|
||||
|
||||
## Why the previews failed
|
||||
|
||||
The original renderer selected one superpixel out of each 3×3 region when reducing the image, then used a bright asinh stretch based on the unreduced image's percentiles. This discarded spatial information and displayed noise prominently. The reported KEEP exposure `20260816-213449.fit` reproduced the failure: median display brightness 0.596, median adjacent-pixel difference 0.125 of the full display range.
|
||||
|
||||
Area averaging before a noise-aware, adjustable screen transfer lowers those measurements to 0.176 and 0.051. The nebula's broad structure and stars become discernible. **Nebula view** further averages display samples, while **Frame view** retains more stellar detail. This is an inspection display, not calibration or astrophotography post-processing. It cannot create faint signal absent from an individual 30-second exposure. The combined Bayer channel was retained; the red channel alone was substantially noisier in this dataset and did not clearly improve this display experiment.
|
||||
|
||||
Linear, compressed thumbnails have their own cache version. Older projects create updated previews on demand, without recalculating quality or losing manual decisions. First-time reads and display preparation run off the UI thread; rapid navigation cancels obsolete loads. Slider changes reuse prepared display statistics. All display operations leave detector pixels and original FITS unchanged.
|
||||
|
||||
## Why the two examples are REVIEW
|
||||
|
||||
These were flagged for stellar morphology, not cloud/nebulosity:
|
||||
|
||||
| Local filename suffix | Automatic | Ellipticity | Nearby reference | FWHM | Reference FWHM | Relative flux |
|
||||
|---|---|---:|---:|---:|---:|---:|
|
||||
| 20260816-213449 | KEEP | 0.15 | 0.16 | 3.31 px | 3.40 px | 0.986 |
|
||||
| 20260816-222249 | REVIEW | 0.36 | 0.16 | 4.06 px | 3.42 px | 1.010 |
|
||||
| 20260816-224840 | REVIEW | 0.37 | 0.16 | 4.13 px | 3.40 px | 1.008 |
|
||||
|
||||
Both REVIEW examples have zero cloud-mask coverage and normal stellar flux. Multiple bright stars in correctly aligned **original source crops** show horizontal elongation compared with rounder stars in the KEEP exposure. That supports a morphology warning, potentially tracking-related. The measured elongation is moderate rather than a catastrophic width/shape combination, so the conservative policy routes to REVIEW. A human may exclude these based on their tolerance for elongated stars. The inspection does not establish the cause with certainty or validate every emission-nebula frame.
|
||||
|
||||
The new **Inspect stars** window reads two originals and displays identical stars side by side against a nearby representative KEEP frame. It uses source Bayer-superpixel samples, enlarged without interpolation and individually normalized in brightness. Shape can be judged directly; absolute flux must be judged from the photometry. The primary flagged evidence is also visible above the main preview.
|
||||
|
||||
## Results and performance
|
||||
|
||||
The complete new NGC 7000 analysis produces **141 KEEP, 6 REVIEW, 0 REJECT**, identical to the owner's previous saved 147-frame analysis. No selection thresholds were changed for this target. The detector operates on linear source measurements; it never consumes the stretched preview. This independence does not imply all decisions are accurate; independent labels and controlled Siril stacks remain necessary.
|
||||
|
||||
Sequential process benchmarks on the same 48, evenly spaced NGC 7000 originals:
|
||||
|
||||
| Measurement workers | Seconds | Peak resident memory |
|
||||
|---:|---:|---:|
|
||||
| 1 | 9.04 | 159.5 MiB |
|
||||
| 2 | 4.99 | 248.6 MiB |
|
||||
| 4 | 2.94 | 250.0 MiB |
|
||||
|
||||
The star-count arrays are identical. This is a roughly 3.1× improvement for the stellar/background stage, not a whole-project speedup guarantee. Four workers are selected on this 16-logical-processor PC; machines with fewer processors use fewer. Raising a memory cap alone does not speed CPU work. Pixels remain streamed in bounded batches instead of filling RAM with the dataset.
|
||||
|
||||
The full fresh 147-frame run, including new previews, references and forced flux, took **14.76 seconds**, peaking at **319.9 MiB resident**, **294.5 MiB committed**. Refreshing the combined 2,067-frame project reused old measurements, added NGC 7000 and generated the new display caches; it took **67.74 seconds**, peaking at **661.2 MiB resident**, **634.0 MiB committed**. That cached refresh is not comparable to the earlier fresh full run.
|
||||
|
||||
Windows verifies a **6 GiB process cap** and the runtime uses a **3 GiB managed-heap cap**. Physical headroom checks still reserve a quarter of RAM up to 8 GiB; the 90 GB page file is not counted as free RAM. Larger caps provide room for parallelism and future projects without allocating memory unnecessarily.
|
||||
|
||||
Evidence: `diagnostics/workers-*.json`, `diagnostics/ngc7000-before.png`, `diagnostics/ngc7000-after.png`, `screenshots/ngc7000-frame.png`, `screenshots/ngc7000-nebula.png`, `screenshots/ngc7000-stars.png`, and the reports under `projects/NGC 7000` and `projects/Sample Survey`. The 39 engine checks include display/source independence, noise suppression, retained conspicuous stars, linear cache round-trip and source-fingerprint invalidation. Sequential UI checks exercise cancellation, rapid navigation and display controls.
|
||||
BIN
docs/screenshots/all-flux-small.png
Normal file
|
After Width: | Height: | Size: 281 KiB |
BIN
docs/screenshots/all-flux.png
Normal file
|
After Width: | Height: | Size: 438 KiB |
BIN
docs/screenshots/dpi120.png
Normal file
|
After Width: | Height: | Size: 373 KiB |
BIN
docs/screenshots/dpi144.png
Normal file
|
After Width: | Height: | Size: 490 KiB |
BIN
docs/screenshots/frontend-ngc7000.png
Normal file
|
After Width: | Height: | Size: 410 KiB |
BIN
docs/screenshots/graphite-atlas.png
Normal file
|
After Width: | Height: | Size: 438 KiB |
BIN
docs/screenshots/nebula.png
Normal file
|
After Width: | Height: | Size: 352 KiB |
BIN
docs/screenshots/ngc7000-frame.png
Normal file
|
After Width: | Height: | Size: 267 KiB |
BIN
docs/screenshots/ngc7000-nebula.png
Normal file
|
After Width: | Height: | Size: 254 KiB |
BIN
docs/screenshots/ngc7000-stars.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
docs/screenshots/overview.png
Normal file
|
After Width: | Height: | Size: 357 KiB |
BIN
docs/screenshots/pleiades.png
Normal file
|
After Width: | Height: | Size: 402 KiB |
BIN
docs/screenshots/reject.png
Normal file
|
After Width: | Height: | Size: 610 KiB |
BIN
docs/screenshots/rejection-contact-sheet.png
Normal file
|
After Width: | Height: | Size: 494 KiB |
65
docs/screenshots/resource-checks.json
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
[
|
||||
{
|
||||
"case": "pleiades",
|
||||
"peakWorkingMB": 179.4,
|
||||
"peakPrivateMB": 116.8,
|
||||
"exitCode": 0,
|
||||
"seconds": 1.83
|
||||
},
|
||||
{
|
||||
"case": "small",
|
||||
"peakWorkingMB": 171.0,
|
||||
"peakPrivateMB": 108.8,
|
||||
"exitCode": 0,
|
||||
"seconds": 1.75
|
||||
},
|
||||
{
|
||||
"case": "reject",
|
||||
"peakWorkingMB": 189.1,
|
||||
"peakPrivateMB": 126.1,
|
||||
"exitCode": 0,
|
||||
"seconds": 1.81
|
||||
},
|
||||
{
|
||||
"case": "dpi120",
|
||||
"peakWorkingMB": 169.8,
|
||||
"peakPrivateMB": 107.4,
|
||||
"exitCode": 0,
|
||||
"seconds": 1.64
|
||||
},
|
||||
{
|
||||
"case": "dpi144",
|
||||
"peakWorkingMB": 170.0,
|
||||
"peakPrivateMB": 107.7,
|
||||
"exitCode": 0,
|
||||
"seconds": 1.8
|
||||
},
|
||||
{
|
||||
"case": "nebula",
|
||||
"peakWorkingMB": 178.2,
|
||||
"peakPrivateMB": 116.0,
|
||||
"exitCode": 0,
|
||||
"seconds": 1.8
|
||||
},
|
||||
{
|
||||
"case": "all-flux",
|
||||
"peakWorkingMB": 168.2,
|
||||
"peakPrivateMB": 106.1,
|
||||
"exitCode": 0,
|
||||
"seconds": 1.56
|
||||
},
|
||||
{
|
||||
"case": "all-flux-small",
|
||||
"peakWorkingMB": 160.4,
|
||||
"peakPrivateMB": 98.4,
|
||||
"exitCode": 0,
|
||||
"seconds": 1.54
|
||||
},
|
||||
{
|
||||
"case": "smoke",
|
||||
"peakWorkingMB": 193.3,
|
||||
"peakPrivateMB": 128.1,
|
||||
"exitCode": 0,
|
||||
"seconds": 2.6
|
||||
}
|
||||
]
|
||||
BIN
docs/screenshots/small.png
Normal file
|
After Width: | Height: | Size: 263 KiB |
31
docs/screenshots/smoke-checks.txt
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
PASS full project exposure count fits at minimum window size
|
||||
PASS all-frame filter
|
||||
PASS switching 40 exposures retains preview parent
|
||||
PASS comparison can switch exposures repeatedly
|
||||
PASS manual override updates verdict
|
||||
PASS reject filter includes manual override
|
||||
PASS existing notes survive decisions without a note editor
|
||||
PASS reset restores automatic verdict
|
||||
PASS metric sorting
|
||||
PASS graph metric switching
|
||||
PASS latest preview loads after rapid exposure switching
|
||||
PASS nebula view and adjustable stretch render without changing classification
|
||||
PASS minimum window size
|
||||
PASS one selectable quality graph
|
||||
PASS preview grows into available window height
|
||||
PASS removed controls stay absent
|
||||
PASS decision evidence and measurements visible without expanding a panel
|
||||
PASS stretch thumb fits entirely inside slider
|
||||
PASS exposure list, preview and quality evidence follow Atlas column order
|
||||
PASS compact session selector scopes exposures
|
||||
PASS native resize, minimize and maximize styles retained
|
||||
PASS title bar is integrated into the client area
|
||||
PASS title bar provides native caption dragging and double-click
|
||||
PASS native caption hit target: PART_MinimizeButton
|
||||
PASS native caption hit target: PART_RestoreButton
|
||||
PASS native caption hit target: PART_CloseButton
|
||||
PASS native left-edge resize hit target
|
||||
PASS maximize respects the monitor working area
|
||||
PASS native minimize succeeds
|
||||
PASS native restore preserves the previous maximized state
|
||||
PASS native unmaximize succeeds
|
||||
5
docs/screenshots/smoke-checks.txt.error
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
System.Exception: native restore succeeds
|
||||
at AstroFrame.Desktop.MainWindow.<>c__DisplayClass57_0.<SmokeTest>g__Check|0(Boolean value, String text) in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\MainWindow.cs:line 159
|
||||
at AstroFrame.Desktop.NativeDesktopChecks.Verify(Window window, Action`2 check) in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\NativeDesktopChecks.cs:line 35
|
||||
at AstroFrame.Desktop.MainWindow.SmokeTest(String report) in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\MainWindow.cs:line 180
|
||||
at AstroFrame.Desktop.App.<>c__DisplayClass1_0.<<OnFrameworkInitializationCompleted>b__0>d.MoveNext() in C:\Users\Elijah\Desktop\Astronomy Lights Processor\src\AstroFrame.Desktop\Program.cs:line 50
|
||||