Skip to content

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

@ns-rse

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

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