Interpolates contaminant time series from bio_obj$contaminant_data
to daily values aligned with target_days. Returns NULL when
no contaminant data is present.
Expected structure of bio_obj$contaminant_data:
Integer 1, 2 or 3 (bioaccumulation model)
Initial predator concentration (ug/g)
data.frame Day + one column per prey (ug/g)
data.frame Day + one per prey — used by CONTEQ 1
data.frame Day + one per prey — used by CONTEQ 2, 3
Scalars required by CONTEQ 3
process_contaminant_data(bio_obj, target_days, prey_names)Named list with processed contaminant parameters, or NULL
Bioenergetic object
Target simulation days
Character vector of prey names