Skip to content

Unable to process sub-1 floating points in mProjectCube for Apple silicon? #80

@yuguangchen1

Description

@yuguangchen1

Hi!

I found that the MontagePy version of the mProjectCube() function is unable to correctly process floating points with absolute values < 1. It appears that the floating points are loaded as integers before being processed. Hence, the sub-1 values are all converted to 0, and the final data cube becomes blank.

Not sure if this is only related to the Apple silicon. I am running on the following environment:
Chip: M1 Pro
Python 3.12.7
MontagePy-2.2.0-cp312-cp312-macosx_11_0_universal2.whl

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions