Release Notes¶
0.1.5¶
Changed
PrivateDataElement’sparse_value()method to try and callbytes.decode()on the raw value by default.Removed deprecated Parser class.
Fixed some linting and docstring issues.
0.1.4¶
Changed the return type of data elements with a value multiplicity greater than 1 from list to tuple.
0.1.3¶
Changed Code String (CS) parsing to return verbose value or set of values using the
code_stringsmodule. This feature can be disabled by setting theParser’sverbose_code_stringsattribute to False.Added warnings for invalid pixel arrays and invalid Code String (CS) values.
Updated the
sequencesmodule to work with verbose Code String (CS) data element values and renamed known MR sequences.Refactored the
Parserclass to a bit to improve readability.Fixed CSA header bug for headers with a duplicate “### ASCCONV END ###” pattern.
Created the
DataElementclass as a wrapper around pydicom'sDataElementto support some custom functionality and provide better integration with django_dicom.
0.1.2¶
Improved private tags definition so that the
Headermodel’sget()method will work using the private tag’s keyword.Added support for calling
len()over aSeriesinstance to return the number of images in it.Added support for querying header information from a
Seriesinstance using theget()method or the indexing operator ([]) using astror atuple.Added support for indexing the
Imageinstances from aSeriesusing anintorslice.
0.1.1¶
Improved support for accessing CSA headers.
Added auto-decoding for Siemens mosaic encoded data (applies to data extraction in both
ImageandSeriesinstances).
0.1.0¶
First release!
Type correction based on value-representation (VR).
Simple
Seriesclass for reading DICOM series directories.Basic support for reading CSA headers using the
CsaHeaderclass.