PlateStar.MatchedCatalogStar (read-only, PlateStar)
The matching catalog PlateStar for the star. Valid only for Plate.ImageStars and Plate.MatchedStars collections, and after Plate.Solve has been called.
PlateStar.MatchedCatalogStar
The property syntax has these parts:
Part | Description |
---|---|
Value (PlateStar) | The matching catalog PlateStar for the star. Valid only for Plate.ImageStars and Plate.MatchedStars collections, and after Plate.Solve has been called. |
Here is a sample JScript script that dumps the catalog identifications of the matched stars.
var p = new ActiveXObject("Pinpoint.Plate");
p.AttachFITS("D:\\Images\\28-May\\559 Nanon-1.fts");
p.ArcsecPerPixelHoriz = -2.5;
p.ArcsecPerPixelVert = -2.5;
p.Catalog = 3;
p.CatalogPath = "N:";
p.Solve();
WScript.Echo("Solved.");
var col = p.ImageStars; // Could use MatchedStars
var stars = new Enumerator(col);
var star;
for (; !stars.atEnd(); stars.moveNext())
{
star = stars.item();
if(star.Matched) { // Not needed if MatchedStars collection
WScript.Echo(star.MatchedCatalogStar.Identification);
}
}