Class: module:models/series

module:models/series()

new module:models/series()

Models series constructor
Source:

Members

modality

Modality setter
Source:

modality

Modality getter
Source:

numberOfChannels

Number of channels setter
Source:

numberOfChannels

Number of channels getter
Source:

numberOfFrames

Number of frames setter
Source:

numberOfFrames

Number of frames getter
Source:

patientAge

Patient age setter
Source:

patientAge

Patient age getter
Source:

patientBirthdate

Patient birthdate setter
Source:

patientBirthdate

Patient birthdate getter
Source:

patientID

Patient ID setter
Source:

patientID

Patient ID getter
Source:

patientName

Patient name setter
Source:

patientName

Patient name getter
Source:

patientSex

Patient sex setter
Source:

patientSex

Patient sex getter
Source:

rawHeader

Raw Header setter
Source:

rawHeader

Raw Header getter
Source:

segmentationSegments

Segmentation segments setter
Source:

segmentationSegments

Segmentation segments getter
Source:

segmentationType

Segmentation type setter
Source:

segmentationType

Segmentation type getter
Source:

seriesDate

Series date setter
Source:

seriesDate

Series date getter
Source:

seriesDescription

Series descripition setter
Source:

seriesDescription

Series description getter
Source:

seriesInstanceUID

Series instance UID setter
Source:

seriesInstanceUID

Series instace UID getter
Source:

stack

Stack setter
Source:

stack

Stack getter
Source:

studyDate

Study date setter
Source:

studyDate

Study date getter
Source:

studyDescription

Study descripition setter
Source:

studyDescription

Study description getter
Source:

transferSyntaxUID

Transfer syntax UID setter
Source:

transferSyntaxUID

Transfer syntax UID getter
Source:

transferSyntaxUIDLabel

Transfer syntax UID getter
Source:

Methods

merge(series) → {boolean}

Merge current series with provided series. 2 series can ONLY be merge if they have the same SeriesInstanceUID. Also merges the stacks inside a series.
Parameters:
Name Type Description
series ModelsSeries Series to be merged against current series.
Source:
Returns:
True if series could be merge. False if not.
Type
boolean

mergeSeries(target) → {Array.<ModelsSeries>}

Merge current series with provided array of series. 2 series can ONLY be merge if they have the same SeriesInstanceUID. Also merges the stacks inside a series.
Parameters:
Name Type Description
target Array.<ModelsSeries> Series to be merged against current series.
Source:
Returns:
Array of series properly merged.
Type
Array.<ModelsSeries>

validate(model) → {boolean}

Validate a series. Requirements: - mergeSeries method - _seriesInstanceUID - _numberOfFrames - _numberOfChannels _ _stack
Parameters:
Name Type Description
model ModelsSeries Model to be validated as series.
Source:
Returns:
True if series is valid. False if not.
Type
boolean