Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ tracing-subscriber = { version = "0.3.19", features = [
] }
faer = "0.23.1"
faer-ext = { version = "0.7.1", features = ["nalgebra", "ndarray"] }
pharmsol = "=0.20.0"
pharmsol = "=0.21.0"
rand = "0.9.0"
anyhow = "1.0.100"
rayon = "1.10.0"
Expand Down
12 changes: 12 additions & 0 deletions src/routines/output/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,18 @@ impl<E: Equation> NPResult<E> {
&self.theta
}

pub fn data(&self) -> &Data {
&self.data
}

pub fn cycle_log(&self) -> &CycleLog {
&self.cyclelog
}

pub fn settings(&self) -> &Settings {
&self.settings
}

/// Get the [Psi] structure
pub fn psi(&self) -> &Psi {
&self.psi
Expand Down
4 changes: 4 additions & 0 deletions src/routines/output/predictions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ impl NPPredictionRow {
pub fn post_median(&self) -> f64 {
self.post_median
}

pub fn censoring(&self) -> Censor {
self.cens
}
}

#[derive(Debug, Clone, Serialize, Deserialize)]
Expand Down