def __init__(self, fm):
        """
        Creates a new FixGen object upon a certain fixmat
        
        Parameters: 
            fm: ocupy.fixmat
                The fixation data to replicate in fixmat format.
        """
        if type(fm)==ocupy.fixmat.FixMat or type(fm)==ocupy.datamat.Datamat:
            self.fm = fm
        else:
            raise TypeError("Not a valid argument, insert fixmat")

        self.nosamples = []
def __init__ ( self , fm ) : if type ( fm ) == ocupy . fixmat . FixMat or type ( fm ) == ocupy . datamat . Datamat : self . fm = fm else : raise TypeError ( "Not a valid argument, insert fixmat" ) self . nosamples = [ ]
Creates a new FixGen object upon a certain fixmat
        
        Parameters: 
            fm: ocupy.fixmat
                The fixation data to replicate in fixmat format.