tdt_resolve_t_ref: Resolve the CTmax reference exposure for the TDT extractors

View source: R/utils.R

tdt_resolve_t_refR Documentation

Resolve the CTmax reference exposure for the TDT extractors

Description

t_ref is the reference exposure that CTmax is reported at. Because CTmax shifts with the reference time (by z \cdot \log_{10} of the ratio), reading a fit at a different t_ref than it was fitted with silently moves CTmax (while leaving z, which is reference-invariant, unchanged). When the caller does not supply t_ref, inherit the fit's own reference (meta$t_ref, in minutes) and announce it via a message; fall back to 60 min for raw fits that record no reference.

Usage

tdt_resolve_t_ref(t_ref, meta)

Arguments

t_ref

Caller-supplied reference exposure (minutes) or NULL.

meta

A bayes_tls workflow's meta list (uses t_ref).

Value

Numeric reference exposure in minutes.


bayesTLS documentation built on Nov. 29, 2026, 1:06 a.m.