Release 1.1.1: corroborate cloudy frames with local stellar attenuation
All checks were successful
Release AstroFrame / packages (push) Successful in 1m8s
All checks were successful
Release AstroFrame / packages (push) Successful in 1m8s
This commit is contained in:
parent
a8e7a87b94
commit
65ded0b606
14 changed files with 731 additions and 9 deletions
|
|
@ -5,6 +5,11 @@ using System.Text;
|
|||
using System.Text.Json;
|
||||
|
||||
ResourcePolicy.InstallWindowsLimit();
|
||||
if(args.Length>0&&args[0]=="quality-regression")
|
||||
{
|
||||
int failed=0;QualityRegression.Run((ok,name)=>{Console.WriteLine($"{(ok?"PASS":"FAIL")} {name}");if(!ok)failed++;});
|
||||
if(failed>0)throw new Exception($"{failed} quality regressions failed");return;
|
||||
}
|
||||
if(args.Length>0&&args[0]=="preview")
|
||||
{
|
||||
var plane=PreviewRenderer.Reduce(Fits.Read(Path.GetFullPath(args[1])),3);var pixels=PreviewRenderer.Render(plane);using var writer=new BinaryWriter(File.Create(args[2]));writer.Write(plane.Width);writer.Write(plane.Height);writer.Write(pixels);return;
|
||||
|
|
@ -121,6 +126,7 @@ try
|
|||
}
|
||||
finally{Directory.Delete(temp,true);}
|
||||
await ImageRegression.Run(Check);
|
||||
QualityRegression.Run(Check);
|
||||
OverlayRegression.Run(Check);
|
||||
PreviewRegression.Run(Check);
|
||||
Console.WriteLine($"{passed} checks passed. Synthetic tests validate mechanics, not astrophotography stack quality.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue