system HF Staff commited on
Commit
f797c83
·
verified ·
1 Parent(s): 63cee9d

Refresh the dataset card

Browse files
Files changed (1) hide show
  1. README.md +242 -47
README.md CHANGED
@@ -61,7 +61,10 @@ configs:
61
  through the Hub UI, and community pull requests merged into it, are reverted
62
  by the next publish without warning.
63
 
64
- Change the generator instead:
 
 
 
65
  https://github.com/ImagingDataCommons/idc-index-data/blob/main/scripts/hf/generate_dataset_card.py
66
  -->
67
 
@@ -70,20 +73,17 @@ configs:
70
  **This dataset is a catalog. It contains metadata and cloud locations for every
71
  DICOM series in the NCI Imaging Data Commons; it does not contain pixel data.**
72
 
73
- [IDC](https://portal.imaging.datacommons.cancer.gov) is an NCI Cancer
74
- Research Data Commons repository of publicly available cancer imaging data,
75
- co-located with analysis tools in the cloud. To explore it interactively
76
- instead, use the [IDC portal](https://portal.imaging.datacommons.cancer.gov/explore/).
77
- Without downloading anything, any image in IDC can be
78
- [viewed in the browser](https://learn.canceridc.dev/portal/visualization).
79
- To query IDC in plain language, point an AI assistant at its
80
- [agent interfaces](https://learn.canceridc.dev/ai-assistants/agents) --
81
- a hosted MCP server, an agent skill, and a REST API over the same metadata.
82
-
83
- This catalog describes IDC v24 (released 2026-04-16):
84
- **1,032,911 series** across 166,740 studies,
85
- 85,362 patients and 176 collections,
86
- totalling **99.3 TB** of imaging data.
87
 
88
  One row is one DICOM series, with its collection, patient, study and series
89
  attributes, its license and source DOI, and the S3 URL to fetch it from. Use it
@@ -126,22 +126,22 @@ client.download_from_selection(
126
  ```
127
 
128
  Downloads come directly from IDC's public AWS and GCS buckets at no cost to you.
129
- What lands on disk is DICOM; read it with [pydicom](https://pydicom.github.io/)
130
- or [highdicom](https://highdicom.readthedocs.io/).
 
131
 
132
- Every series in this catalog can also be looked at without downloading
133
- anything. IDC streams the pixels to a zero-footprint browser viewer, and
134
- `get_viewer_URL` builds a link to any series you have selected:
135
 
136
  ```python
137
  print(client.get_viewer_URL(seriesInstanceUID=sel["SeriesInstanceUID"][0]))
138
  ```
139
 
140
- It picks the viewer that fits the data --
141
- [OHIF](https://github.com/OHIF/Viewers) for radiology,
142
- [Slim](https://github.com/ImagingDataCommons/slim) for slide microscopy --
143
- and opens the enclosing study with your series selected. Passing a
144
- segmentation, as above, brings it up overlaid on the images it segments.
145
 
146
  Query the catalog without downloading anything, using DuckDB:
147
 
@@ -151,11 +151,189 @@ FROM 'hf://datasets/ImagingDataCommons/idc-index-data/idc_index.parquet'
151
  GROUP BY 1 ORDER BY size_TB DESC LIMIT 10;
152
  ```
153
 
154
- The same queries run in the **SQL Console** tab on this page, with no local setup.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
155
 
156
  ## Indices
157
 
158
- Each index is a separate config (subset). Load one with the `name` argument of `load_dataset`, or select it from the dropdown in the dataset viewer.
 
159
 
160
  | Config | Rows | Size | Description |
161
  |---|---:|---:|---|
@@ -177,7 +355,7 @@ Each index is a separate config (subset). Load one with the `name` argument of `
177
  | `volume_geometry_index` | 319,472 | 5.1 MB | This table contains one row per DICOM series from IDC for single-frame CT, MR, and PT SOP classes, with boolean columns characterizing the geometric properties of each series. The checks determine whether the series forms a regularly-spaced rectilinear 3D volume (consistent orientation, spacing, dimensions, and slice positions). Series that do not pass all checks may still be usable with additional processing such as resampling or acquisition geometry correction (e.g., for variable-spacing or gantry-tilted acquisitions). Oblique-aware: uses projection-based slice position computation, which handles gantry-tilted CT, oblique MR, and axial PET uniformly. |
178
 
179
  > [!NOTE]
180
- > `clinical_index` is a *dictionary* of the clinical tables and columns
181
  > available per collection -- not the clinical data itself. The clinical tables
182
  > are not among these artifacts; retrieve them with
183
  > `IDCClient.get_clinical_table()`.
@@ -220,7 +398,8 @@ Columns of `idc_index`, the default config:
220
  | `series_aws_url` | STRING | public AWS S3 URL to download the series in bulk (each instance is a separate file) |
221
  | `series_size_MB` | FLOAT | total size of the series in megabytes |
222
 
223
- Every other config is described by a `<config>_schema.json` sidecar in this repository, carrying the same table and column descriptions:
 
224
 
225
  | Config | Columns | Schema |
226
  |---|---:|---|
@@ -254,7 +433,10 @@ for column in schema["columns"]:
254
 
255
  ## Licensing
256
 
257
- **The images are not covered by a single license.** Every row carries a `license_short_name` giving the license of that series; the YAML above lists all of them so the dataset appears under each one's Hub filter. Check it per series before redistributing or using data commercially.
 
 
 
258
 
259
  | License | Series | Commercial use |
260
  |---|---:|---|
@@ -264,11 +446,16 @@ for column in schema["columns"]:
264
  | CC BY-NC 3.0 | 5,851 | not allowed |
265
  | National Library of Medicine Terms and Conditions; May 21, 2019 | 39 | see terms |
266
 
267
- Series under *National Library of Medicine Terms and Conditions* are governed by <https://www.nlm.nih.gov/databases/download/terms_and_conditions.html>.
 
268
 
269
- Every license IDC uses -- CC BY and CC BY-NC alike -- requires **attribution**. See [IDC licensing and attribution](https://learn.canceridc.dev/data/licensing).
 
270
 
271
- The index files in this repository are a factual catalog of that content and are distributed under the license of the [idc-index-data repository](https://github.com/ImagingDataCommons/idc-index-data/blob/main/LICENSE). That license covers the tables only, never the referenced images.
 
 
 
272
 
273
  ## Attribution and citation
274
 
@@ -277,10 +464,10 @@ Attribution is required by every license in this catalog, and it is owed to the
277
  the series came from; resolve it to a formatted citation with IDC's citations
278
  API or `IDCClient.citations_from_selection()`.
279
 
280
- Many IDC collections originate from [The Cancer Imaging Archive
281
- (TCIA)](https://www.cancerimagingarchive.net/); IDC is a TCIA Data Analysis
282
- Center. Those collections additionally carry TCIA's [data usage policies and
283
- restrictions](https://www.cancerimagingarchive.net/data-usage-policies-and-restrictions/),
284
  including obligations on downstream attribution.
285
 
286
  Please also acknowledge IDC itself:
@@ -314,8 +501,9 @@ version to keep results reproducible:
314
  load_dataset("ImagingDataCommons/idc-index-data", "idc_index", revision="24.2.2")
315
  ```
316
 
317
- This release, `24.2.2`, indexes IDC v24 (released 2026-04-16). Not every idc-index-data release
318
- is published here; tags on this repo are a subset of the GitHub releases.
 
319
 
320
  This card is generated, not maintained here. Every publish regenerates
321
  `README.md` -- YAML front matter and all -- from the release artifacts and
@@ -324,21 +512,28 @@ and community pull requests merged into this card are reverted by the next
324
  publish, with no warning and no notification to whoever made them. The old text
325
  survives only in this repo's commit history.
326
 
327
- So please don't send card fixes as pull requests here; they will not last.
328
- Open them against the generator,
329
- [`scripts/hf/generate_dataset_card.py`](https://github.com/ImagingDataCommons/idc-index-data/blob/main/scripts/hf/generate_dataset_card.py),
330
  and they will appear at the next release. Nothing else on the Hub is affected:
331
  discussions persist, and only the Parquet files, their `*_schema.json` sidecars
332
  and this card are ever written or removed by the publishing job.
333
 
334
  ## Links
335
 
336
- - [IDC portal](https://portal.imaging.datacommons.cancer.gov/explore/) -- browse the data and build cohorts interactively
337
- - [Visualizing IDC images](https://learn.canceridc.dev/portal/visualization) -- how the browser viewers work; get a link to any series with `IDCClient.get_viewer_URL()`
338
- - [IDC agent interfaces](https://learn.canceridc.dev/ai-assistants/agents) -- search IDC, size a cohort and get a download command by asking: hosted MCP server, agent skill, or REST API
 
 
 
339
  - [IDC documentation](https://learn.canceridc.dev/)
340
- - [`idc-index` Python package](https://github.com/ImagingDataCommons/idc-index) -- the download client (`pip install idc-index`)
341
- - [`idc-index-data` on GitHub](https://github.com/ImagingDataCommons/idc-index-data) -- how these tables are built (SQL included)
 
 
 
 
342
  - [GCS mirror of the release artifacts](https://storage.googleapis.com/idc-index-data-artifacts?prefix=current/release_artifacts/)
343
  -- fetch a single file directly, e.g.
344
  `https://storage.googleapis.com/idc-index-data-artifacts/current/release_artifacts/idc_index.parquet`
 
61
  through the Hub UI, and community pull requests merged into it, are reverted
62
  by the next publish without warning.
63
 
64
+ The wording lives in a Markdown template you can edit directly:
65
+ https://github.com/ImagingDataCommons/idc-index-data/blob/main/scripts/hf/card_template.md
66
+
67
+ The counts, tables and front matter around it are generated by:
68
  https://github.com/ImagingDataCommons/idc-index-data/blob/main/scripts/hf/generate_dataset_card.py
69
  -->
70
 
 
73
  **This dataset is a catalog. It contains metadata and cloud locations for every
74
  DICOM series in the NCI Imaging Data Commons; it does not contain pixel data.**
75
 
76
+ [IDC](https://portal.imaging.datacommons.cancer.gov) is an NCI Cancer Research Data Commons repository of
77
+ publicly available cancer imaging data, co-located with analysis tools in the
78
+ cloud. To explore it interactively instead, use the
79
+ [IDC portal](https://portal.imaging.datacommons.cancer.gov/explore/). Without downloading anything, any image
80
+ in IDC can be [viewed in the browser](https://learn.canceridc.dev/portal/visualization). To query IDC in
81
+ plain language, point an AI assistant at its [agent interfaces](https://learn.canceridc.dev/ai-assistants/agents)
82
+ -- a hosted MCP server, an agent skill, and a REST API over the same metadata.
83
+
84
+ This catalog describes IDC v24 (released 2026-04-16): **1,032,911 series** across 166,740
85
+ studies, 85,362 patients and 176 collections, totalling
86
+ **99.3 TB** of imaging data.
 
 
 
87
 
88
  One row is one DICOM series, with its collection, patient, study and series
89
  attributes, its license and source DOI, and the S3 URL to fetch it from. Use it
 
126
  ```
127
 
128
  Downloads come directly from IDC's public AWS and GCS buckets at no cost to you.
129
+ What lands on disk is DICOM;
130
+ [Loading images as tensors](#loading-images-as-tensors) below turns it into
131
+ arrays.
132
 
133
+ Every series in this catalog can also be looked at without downloading anything.
134
+ IDC streams the pixels to a zero-footprint browser viewer, and `get_viewer_URL`
135
+ builds a link to any series you have selected:
136
 
137
  ```python
138
  print(client.get_viewer_URL(seriesInstanceUID=sel["SeriesInstanceUID"][0]))
139
  ```
140
 
141
+ It picks the viewer that fits the data -- [OHIF](https://github.com/OHIF/Viewers) for radiology,
142
+ [Slim](https://github.com/ImagingDataCommons/slim) for slide microscopy -- and opens the enclosing study with
143
+ your series selected. Passing a segmentation, as above, brings it up overlaid on
144
+ the images it segments.
 
145
 
146
  Query the catalog without downloading anything, using DuckDB:
147
 
 
151
  GROUP BY 1 ORDER BY size_TB DESC LIMIT 10;
152
  ```
153
 
154
+ The same queries run in the **SQL Console** tab on this page, with no local
155
+ setup.
156
+
157
+ ## Loading images as tensors
158
+
159
+ A DICOM series is not an array yet. For CT, MR and PET it is usually one file
160
+ per slice. The slices must be ordered by their position in space, not by file
161
+ name, and their stored values rescaled to physical units, such as Hounsfield
162
+ units for CT. Not every series is a volume at all: localizers, uneven slice
163
+ spacing and gantry tilt are all common.
164
+
165
+ [highdicom](https://highdicom.readthedocs.io/) handles this, and returns a
166
+ `Volume` that keeps voxel spacing and the patient-space affine next to the
167
+ array. The examples below were tested with highdicom 0.28.2.
168
+
169
+ ```bash
170
+ pip install "highdicom>=0.28.2" duckdb idc-index torch
171
+ ```
172
+
173
+ Start in the catalog. `volume_geometry_index` flags every CT, MR and PET series
174
+ whose slices form a regularly spaced 3D grid, so series that won't load as a
175
+ volume are never downloaded:
176
+
177
+ ```python
178
+ import duckdb
179
+
180
+ hf = "hf://datasets/ImagingDataCommons/idc-index-data"
181
+ query = f"""
182
+ SELECT SeriesInstanceUID
183
+ FROM '{hf}/idc_index.parquet'
184
+ JOIN '{hf}/volume_geometry_index.parquet' USING (SeriesInstanceUID)
185
+ WHERE collection_id = 'nsclc_radiomics' AND Modality = 'CT'
186
+ AND regularly_spaced_3d_volume
187
+ LIMIT 3
188
+ """
189
+ uids = [row[0] for row in duckdb.sql(query).fetchall()]
190
+ ```
191
+
192
+ Download each series into its own directory, then load it:
193
+
194
+ ```python
195
+ from pathlib import Path
196
+
197
+ import highdicom as hd
198
+ import numpy as np
199
+ import pydicom
200
+ import torch
201
+ from idc_index import IDCClient
202
+
203
+ client = IDCClient()
204
+ client.download_from_selection(
205
+ seriesInstanceUID=uids, downloadDir="idc_data", dirTemplate="%SeriesInstanceUID"
206
+ )
207
+
208
+
209
+ def load_volume(uid):
210
+ files = Path("idc_data", uid).glob("*.dcm")
211
+ return hd.get_volume_from_series(
212
+ [pydicom.dcmread(f) for f in files], dtype=np.float32
213
+ )
214
+
215
+
216
+ def volume_to_channel_first_tensor(vol):
217
+ # Convert to a tensor with a leading channel dimension, as is typically
218
+ # required in pytorch
219
+
220
+ # The result of a match_geometry operation may be permuted/flipped
221
+ # so the resulting numpy array is non-contiguous
222
+ arr = np.ascontiguousarray(vol.array)
223
+
224
+ if vol.number_of_channel_dimensions == 0:
225
+ # Volume has no channel -> add one
226
+ # Result is (channels, slices, rows, columns)
227
+ t = torch.from_numpy(arr).unsqueeze(0)
228
+ elif vol.number_of_channel_dimensions == 1:
229
+ # Volume has a trailing channel -> permute to the front
230
+ t = torch.from_numpy(arr).permute([3, 0, 1, 2])
231
+ else:
232
+ raise ValueError("Expected at most one channel dimension")
233
+
234
+ return t
235
+
236
+
237
+ vol = load_volume(uids[0])
238
+ image = volume_to_channel_first_tensor(vol)
239
+
240
+ print(image.shape, vol.spacing) # spacing in mm, of the three spatial axes
241
+ ```
242
+
243
+ `get_volume_from_series` raises `ValueError` for a series that is not a regular
244
+ grid. Those are the series the geometry filter above leaves out. Pass `dtype`
245
+ explicitly; the default is `float64`.
246
+
247
+ `get_volume_from_series` has other parameters, for example to choose which pixel
248
+ transforms are applied. See its
249
+ [documentation](https://highdicom.readthedocs.io/en/latest/package.html#highdicom.get_volume_from_series).
250
+
251
+ ### Segmentations
252
+
253
+ `seg_index` has a row for each segmentation (DICOM SEG) series, and
254
+ `segmented_SeriesInstanceUID` names the image series it segments. This example
255
+ takes one from NLSTSeg, expert segmentations of lung lesions in NLST CT,
256
+ downloads it with its CT, and puts the mask on the CT's grid:
257
+
258
+ ```python
259
+ query = f"""
260
+ SELECT s.SeriesInstanceUID, s.segmented_SeriesInstanceUID
261
+ FROM '{hf}/seg_index.parquet' s
262
+ JOIN '{hf}/idc_index.parquet' i USING (SeriesInstanceUID)
263
+ JOIN '{hf}/volume_geometry_index.parquet' g
264
+ ON g.SeriesInstanceUID = s.segmented_SeriesInstanceUID
265
+ WHERE i.analysis_result_id = 'nlstseg' AND s.total_segments > 1
266
+ AND g.regularly_spaced_3d_volume
267
+ LIMIT 1
268
+ """
269
+ seg_uid, image_uid = duckdb.sql(query).fetchone()
270
+ client.download_from_selection(
271
+ seriesInstanceUID=[seg_uid, image_uid],
272
+ downloadDir="idc_data",
273
+ dirTemplate="%SeriesInstanceUID",
274
+ )
275
+
276
+ ct = load_volume(image_uid)
277
+ seg = hd.seg.segread(next(Path("idc_data", seg_uid).glob("*.dcm")))
278
+ labels = seg.get_volume(combine_segments=True)
279
+ labels = labels.match_geometry(ct)
280
+
281
+ image = volume_to_channel_first_tensor(ct)
282
+ mask = volume_to_channel_first_tensor(labels) # (1, slices, rows, columns)
283
+ print({s.SegmentNumber: s.SegmentLabel for s in seg.SegmentSequence})
284
+ ```
285
+
286
+ A segmentation often covers fewer slices than its image, is rotated relative to
287
+ the source image, or stores the slices in the opposite order; `match_geometry`
288
+ pads, flips and rotates it (as required) onto the image grid. It raises
289
+ `RuntimeError` when the two grids are offset by a fraction of a voxel, and
290
+ rounding in stored positions alone can cause that: some `nsclc_radiomics`
291
+ segmentations sit 2e-5 voxels off their CT, just beyond the default tolerance,
292
+ and `match_geometry(ct, tol=1e-4)` accepts them. Loosen `tol` no further than
293
+ you need: a large tolerance can hide a segmentation that is genuinely misaligned
294
+ with its image.
295
+
296
+ `combine_segments=True` returns a label map, in which each voxel holds the
297
+ number of the segment it belongs to, or 0. NLSTSeg segments each lesion
298
+ separately, so `mask` numbers the lesions.
299
+
300
+ A label map cannot hold a voxel that belongs to two segments, and segments may
301
+ overlap. The expert segmentations in `nsclc_radiomics`, for example, outline the
302
+ primary tumor inside the lung that contains it, and `combine_segments=True`
303
+ raises `RuntimeError` on them. For those, `seg.get_volume()` returns one binary
304
+ mask per segment down the last axis, which `volume_to_channel_first_tensor`
305
+ moves to the front: `(segments, slices, rows, columns)`. Losses differ in which
306
+ form they take. PyTorch's `CrossEntropyLoss` takes class indices, as in a label
307
+ map, while others, such as the default behavior of MONAI's `DiceLoss`, take one
308
+ channel per segment. However, be aware that many common loss functions (such as
309
+ Dice) expect the segments to be non-overlapping even when using the
310
+ one-channel-per-segment representation, the so-called "one-hot" format.
311
+
312
+ `get_volume` can also select a subset of the segments. See its
313
+ [documentation](https://highdicom.readthedocs.io/en/latest/package.html#highdicom.seg.Segmentation.get_volume)
314
+ for this and its other parameters.
315
+
316
+ ### Training and other image types
317
+
318
+ To feed a `DataLoader`, call `load_volume` from a `torch.utils.data.Dataset`.
319
+ Volumes differ in shape, so bring them to a common one before batching, for
320
+ example with `vol.pad_or_crop_to_spatial_shape((64, 256, 256))` or by
321
+ resampling.
322
+
323
+ - **Radiographs and mammograms** (CR, DX, MG) are one 2D image per file:
324
+ `hd.imread(path).get_frame(1)`.
325
+ - **Slide microscopy** (SM) is a multi-resolution pyramid with one file per
326
+ level, and the full-resolution level is usually too large for one array. Read
327
+ a region of one level with `hd.imread(path).get_total_pixel_matrix()`, whose
328
+ `row_start`, `row_end`, `column_start` and `column_end` bounds are 1-based,
329
+ end excluded. `sm_instance_index` gives each file's `TotalPixelMatrixRows`,
330
+ `TotalPixelMatrixColumns` and `PixelSpacing_0`, so you can pick the level
331
+ before downloading.
332
 
333
  ## Indices
334
 
335
+ Each index is a separate config (subset). Load one with the `name` argument of
336
+ `load_dataset`, or select it from the dropdown in the dataset viewer.
337
 
338
  | Config | Rows | Size | Description |
339
  |---|---:|---:|---|
 
355
  | `volume_geometry_index` | 319,472 | 5.1 MB | This table contains one row per DICOM series from IDC for single-frame CT, MR, and PT SOP classes, with boolean columns characterizing the geometric properties of each series. The checks determine whether the series forms a regularly-spaced rectilinear 3D volume (consistent orientation, spacing, dimensions, and slice positions). Series that do not pass all checks may still be usable with additional processing such as resampling or acquisition geometry correction (e.g., for variable-spacing or gantry-tilted acquisitions). Oblique-aware: uses projection-based slice position computation, which handles gantry-tilted CT, oblique MR, and axial PET uniformly. |
356
 
357
  > [!NOTE]
358
+ > `clinical_index` is a _dictionary_ of the clinical tables and columns
359
  > available per collection -- not the clinical data itself. The clinical tables
360
  > are not among these artifacts; retrieve them with
361
  > `IDCClient.get_clinical_table()`.
 
398
  | `series_aws_url` | STRING | public AWS S3 URL to download the series in bulk (each instance is a separate file) |
399
  | `series_size_MB` | FLOAT | total size of the series in megabytes |
400
 
401
+ Every other config is described by a `<config>_schema.json` sidecar in this
402
+ repository, carrying the same table and column descriptions:
403
 
404
  | Config | Columns | Schema |
405
  |---|---:|---|
 
433
 
434
  ## Licensing
435
 
436
+ **The images are not covered by a single license.** Every row carries a
437
+ `license_short_name` giving the license of that series; the YAML above lists all
438
+ of them so the dataset appears under each one's Hub filter. Check it per series
439
+ before redistributing or using data commercially.
440
 
441
  | License | Series | Commercial use |
442
  |---|---:|---|
 
446
  | CC BY-NC 3.0 | 5,851 | not allowed |
447
  | National Library of Medicine Terms and Conditions; May 21, 2019 | 39 | see terms |
448
 
449
+ Series under _National Library of Medicine Terms and Conditions_ are governed by
450
+ <https://www.nlm.nih.gov/databases/download/terms_and_conditions.html>.
451
 
452
+ Every license IDC uses -- CC BY and CC BY-NC alike -- requires **attribution**.
453
+ See [IDC licensing and attribution](https://learn.canceridc.dev/data/licensing).
454
 
455
+ The index files in this repository are a factual catalog of that content and are
456
+ distributed under the license of the
457
+ [idc-index-data repository](https://github.com/ImagingDataCommons/idc-index-data/blob/main/LICENSE). That license
458
+ covers the tables only, never the referenced images.
459
 
460
  ## Attribution and citation
461
 
 
464
  the series came from; resolve it to a formatted citation with IDC's citations
465
  API or `IDCClient.citations_from_selection()`.
466
 
467
+ Many IDC collections originate from
468
+ [The Cancer Imaging Archive (TCIA)](https://www.cancerimagingarchive.net/); IDC
469
+ is a TCIA Data Analysis Center. Those collections additionally carry TCIA's
470
+ [data usage policies and restrictions](https://www.cancerimagingarchive.net/data-usage-policies-and-restrictions/),
471
  including obligations on downstream attribution.
472
 
473
  Please also acknowledge IDC itself:
 
501
  load_dataset("ImagingDataCommons/idc-index-data", "idc_index", revision="24.2.2")
502
  ```
503
 
504
+ This release, `24.2.2`, indexes IDC v24 (released 2026-04-16). Not every idc-index-data
505
+ release is published here; tags on this repo are a subset of the GitHub
506
+ releases.
507
 
508
  This card is generated, not maintained here. Every publish regenerates
509
  `README.md` -- YAML front matter and all -- from the release artifacts and
 
512
  publish, with no warning and no notification to whoever made them. The old text
513
  survives only in this repo's commit history.
514
 
515
+ So please don't send card fixes as pull requests here; they will not last. Open
516
+ them against the template the wording comes from,
517
+ [`scripts/hf/card_template.md`](https://github.com/ImagingDataCommons/idc-index-data/blob/main/scripts/hf/card_template.md),
518
  and they will appear at the next release. Nothing else on the Hub is affected:
519
  discussions persist, and only the Parquet files, their `*_schema.json` sidecars
520
  and this card are ever written or removed by the publishing job.
521
 
522
  ## Links
523
 
524
+ - [IDC portal](https://portal.imaging.datacommons.cancer.gov/explore/) -- browse the data and build cohorts
525
+ interactively
526
+ - [Visualizing IDC images](https://learn.canceridc.dev/portal/visualization) -- how the browser viewers
527
+ work; get a link to any series with `IDCClient.get_viewer_URL()`
528
+ - [IDC agent interfaces](https://learn.canceridc.dev/ai-assistants/agents) -- search IDC, size a cohort and get a
529
+ download command by asking: hosted MCP server, agent skill, or REST API
530
  - [IDC documentation](https://learn.canceridc.dev/)
531
+ - [`idc-index` Python package](https://github.com/ImagingDataCommons/idc-index)
532
+ -- the download client (`pip install idc-index`)
533
+ - [`idc-index-data` on GitHub](https://github.com/ImagingDataCommons/idc-index-data) -- how these tables are built
534
+ (SQL included)
535
+ - [`highdicom` Python package](https://github.com/ImagingDataCommons/highdicom)
536
+ -- used to read DICOM and arrange as tensors
537
  - [GCS mirror of the release artifacts](https://storage.googleapis.com/idc-index-data-artifacts?prefix=current/release_artifacts/)
538
  -- fetch a single file directly, e.g.
539
  `https://storage.googleapis.com/idc-index-data-artifacts/current/release_artifacts/idc_index.parquet`