Skip to content

Clarification: confusing definition of 'm' in 'geometry' (thetaMode version) #290

@DanieleSim

Description

@DanieleSim

openPMD standard version: 1.1.0

When trying to implement the basic version of the standard, I stumbled upon this issue.
A cylindrical axially symmetric dataset (using only the zero mode, and hence having in total one single mode) should have shape (1,:,:), as only the real part of the mode 0 is saved.

In 'geometry', thetaMode version:
...the first axis corresponds to the azimuthal mode. (This last axis has length 2m+1, where m is the number of modes used...

These instructions would lead in the example previously mentioned to datasets with shape (3,:,:), which is incorrect.

Proposed change:

...the first axis corresponds to the azimuthal mode. (This last axis has length 2m+1, where m is the value of the highest mode used...

or

...the first axis corresponds to the azimuthal mode. (This last axis has length m, where m is the number of modes used...

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