Initial directory structure.

--HG--
extra : convert_revision : svn%3Ac08ef5a1-5256-0410-90f3-e9b415652cf7/trunk%401
First upload of code to online repository.

--HG--
extra : convert_revision : svn%3Ac08ef5a1-5256-0410-90f3-e9b415652cf7/trunk%402
Fixed problems with setup scripts so they now include examples and test directories. Added Readme.txt to give very brief explanation of how to install and get started. Removed some generated files from svn.

--HG--
extra : convert_revision : svn%3Ac08ef5a1-5256-0410-90f3-e9b415652cf7/trunk%403
Modified Tag class so works in python 2.3 and 2.5.

--HG--
extra : convert_revision : svn%3Ac08ef5a1-5256-0410-90f3-e9b415652cf7/trunk%407
Small change to Tag class to allow two arguments and interpret them as group,element numbers.

--HG--
extra : convert_revision : svn%3Ac08ef5a1-5256-0410-90f3-e9b415652cf7/trunk%4010
Resolve issue #4. Add Dataset.PixelDataArray() to return NumPy array if numpy available, else Numeric array.

--HG--
extra : convert_revision : svn%3Ac08ef5a1-5256-0410-90f3-e9b415652cf7/trunk%4014
Added top() method to Dataset to display only top-level tag info (does not recurse into sequences).
>>> print ds.top()

--HG--
extra : convert_revision : svn%3Ac08ef5a1-5256-0410-90f3-e9b415652cf7/trunk%4015
Updated the DICOM dictionary to 2008 standards. Modified code to handle "repeaters" (tags with "x" in them) in a new way. They are stored as separate dict and a masking operation is used to match them.

--HG--
extra : convert_revision : svn%3Ac08ef5a1-5256-0410-90f3-e9b415652cf7/trunk%4016
Reorganized Files -- deleted old ones, moved ListBeams.py to examples, added csv2dict.py in new generate_dict folder.

--HG--
rename : source/dicom/ListBeams.py => source/dicom/examples/ListBeams.py
extra : convert_revision : svn%3Ac08ef5a1-5256-0410-90f3-e9b415652cf7/trunk%4017
Issue 8 fix -- filereader and filewriter support for a few missing VR types.

--HG--
extra : convert_revision : svn%3Ac08ef5a1-5256-0410-90f3-e9b415652cf7/trunk%4018
Added support for deflate transfer syntax on reading. To do this, needed to be able to do file operations on the string after decompression. So created new base class DicomIO, and derived DicomFile and DicomStringIO from it. Tested on files by hand, but still needs unittests.

Fixed bug where UT was not reading length correctly and thus getting out of step.

Added UID dictionary. Not doing anything with it yet, this is prep work for many different uses.

--HG--
extra : convert_revision : svn%3Ac08ef5a1-5256-0410-90f3-e9b415652cf7/trunk%4019
Enabled support for Explicit VR Big Endian, tested on sample image from barre.nom.fr/medical/samples/. Not in unittests yet (want smaller images for that since will go with packaged distribution).

--HG--
extra : convert_revision : svn%3Ac08ef5a1-5256-0410-90f3-e9b415652cf7/trunk%4020
Added logging to the package (__init__.py) (issue#12), and dicom.debug() function to turn debugging level on and off.
Used the logging in filereader.
Debugged problem with reading NM1_... SampleImages, VR=AT not reading multiple values. Not added to writer yet.
Debugged problem handling OB with undefined length. Now working.

--HG--
extra : convert_revision : svn%3Ac08ef5a1-5256-0410-90f3-e9b415652cf7/trunk%4021
Added small files to unittest suite -- replace CT and MR with smaller versions (sampled area of pixels).
Added interactive_session_downsize_image.txt which records how the downsize was done on the MR image.
Updated unit tests for these new images (JPEG2000 round trip still needs to be worked on -- need to be able to write delimited SQ if source file did so)
Added new util folder with some hex dumping abilities for debugging file writes and reads.
Fixed writer to write multi-valued AT attributes.

--HG--
extra : convert_revision : svn%3Ac08ef5a1-5256-0410-90f3-e9b415652cf7/trunk%4022
Added flags for undefined length items on read so they could be written out the same way.
Cleaned up code, changed delimiter items to special tag names to improve readability.

--HG--
extra : convert_revision : svn%3Ac08ef5a1-5256-0410-90f3-e9b415652cf7/trunk%4023
Reworked reading of 'undefined length' sequences and items completely -- discovered that the code did not work properly for nested sequences. Code now processes items until it finds the delimiter rather than seeking ahead for it, which works correctly.

--HG--
extra : convert_revision : svn%3Ac08ef5a1-5256-0410-90f3-e9b415652cf7/trunk%4024
Added sample dicom file which tests deflate zlib compression, and unit test for it.

--HG--
extra : convert_revision : svn%3Ac08ef5a1-5256-0410-90f3-e9b415652cf7/trunk%4025
Updated unit test files so they run properly stand-alone, or as part of the suite, even if run from some other directory.
Updated copyright/license notice in many files.

--HG--
extra : convert_revision : svn%3Ac08ef5a1-5256-0410-90f3-e9b415652cf7/trunk%4026
Correct version number in prep for release 0.9.1

--HG--
extra : convert_revision : svn%3Ac08ef5a1-5256-0410-90f3-e9b415652cf7/trunk%4027
Fix for issue#15, ReadFile failed on 64-bit systems. Added "=" to format character in struct.calcsize, else 64-bit computers do not use the 'standard' size.

--HG--
extra : convert_revision : svn%3Ac08ef5a1-5256-0410-90f3-e9b415652cf7/trunk%4034