You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Document ct_index, mr_index, pt_index from idc-index 0.12.3
Three new modality-specific acquisition parameter tables added in
idc-index-data 24.2.0: ct_index, mr_index, pt_index. All join on
SeriesInstanceUID and are fetched on demand.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,21 @@ All notable changes to the IDC Claude Skill are documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/).
7
7
8
-
## [1.6.3] - 2026-05-08
8
+
## [1.6.3] - 2026-05-09
9
+
10
+
### Added
11
+
12
+
-`ct_index`, `mr_index`, `pt_index` tables (idc-index 0.12.3 / idc-index-data 24.2.0): modality-specific acquisition and reconstruction parameter indices, one row per series, all joining on `SeriesInstanceUID`
-`mr_index` (22 columns): field strength, scanning sequence, TE (array for multi-echo), TR, flip angle, DiffusionBValue (array for DWI), pixel bandwidth, receive coil, number of temporal positions
15
+
-`pt_index` (21 columns): radionuclide, injected dose, reconstruction method, decay/scatter/attenuation correction, frame duration (array for dynamic PET), number of time slices
16
+
- SQL query patterns for all three new tables in `references/sql_patterns.md`
17
+
- Join column entries for `ct_index`, `mr_index`, `pt_index` in `references/index_tables_guide.md` and SKILL.md
18
+
- Parquet file entries for `ct_index.parquet`, `mr_index.parquet`, `pt_index.parquet` in `references/parquet_access_guide.md`
9
19
10
20
### Changed
11
21
22
+
- Updated idc-index reference to 0.12.3
12
23
- Clarified `download_from_selection` API: added explicit warning that it takes filter keyword arguments (not a DataFrame), comparison table vs `download_dicom_series` (which has a different first-argument order), and restructured the download example as a step-by-step query → extract UIDs → pass list flow
13
24
- Documented `download_dicom_series` as an alternative download method with its own signature (`seriesInstanceUID` as first arg, then `downloadDir`)
14
25
- Reduced redundancy and duplication in SKILL.md for cleaner reading
@@ -145,6 +145,9 @@ Always call `client.fetch_index("table_name")` before querying any index table
145
145
|`contrast_index`| 1 row = 1 series with contrast info | Contrast agent metadata: agent name, ingredient, administration route (CT, MR, PT, XA, RF) |
146
146
|`volume_geometry_index`| 1 row = 1 CT/MR/PT series | 3D volume geometry validation for single-frame CT, MR, and PT series; boolean checks for orientation, spacing, dimensions, and slice positions; composite `regularly_spaced_3d_volume` flag |
147
147
|`rtstruct_index`| 1 row = 1 RTSTRUCT series | RT Structure Set metadata: total ROI count, ROI names, generation algorithms, interpreted types, and the referenced image series UID |
148
+
|`ct_index`| 1 row = 1 CT series | CT acquisition/reconstruction parameters: pixel spacing, slice thickness, kVp, convolution kernel, tube current (min/max for dose-modulated), exposure, spiral pitch, scan options |
149
+
|`mr_index`| 1 row = 1 MR series | MR acquisition/sequence parameters: field strength, scanning sequence, TE (array for multi-echo), TR, flip angle, DiffusionBValue (array for DWI), pixel bandwidth, receive coil, number of temporal positions |
150
+
|`pt_index`| 1 row = 1 PET series | PET acquisition/reconstruction/radiopharmaceutical parameters: series type, units, decay/scatter/attenuation correction, reconstruction method, radionuclide, injected dose, frame duration (array for dynamic PET) |
148
151
|`prior_versions_index`| 1 row = 1 DICOM series | Series that have been removed or superseded in previous IDC releases; use only to download deprecated/historical data — do not query for current data |
149
152
150
153
### Joining Tables
@@ -165,6 +168,9 @@ Always call `client.fetch_index("table_name")` before querying any index table
165
168
|`segmented_SeriesInstanceUID`| seg_index → index | Link segmentation to its source image series (join seg_index.segmented_SeriesInstanceUID = index.SeriesInstanceUID) |
166
169
|`referenced_SeriesInstanceUID`| ann_index → index | Link annotation to its source image series (join ann_index.referenced_SeriesInstanceUID = index.SeriesInstanceUID) |
167
170
|`SeriesInstanceUID` / `referenced_SeriesInstanceUID`| index, rtstruct_index | Join RTSTRUCT series to its metadata (index.SeriesInstanceUID = rtstruct_index.SeriesInstanceUID); use rtstruct_index.referenced_SeriesInstanceUID to find the source image series |
171
+
|`SeriesInstanceUID`| index, ct_index | Link CT series to acquisition/reconstruction parameters |
172
+
|`SeriesInstanceUID`| index, mr_index | Link MR series to sequence/acquisition parameters |
173
+
|`SeriesInstanceUID`| index, pt_index | Link PET series to acquisition/radiopharmaceutical parameters |
168
174
169
175
**Note:**`subjects`, `updated`, and `description` appear in multiple tables but have different meanings (counts vs identifiers, different update contexts).
Copy file name to clipboardExpand all lines: references/index_tables_guide.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Index Tables Guide for IDC
2
2
3
-
**Tested with:** idc-index 0.12.2 (IDC data version v24)
3
+
**Tested with:** idc-index 0.12.3 (IDC data version v24)
4
4
5
5
This guide covers the structure and access patterns for IDC index tables: programmatic schema discovery, DataFrame access, and join column references. For the overview of available tables and their purposes, see the "Index Tables" section in the main SKILL.md.
6
6
@@ -130,6 +130,9 @@ Use this table to identify join columns between index tables. Always call `clien
|`pt_index.parquet`| — | PET acquisition/radiopharmaceutical parameters |
41
44
|`prior_versions_index.parquet`| — | Series from previous IDC releases |
42
45
43
46
**Note:** the main index file is named `idc_index.parquet`, not `index.parquet`. Reference it with an alias in SQL queries (e.g., `FROM read_parquet(...) AS index`).
Copy file name to clipboardExpand all lines: references/sql_patterns.md
+80-1Lines changed: 80 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# SQL Query Patterns for IDC
2
2
3
-
**Tested with:** idc-index 0.12.1 (IDC data version v24)
3
+
**Tested with:** idc-index 0.12.3 (IDC data version v24)
4
4
5
5
Quick reference for common SQL query patterns when working with IDC data. For detailed examples with context, see the "Core Capabilities" section in the main SKILL.md.
6
6
@@ -14,6 +14,7 @@ Load this guide when you need quick-reference SQL patterns for:
14
14
- Linking imaging data to clinical data
15
15
- Filtering by 3D volume geometry validity (volume_geometry_index)
16
16
- Finding RT Structure Set series and ROI metadata (rtstruct_index)
17
+
- Filtering by CT/MR/PET acquisition parameters (ct_index, mr_index, pt_index)
17
18
18
19
For table schemas, DataFrame access, and join column references, see `references/index_tables_guide.md`.
19
20
@@ -277,6 +278,84 @@ client.sql_query("""
277
278
""")
278
279
```
279
280
281
+
## Modality Acquisition Parameters
282
+
283
+
`ct_index`, `mr_index`, and `pt_index` (added in idc-index 0.12.3) expose acquisition and reconstruction parameters for CT, MR, and PET series. All join on `SeriesInstanceUID`. Dose-modulated CT acquisitions have `_min`/`_max` columns for tube current, exposure, and exposure time.
284
+
285
+
```python
286
+
client.fetch_index("ct_index")
287
+
client.fetch_index("mr_index")
288
+
client.fetch_index("pt_index")
289
+
290
+
# CT: thin-slice series (≤2mm) with standard reconstruction
0 commit comments