Skip to content

Commit

Permalink
updated docstring too
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenThornquist committed Aug 15, 2024
1 parent 6f3f1eb commit e4abaf4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/siffreader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,15 @@ impl SiffReader{
/// Size of the FLIM arrival time histogram
/// in bins.
///
/// ## Returns
///
/// Number of actual bins (irrespective of what the bin
/// size corresponds to in real time units)
///
/// ## Errors
///
/// * `CorrosiffError::DimensionsError(DimensionsError)` - If the histogram size
/// is unknown or was unable to be parsed (or if the file is not a `.siff`)
pub fn num_flim_bins(&self) -> Result<u32, CorrosiffError> {
self.file_format.num_flim_tau_bins()
.ok_or(CorrosiffError::DimensionsError(
Expand Down

0 comments on commit e4abaf4

Please sign in to comment.