Something went wrong. Try again.
Unofficial implementation of analysis for activPAL™ data
Something went wrong. Try again.
1234567891011121314151617181920212223242526// Copyright (C) 2026 Jannik Schürg <jannik.schuerg@posteo.de>//// SPDX-License-Identifier: Apache-2.0// SPDX-License-Identifier: MIT
/// A sample number or count in the domain of the raw data.////// For analysis the raw samples are resampled leading/// to a different number of samples represented by [NumSamples].////// [NumSamples]: crate::NumSamples#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]pub struct NumRawSamples(pub(crate) u32);
impl From<u32> for NumRawSamples { fn from(value: u32) -> Self { Self(value) }}
impl From<NumRawSamples> for u32 { fn from(value: NumRawSamples) -> Self { value.0 }}