Commit c68d4ea
ENH: add obliquity_degrees column to detect gantry tilt and oblique acquisitions
Add a numeric column reporting the angle (in degrees) between the slice
normal and the nearest cardinal axis. 0° = pure axial/sagittal/coronal,
higher values indicate oblique acquisition or gantry tilt. ~27k series
(9%) in IDC have non-trivial obliquity.
This information was previously invisible in the boolean checks since
the projection-based approach correctly handles oblique geometry — a
tilted series passes all regularity checks. The new column lets users
identify tilted series that may need special handling (e.g., reformatting
to true axial).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 3a6ecbd commit c68d4ea
1 file changed
Lines changed: 21 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
293 | 308 | | |
294 | 309 | | |
295 | 310 | | |
| |||
333 | 348 | | |
334 | 349 | | |
335 | 350 | | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
336 | 356 | | |
337 | 357 | | |
338 | 358 | | |
| |||
0 commit comments