Skip to content

Releases: asiffer/libspot

v3.0.0

30 Apr 10:59
b1efbfd

Choose a tag to compare

Malloc-free

The brand new v3 version removes the allocator API.
If you use the typescript or python versions, you have nothing to do!

Before

With thr allocator API, the user passed malloc and free functions so that libspot allocates the buffer to store tail data based on max_excess.

set_allocators(malloc, free); 

struct Spot spot;

int status = spot_init(
        &spot,  // pointer to the allocated structure
        1e-4,   // q: anomaly probability
        0,      // low: observe upper tail
        1,      // discard_anomalies: flag anomalies
        0.998,  // level: tail quantile (the 0.2% higher values shapes the tail)
        200     // max_excess: number of data to keep to summarize the tail
    );

After

Henceforth, the user directly provides the buffer.

struct Spot spot;

double buffer[200]; // <-- allocate tail buffer on your own

int status = spot_init(
        &spot,  
        1e-4,   
        0,      
        1,      
        0.998,  
        buffer, // buffer: backing array to store the excesses (now provided by the user)
        200     
    );

Important

The max_excess parameter is the size of the buffer.

v2.0b6

17 Oct 19:08
90b42ce

Choose a tag to compare

What's Changed

Full Changelog: v2.0b5...v2.0b6

v2.0b5

15 Sep 08:50
f16cba7

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0b0-266...v2.0b5

v2.0b0

14 Feb 21:25
277a7c6

Choose a tag to compare

Merge pull request #12 from asiffer/asiffer-new-version-patch-1

Fix path in release.yaml

v2.0b0-264

14 Feb 21:11
caef78d

Choose a tag to compare

v2.0b0-264 Pre-release
Pre-release
Merge pull request #11 from asiffer/new-version

New version (2.0b)

v1.3.1

09 Jun 13:49
babb6a4

Choose a tag to compare

Merge pull request #8 from asiffer/7-loop-over-candidates-in-gpdfit

Loop over candidates in gpdfit

Version 1.3.0-168

09 Jun 12:01
9516de7

Choose a tag to compare

Version 1.3.0-168 Pre-release
Pre-release
Merge pull request #6 from asiffer/4-add-version-in-library-interface

Add version in library interface

Version 1.2.1-165

09 Jun 11:34
fe564ed

Choose a tag to compare

Version 1.2.1-165 Pre-release
Pre-release
Merge pull request #5 from milahu/patch-1

Makefile: allow custom prefix

Version 1.2.1-163

29 Mar 14:13

Choose a tag to compare

Version 1.2.1-163 Pre-release
Pre-release
v1.2.1-163

update Makefile