-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mark/add axes numbers #77
Conversation
@markccchiang don't forget the changelog and the index! (I forget this in my last PR!) |
… mark/add_axes_numbers
… mark/add_axes_numbers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor changes requested.
docs/src/index.rst
Outdated
:ICD Version Integer: 28 | ||
:CARTA Target: Version 4.0 | ||
:CARTA Target: Version 5.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you replaced this accidentally.
shared/defs.proto
Outdated
// Direction X axis number | ||
sfixed32 dir_x = 1; | ||
// Direction Y axis number | ||
sfixed32 dir_y = 2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would change "Direction" to "Spatial" here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would also rename dir_x
and dir_y
to spatial_x
and spatial_y
.
shared/defs.proto
Outdated
// Direction X axis number | ||
sfixed32 dir_x = 1; | ||
// Direction Y axis number | ||
sfixed32 dir_y = 2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would also rename dir_x
and dir_y
to spatial_x
and spatial_y
.
This adds a new sub-message
AxesNumbers
in the messageFileInfoExtended
and passes it to the frontend. So the frontend can decide which axes to be rendered (axis number is 1 or 2). And which is the depth axis (axis number > 2) for non-stokes axis. This is for the backend PR 1194 and the frontend PR 2011.