def filter_gaussian(self,sigmaMs=<NUM_LIT:100>,applyFiltered=False,applyBaseline=False):
if sigmaMs==<NUM_LIT:0>:<EOL><INDENT>return self.dataY<EOL><DEDENT>filtered=cm.filter_gaussian(self.dataY,sigmaMs)<EOL>if applyBaseline:<EOL><INDENT>self.dataY=self.dataY-filtered<EOL><DEDENT>elif applyFiltered:<EOL><INDENT>self.dataY=filtered<EOL><DEDENT>else:<EOL><INDENT>return filtered<EOL><DEDENT>
RETURNS filtered trace. Desn't filter it in place.