Tags give the ability to mark specific points in history as being important
-
v1.5.1
74d9befe · ·Complement the FITStable with FITStable::fromCSV to build a fits table from a CSV file. THis complement the FITStable::toCSV export tool
-
-
v1.4.1
7e6ad061 · ·Make FITScube the 0-based array layer of the WCS; fix Rebin WCS and real keyword precision Pixel convention - FITScube::WorldCoordinates* and World2Pixel* now take and return 0-based array coordinates (first pixel centre at 0.0) and convert to/from the FITS 1-based convention of wcslib internally. Previously array indices were passed to wcslib unconverted, so one-way callers were off by one pixel; round trips cancelled the error, which hid it. - FITSwcs is unchanged and stays in the FITS convention. - PixelIndex(vector<double>) returns Nelements() for coordinates below -0.5 or NaN instead of wrapping around in the size_t cast. - AddLayer writes CRPIX3 = 1 by default, so CRVAL3 is the value of the first layer under the new convention. Rebin WCS - Start from the complete WCS (FITSwcs::asFITShdu) instead of copying CRPIX/CRVAL/CDELT/PC/CD only. CTYPE was lost, so every rebinned image fell back to a linear WCS, wrong by 1/cos(dec) in right ascension. - CRPIXj -> (CRPIXj - 0.5)/b_j + 0.5; column j of PC or CD scaled by b_j. CDELT is no longer scaled as well (the scale was applied twice for PC headers). - SIP coefficients and A_DMAX/B_DMAX rescaled; warn on CPDIS/CQDIS lookup-table distortions, which are not rescaled. FITShdu - ValueForKey(key, double/float) writes the shortest text that reads back exactly (15-17 / 6-9 significant digits). std::to_string kept only 6 decimals between 1e-4 and 1e4, truncating CD, PV, CRVAL, ... values. Tests - New WorldCoordinatesConvention test pins FITScube (array) against FITSwcs (FITS) and checks the PixelIndex bound. - Test_RebinningWCS compares against the exact binned-pixel centre (4i+1.5) at 1e-9 instead of 0.1 deg. - LayerParent/LayerChild expect CRPIX3 = 1 and 1-k.
-
v1.4.0
d00e46d5 · ·Add DSL::unit helper class to handle FITS unit Correct buggs on the FITSimg and FITShdu class
-
v1.3.0
a24ee86f · ·Celestial coordinates: systems, reference frames and epochs Adds a coordinate hierarchy alongside the existing WCS wrapper, for the positions themselves rather than the pixel-to-world mapping. SuperNOVAS is vendored as a submodule and owns every constant and rotation matrix; nothing astronomical is reimplemented locally. Model ----- A position is described by three independent things, and the API keeps each one a separate operation: * System (CoordSystem) - which pole and origin the angles are measured from. EquatorialCoordinates, GalacticCoordinates and EclipticCoordinates each fix one and name the angles accordingly. * Frame (CoordFrame) - the orientation of the axes: FK4, FK5, ICRS, HIPPARCOS. Changing frame rotates the position. * Epoch - the date the position is valid at. atEpoch() transports the star along its own space motion without rotating anything. Angles are in degrees throughout, proper motions in mas/yr, parallax in mas, radial velocity in km/s, epochs are Julian dates on the TT scale. Added ----- * Parallax, radial velocity and epoch on SkyCoordinates, carried through every system and frame conversion. * CoordFrame::HIPPARCOS - ICRS axes at the J1991.25 catalogue epoch. * epochOf(CoordFrame), epochOf(std::string) and currentEpoch(), thin forwards to novas_epoch() and novas_set_current_time(); no date arithmetic or leap-second constant is duplicated here. * EquatorialCoordinates::atEpoch() taking a Julian date, an epoch string ("J2026.7"), or a frame, plus atCurrentEpoch(). Backed by transform_cat(PROPER_MOTION, ...), so parallax and radial velocity give a nearby fast mover its perspective acceleration. * A convertFrame() overload carrying the full space-motion vector. * Doxygen documentation for the whole hierarchy and a README section. * test/gTest_SkyCoo.cxx - 82 tests over 11 suites. Reference values come from IAU/Hipparcos defining constants, published epoch definitions and Astropy, never from SuperNOVAS itself, so a bug in the wrapper cannot agree with itself. Build ----- * SuperNOVAS added as a submodule; include/supernovas gitignored. * ENABLE_CPP set so libsupernovas++ is built, with CXX_STANDARD forced to 17 from the parent (the vendored target pins 11, but supernovas.h includes <optional>). DSTfits still links only supernovas::core - the C++ API has no catalog-epoch propagation and its Equatorial::to_system() carries only a direction vector, so switching would silently drop proper motion. * The WITH_DEBUG prebuilt-library fast path now also requires libsupernovas++ and exports a supernovas::cpp imported target. Known limitations ----------------- * Proper motion is not carried into or out of the galactic and ecliptic systems; the rate would need re-projecting onto different axes. Parallax, radial velocity and epoch do travel through. * FK4 is the exception to "a frame change is only a rotation": NOVAS routes those legs through CHANGE_EPOCH, which also transports the star over the 50 years to or from B1950.0, so the epoch follows the frame there. * Epoch round-trips do not close exactly for a non-zero radial velocity. transform_cat() scales the returned proper motion by the input distance while reporting the updated parallax, leaving a residual of order mu*dt*(v_r*dt/d) - about 0.4 mas for a 50 pc star at 30 km/s over 50 years. Covered as an upper bound by SkyCoo_atEpoch.radialMotionLeavesASmallRoundTripResidual, so the test still passes if upstream fixes it. * CoordSystem::UNDEFINED and CoordSystem::EQUATORIAL are both 0, so an unset system reads as equatorial. Documented, not renumbered. -
-
v1.2.0
12c0db76 · ·Include new functionalities in FITstable helpers class to ease usage in tierce application: - Get stored data type from helpers class ColumnHandle::colType return datatype of the column
-
-
v1.1.0
3849b9ae · ·Add possibility to compute statistics on FITStable column/row selection. Improve globaly the thread safety.
-
-
-
-
v0.1.2
3c3076df · ·• Remove many warning at compile time. • Better 'compatibility' between the parent (FITScube) and child (FITSimg) class
-
-
-