Skip to content
Novus Examples
bin2.8 KB

DICOM-Shaped Stream — No Preamble, No DICM Magic (.bin)

The identical element stream with the 128-byte preamble and the DICM magic stripped, which is how DICOM often arrives out of a network transfer or a database blob column. It is not a conformant Part 10 file and its content is entirely recoverable, so a reader should fall back rather than reject.

Preview — schema + first 5 rowsbin
FieldValue
Preambleabsent — the file starts at the meta group
DICM magicabsent
Is it Part 10?no — Part 10 requires both
Is the content recoverable?yes, every element after byte 0 is well formed
Seen in the wildnetwork transfers and databases that strip the preamble
The classic 'DICOM file that is not a DICOM file' — recoverable, not corrupt.

Specifications

Preamble Bytes
0
Magic
absent
First Bytes
the (0002,0000) group length element
Valid As Part10
false
Valid As Raw Dataset
true
Recoverable
true
Same Elements As
the explicit-VR Part 10 file

Testing contract

Expected to recover
Scenario
Attempt a strict Part 10 parse, then fall back to parsing the file as a bare dataset starting at byte 0.
Expected result
The strict parse fails because DICM is absent at offset 128, while the fallback recovers all 27 elements and the same pixel data as the Part 10 file.

What is a .bin file?

A .bin file is a generic binary blob with no specific format — raw bytes whose meaning depends entirely on the producing application (firmware images, memory dumps, serialized payloads). The extension signals only 'not text.'

How to use this file

Use an example .bin file to test binary/hex viewers, file-type sniffing, octet-stream handling, and download pipelines that must not corrupt arbitrary bytes.

How to use this file for testing

“DICOM-Shaped Stream — No Preamble, No DICM Magic (.bin)” is a deterministic Novus Examples fixture for Scientific data, Serialization testing, Error handling. Citation catalogs (BibTeX, RIS), chemistry structures (MDL Molfile, PDB), and gridded binary data (NetCDF, FITS) — for testing reference managers, molecule viewers, and scientific-data loaders.

Documented properties for this file: BIN · 2,818 bytes. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

Scientific fixtures are small, valid, and fully synthetic — no real organism, patient, sample, or observation. Point your parser or loader at the file and check it reads the documented records, variables, or headers; binary formats ship a readable twin or metadata listing for comparison.

Generated by generation/scientific.py. Free for any use, no attribution required — license.