Elektrine lite

← Feed

@steko@scholar.social

Post #2934463

2026-03-12 07:54 UTC

@joeroe@archaeo.social its telling that you had to write it yourself (I can't remember if it's needed for other packages you've written like stratigraph) and there's nothing else doing this thing. Do you know how it's treated in rcarbon? I have this idea that radiocarbon and dendrochronology libraries should have a common set of calendars, like the era package for R.

Replies (1)

  • @joeroe@archaeo.social 2026-03-12 08:07

    @steko@scholar.social Indeed! rcarbon and other radiocarbon packages use plain vectors to represent ages, which to be fair works fine in a weakly typed language like R. I wrote era because I wanted a more formal representation for c14 (https://c14.joeroe.io), which is to my knowledge the only package using it. Subsequently @nfrerebeau@archaeo.social developed aion (https://packages.tesselle.org/aion/) which uses a similar approach but using days as the unit of measurement instead of years. This is used in his tesselle package suite.

    Open ##2934464