| Methods |  | 
        
        |  | 
            |  | __del__ | 
        
        | 
__del__ ( self )
 Deallocation of C sequence struct. | 
            |  | __getitem__ | 
        
        | 
__getitem__ ( self,  index )
 Return an EmissionSequence object initialized with a reference to 
        sequence index. | 
            |  | __init__ | 
        
        | 
__init__ (
        self,
        emissionDomain,
        sequenceSetInput,
        labelDomain=None,
        labelInput=None,
        )
        
            | Exceptions |  |  
        | IOError, 'File ' + str( sequenceSetInput ) + ' not found.' NoValidCDataType, "C data type " + str( self.emissionDomain.CDataType ) + " invalid."
 UnknownInputType, "inputType " + str(type( sequenceSetInput ) ) + " not recognized."
 
 |  | 
            |  | __len__ | 
        
        | 
__len__ ( self )
 Return the number of sequences in the SequenceSet. | 
            |  | __str__ | 
        
        | 
__str__ ( self )
 Defines string representation. | 
            |  | getSeqLabel | 
        
        | 
getSeqLabel ( self,  index )
 | 
            |  | getSequence | 
        
        | 
getSequence ( self,  index )
 Returns the index-th sequence in internal representation 
        
            | Exceptions |  |  
        | IndexOutOfBounds( str( index ) + " is out of bounds, only " + str( self.cseq.seq_number ) + "sequences" ) 
 |  | 
            |  | getStateLabel | 
        
        | 
getStateLabel ( self,  index )
 Returns the labeling of the index-th sequence in internal representation 
        
            | Exceptions |  |  
        | IndexOutOfBounds( str( 0 ) + " is out of bounds, only " + str( self.cseq.seq_number ) + "labels" ) 
 |  | 
            |  | getSubset | 
        
        | 
getSubset ( self,  seqIndixes )
 Returns a SequenceSet containing (references to) the sequences with the indixes in
            seqIndixes. | 
            |  | getWeight | 
        
        | 
getWeight ( self,  i )
 Return the weight of sequence i. Weights are used in Baum-Welch | 
            |  | merge | 
        
        | 
merge ( self,  emissionSequences )
 Merge emisisonSequenceswithself.emisisonSequencescan either be an EmissionSequence or SequenceSet object. 
        
            | Exceptions |  |  
        | TypeError, "EmissionSequence or SequenceSet required, got " + str( emissionSequences.__class__.__name__ ) 
 |  | 
            |  | sequenceLength | 
        
        | 
sequenceLength ( self,  i )
 Return the lenght of sequence iin the SequenceSet | 
            |  | setSeqLabel | 
        
        | 
setSeqLabel (
        self,
        index,
        value,
        )
 | 
            |  | setWeight | 
        
        | 
setWeight (
        self,
        i,
        w,
        )
Return the weight of sequence i. Weights are used in Baum-Welch | 
            |  | write | 
        
        | 
write ( self,  fileName )
 Writes (appends) the SequenceSet into file fileName. |