Another major update with various changes to the command line interface and the library:
- Added more calibration curves next to
intcal20
:shcal20
andmarine20
. Renamed theCurrycarbon.CalCurves.IntCal20
module to justCurrycarbon.CalCurves
. In the CLI,--calCurveFile
is now just--calCurve
, and it allows to either select the different packaged curves or read arbitrary .14c files. - Added a new CLI plot element to the output of individual dates.
renderCLIPlotCalCurve
plots a relevant section of the calibration curve. - Added the command line options
--noTrimCalCurve
and--noTrimOutCalPDF
to allow control over the pre- and post-calibration trimming behaviour for radiocarbon dates. - Changed the way products between calibration expressions are computed in
evalCalExpr
. Input expressions in a multiplication are now calibrated for the entire length of the calibration curve. This allows to compute proper products and not fail in case of non-overlapping output. - Changed the way calibration curves are embedded in currycarbon. This now uses the brilliant
file-embed
library. - Changed the interface of the core calibration functions.
CalibrateDatesConf
no longer includes theCalibrationMethod
, socalibrateDates
andevalNamedCalExpr
functions need it as an extra argument.calibrateDateBchron
andcalibrateDateMatrixMult
now takeCalibrateDatesConf
and not its individual elements. - Moved from Float to Double for probability densities and all functions that interact with them.
- Added a new output option
--basicFile
to the CLI to enable simple per-expression output: The minimum start and maximum end of the high probability density regions and the median age. In this contextwriteCalC14
was split intowriteCalC14HDR
andwriteCalC14CalRangeSummary
in the library. - Added little axis labels (BC/AD) to the command line plot to improve readability.
- Changed the release pipeline: Now again with a windows executable. currycarbon-macOS was replaced by currycarbon-macOS-X64 and currycarbon-macOS-ARM64.
- Switched to a new GHC version (v9.6.6) and stackage resolver version (lts-22.43).