Skip to content

Derive number of slices based on min/max height #94

Description

@ns-rse

We have the pixel to nano metre scaling for the x/y axis and the min/max height from scans.

It should therefore be feasible to work out the number of layers in the third dimension to take so that the scale is the
same as the x/y axis.

Divide the range of heights by the scaling to give the number of pixels i.e. (max(array) - min(array)) /
pixel_to_nm_scaling

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions