Skip to content

Create a Grid from an mrcfile object #172

Description

@orbeckst

Add capability so that Grid(grid=mrcfile.MrcFile) creates a functional Grid.

At a minimum, MrcFile and MrcInterpreter should work

See #162 and #160 for context.

Activity

  1. added theissue type on May 29, 2026
  2. aviralgarg05 commented on Nov 8, 2026

    @aviralgarg05

    Hi, I’d like to work on this. My plan is to support both MrcFile and MrcInterpreter inputs in the Grid constructor, preserve the relevant origin, spacing, and shape metadata, and add focused tests for both input classes.

    Before I start, should construction copy the MRC data, or retain a view/reference to the existing object? Is this issue available?

  3. orbeckst commented on Nov 9, 2026

    @orbeckst
    MemberAuthor

    I think a view is good.

    To my knowledge, nobody is currently working on it, so a PR is welcome.

    It's not obvious from the docs but the standard MDAnalysis AI Policy applies to gridDataFormats, so please read it.

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