Skip to content

fixelconnectivity: New option -normalise#3338

Draft
Lestropie wants to merge 1 commit into
devfrom
fixelconnectivity_normalisation
Draft

fixelconnectivity: New option -normalise#3338
Lestropie wants to merge 1 commit into
devfrom
fixelconnectivity_normalisation

Conversation

@Lestropie
Copy link
Copy Markdown
Member

Closes #3337.

Plz test @ppruc.

Outstanding tasks hence listed as draft PR:

  • Before committing to public code would want to check that a user providing such a matrix to eg. fixelfilter or fixelcfestats would result in either identical results or obviously erroneous results, not something that is subtlely wrong.

  • Describe consequences of presence or absence of normalisation in command documentation.

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

Comment thread cpp/core/fixel/matrix.h
void set_count_path(std::string_view path);
void set_extent_path(std::string_view path);
void save(std::string_view path) const;
void save(std::string_view path, const bool normalise) const;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: parameter 'normalise' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls]

Suggested change
void save(std::string_view path, const bool normalise) const;
void save(std::string_view path, bool normalise) const;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant