In the middle of the desert you can say anything you want
Main file: 240715-1653 Notes on 3d-slicer, 240718-1530 First python 3d slicer interactions
Commit messages starting with #14 whatever
are awkward as #
is the default comment in git rebase and friends.
git config core.commentchar ";"
fixes that for me.
For a one-time thing this works as well:
git -c core.commentChar="|" commit --amend
(escaping - Escape comment character (#) in git commit message - Stack Overflow)
Why is the number of voxels different from the number of matrices? - Support - 3D Slicer Community
>>> raw = getNode('probe1_0000.nii.gz')
>>> slicer.util.arrayFromVolume(raw).shape
(180, 180, 500)
>>>
doesn’t work for segmentations because not a volume.
Image dimensions can be seen from volume information And are identical in both segmentations and original
I found smoothing in view controllerS!
In Slice controllers there’s this arrow button that allows to set basically layers AND SMOOTHING per slice!
So everything is as expected wrt smoothing — there was none.
Zooming in slices w/ CTRL!
// ref: 240701-1752 NII MRI annotation tools
Importing 2x .nii as directory worked as-is
Volumes can do settings per file, incl.:
Volume renderings gives 3d views?
Annotations can be imported as annotations/segmentations through add data! Then they are parsed semantically
One can segment N slices and it magically creates a 3d shape out of it!
Exporting annos as nifti possible through “export” in Segmentation module 2(not Segment Editor!)
Formats (NITRC: dcm2nii: MainPage)
The DICOM standard is very complex, and different vendors have interpreted it differently. Accurate conversion to NIfTI format requires reading the vendor’s private tags.
Save a DICOM Data as a Nifti - Support - 3D Slicer Community ↩︎
Diagrams
This shows how to use fragments inside code/diagram segments: Fragment Layout Elements in Reveal.JS · quarto-dev/quarto-cli · Discussion #3685
Non-quarto solutions:
style=invis
: sum [label="∑", fillcolor="#27ae60", shape=circle, style=invis];
1qr https://www.eff.org/
at DuckDuckGozipinfo
lists everythingClosing the window with the kitty terminal through qtile/OS means often asks you whether you really want to, as sth is running there.
Kitty has Ctrl+Shift+W
which closes the terminal no questions asked.
Used Apps/Dia - GNOME Wiki! all my life and love it, but
News! 2011-Dec-18: Version 0.97.2 has been released.
Depends on python 2.7 and is very problematic to install now. I’ll miss it.
I hear https://draw.io is a good alternative.
I’ll add a list of options here next time I need this.
(But for older dia files I’ll have to edit maybe later: it could be installed on a Windows machine and export a broken .SVG which I could then edit in Inkscape.)
Context: in a paper, using PDF graphics is much better than e.g. PNG, because antialiasing (230628-1313 Saving plots matplotlib seaborn plotly PDF). Assume you need to crop one, and taking a PNG screenshot won’t cut it, because it would defeat the entire purpose.
TL;DR: in \includegraphics
, trim=left bottom right top
(in cm)
positioning - How can I crop included PDF documents? - TeX - LaTeX Stack Exchange:
includegraphics[clip, trim=0.5cm 11cm 0.5cm 11cm, width=1.00\textwidth]{PDFFILE.pdf}
BUT! If I’m ever in this situation, inkscape can really nicely open a PDF and export only the selected things, also as PDF.
… test the results by downloading the PDF from overleaf and opening it locally, because antialiasing w/ imported vector pictures can be broken from within the preview window.