Skip to content

Issues with resolution other than mMR #12

Description

@ashgillman

G'day Casper,

Loving this tool, thanks.

There are a few issues with using resolutions other than mMR.

The Shape class should cast its calculations to type np.int (and floor?)
Otherwise I run into type issues here: https://github.com/casperdcl/brainweb/blob/master/brainweb/utils.py#L301

Somewhat related but not really: the noise() function assumes sigma is given in voxel units - is this preferred? Potentially confusing for the user, we had to change sigma with resolution.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions