Repository navigation
Conversation
In console mode the figures give way to a workspace: three views to prescribe on, each showing an image of a series it chooses with a slider through its images, above a viewer of the exam's series; a run's history entry shows its series there. The views draw the selected sequence's prescription where it lies on their image, from the DICOM geometry in the patient's LPS frame: the field of view as a box on a view that faces the slices, each slice as the line it cuts a view across them, a 3D slab as one box, and the saturation bands as shaded areas. Handles move the stack in a view's plane, turn it about the view's normal into an oblique, resize the box, drag slices onto or off either end, and move a band or set its thickness. A drag writes the sequence's values, held to each entry's range and step, and shows them in the form; a value typed redraws the views. The prescription is an orientation, an in-plane turn, two tilts and a centre along L, P and S, beside the plugin's own geometry entries; MaRGE's fov and dfov stay as the values it keeps with a run. The image tab holds the geometry and the matrix, the other tab the user entries named by their user<N>_name, and the sequence tab the rest; a tab scrolls when it overflows and an empty one is not shown. An imaging mode the sequence states is not offered for editing. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…the slab of a 3D sequence The console's saturation bands follow pulserver's explicit bands: up to six, each turned on by its bit of exsat_mask and placed by its normal along the physical axes, its centre's distance from the isocentre and its thickness. A view shades each where it crosses the view, with handles that move it along its normal, set its thickness and turn it about the view's normal, keeping the point turned about on its centre plane. A 3D sequence's slab is its locations times their thickness, as the plugins now state, and the imaging mode they state is not offered for editing. Co-Authored-By: Claude Opus 5.5 <[email protected]>
2 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #.
In console mode, MaRGE now has a GE-like single screen: graphic Rx on the exam's series, a series viewer, and the sequence form split into tabs.
Planning. Three views each show an image of a series they choose, with a slider through its images.
Two-way binding. A drag writes the sequence's values, held to each entry's range and step, and shows them in the form; a typed value redraws the views. Orientation is a plane, an in-plane turn and two tilts, plus a centre along L, P and S.
Series viewer. Below the views, the exam's series can be browsed slice by slice. A run's history entry shows its series there.
Bands and slabs.
exsat_maskand placed by normal, position and thickness.Tabs. The Image tab holds geometry and matrix, the Sequence tab acceleration and everything else, and the Others tab the user entries, by their
user<N>_name. Tabs scroll when they overflow, and an empty tab is hidden.Goes with pulserver/pulserver#241–#244 (stated imaging mode, slab, user entries, explicit bands). It reads any listing, so it works before those land.
Test plan
test_console_geometry.py,test_console_prescribe.py,test_console_workspace.py,test_pulserver_console.py(83 passed)🤖 Generated with Claude Code