laddu-python 0.19.2

Amplitude analysis made short and sweet
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use laddu_core::{LadduResult, ThreadPoolManager};

pub mod callbacks;
pub mod experimental;
pub mod likelihood;
pub mod optimize;

#[cfg_attr(coverage_nightly, coverage(off))]
pub(crate) fn install_laddu_with_threads<R: Send>(
    threads: Option<usize>,
    op: impl FnOnce() -> LadduResult<R> + Send,
) -> LadduResult<R> {
    ThreadPoolManager::shared().install(threads, op)?
}