Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Richness estimation 2024 #918

Merged
merged 22 commits into from
Feb 20, 2024
Merged

Richness estimation 2024 #918

merged 22 commits into from
Feb 20, 2024

Conversation

shawnlaffan
Copy link
Owner

Updates and optimisations for the richness estimation indices,
including displaying the metadata as categories in the GUI.

And a few other minor things.

Faster::Maths allows a substantial speed-up (7-30%)
of arithmetic code, of which there is a lot in this module.

It currently segfaults in some circumstances so
lexically disable it as needed.
This has been reported to its RT queue.

Also avoid some looping and memory usage in
the ACE and ICE variance calculations.
No need to iterate over the same sets twice.
The former is now a wrapper around the latter,
the difference being which differential method
is called.
Marginally faster and uses a mite less memory.
No need to pass all the args onwards when we
only need four.
… args

No need to pass them through calc_abc first.
This is re-used many times in the calculations
This is re-used many times in the calculations
This is re-used many times in the calculations
This is re-used many times in the calculations
Add class details and default colours to the metadata.
An empty array is expected for the bounds,
rather than undef.
There is no need for the number of classes
in the sub name as they are all from the same
sets.  It is just that some sets have less
colours in total.

And add all the colorbrewer qualitative palettes
while we are here.
These are not used in these packages.
@shawnlaffan shawnlaffan merged commit da1e625 into master Feb 20, 2024
8 checks passed
@shawnlaffan shawnlaffan deleted the richness_estimation_2024 branch February 20, 2024 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant