Skip to content

Commit 72c7bd8

Browse files
committed
Merge branch 'update-to-v0.2'
2 parents 60df482 + e81876b commit 72c7bd8

File tree

3 files changed

+159
-126
lines changed

3 files changed

+159
-126
lines changed

doc/source/usage.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Every data element has a tag indicating its purpose. Tags are 32-bit
1313
unsigned ints with the top 16 bits indicating the group and the bottom 16 the
1414
element. They are usually written in hexadecimal, perhaps 0x00400554, meaning
1515
element 0x554 of group 0x40, or as keywords, in this case `SpecimenUID`. You
16-
can get tags from their keyword with :c:func:`dcm_dict_tag_from_keyword()`,
16+
can get the tag from its corresponding keyword with :c:func:`dcm_dict_tag_from_keyword()`,
1717
or find the keyword from a tag with :c:func:`dcm_dict_keyword_from_tag()`.
1818

1919
Every Data Element has a `Value Representation (VR)
@@ -35,12 +35,12 @@ Depending on the VR, an individual Data
3535
Element may have a `Value Multiplicity (VM)
3636
<http://dicom.nema.org/medical/dicom/current/output/chtml/part05/sect_6.4.html>`_
3737
greater than one, i.e., contain more than one value. Under the hood,
38-
a Data Element thus generally contains an array of values.
38+
a Data Element may thus contain an array of values.
3939

4040
A Data Element can be created with :c:func:`dcm_element_create()`, it can have
4141
a value assigned to it with eg.
4242
:c:func:`dcm_element_set_value_integer()`, and it can be destroyed with
43-
:c:func:`dcm_element_destroy()`. See MEMORY MANAGEMENT below for details on
43+
:c:func:`dcm_element_destroy()`. See `Memory management <Memory Management_>`_ below for details on
4444
pointer ownership.
4545

4646
An individual value can be retrieved via the getter functions like
@@ -190,12 +190,12 @@ sequence as the value of an element like this:
190190
}
191191
192192
If this function succeeeds, ownership of the sequence object passes to the
193-
element, ie. when the element is destroyed, the sequence will also be
193+
element, i.e., when the element is destroyed, the sequence will also be
194194
destroyed.
195195

196196
If this function fails, ownership does not transfer.
197197

198-
libdicom objects can also contain references to datastructures allocated by
198+
libdicom objects can also contain references to data structures allocated by
199199
other programs, for example, arrays of numeric values.
200200

201201
.. code-block:: c

0 commit comments

Comments
 (0)