Skip to content

normalisation of cf.histogram #794

Closed

Description

@JonathanGregory

It would be convenient if cf.histogram had options to normalise the result by (a) dividing by the total of counts, giving probability in each bin, or (b) also dividing by the width of each bin, giving the probability density function. Please excuse me if I have overlooked an existing method for this.

Activity

  1. davidhassell commented on Jul 12, 2024

    @davidhassell
    Collaborator

    Dear Jonathan,

    As we discussed offline, this is good idea, and is easy to implement. I shall add create a PR shortly.

  2. JonathanGregory commented on Jul 12, 2024

    @JonathanGregory
    CollaboratorAuthor

    Thank you!

  3. added this to the NEXT VERSION milestone on Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions