Skip to content

Commit

Permalink
Add rest frequency to moment request (#98)
Browse files Browse the repository at this point in the history
* Add rest_freq field to MomentRequest

* Specify unit of rest frequency in MomentRequest

* Update changelog.rst.txt

* Bumped index

* Changed index date to match changelog entry

---------

Co-authored-by: Adrianna Pińska <[email protected]>
  • Loading branch information
pford and confluence committed Sep 10, 2024
1 parent 3611711 commit a775cb2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions docs/src/changelog.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,9 @@ Changelog
* - ``29.0.0``
- 26/06/24
- Added ``overwrite`` to :carta:ref:`SaveFile` and :carta:ref:`ExportRegion` messages.
* - ``29.1.0``
- 27/08/24
- Added ``rest_freq`` to :carta:ref:`MomentRequest` message.

Versioning
----------
Expand Down
4 changes: 2 additions & 2 deletions docs/src/index.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
CARTA Interface Control Document
================================

:Date: 11 June 2024
:Date: 27 August 2024
:Authors: Angus Comrie, Rob Simmonds and the CARTA development team
:Version: 29.0.0
:Version: 29.1.0
:ICD Version Integer: 29
:CARTA Target: Version 5.0

Expand Down
4 changes: 4 additions & 0 deletions docs/src/messages.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1247,6 +1247,10 @@ Source file: `request/moment_request.proto <https://github.com/CARTAvis/carta-pr
- bool
-
-
* - rest_freq
- double
-
- Set the rest frequency (Hz) of the image

.. carta:class:: carta-b2f momentresponse
Expand Down
2 changes: 2 additions & 0 deletions request/moment_request.proto
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ message MomentRequest {
MomentMask mask = 6;
FloatBounds pixel_range = 7;
bool keep = 8;
// Set the rest frequency (Hz) of the image
double rest_freq = 9;
}

message MomentResponse {
Expand Down

0 comments on commit a775cb2

Please sign in to comment.