def IgnoreRegions(self, region):
        if not isinstance(region, list) or len(region) == 0:
            raise TypeError("Must give a non-empty list to TelluricFitter.IgnoreRegions")

        if isinstance(region[0], list):
            #The user gave a list of lists. Append each one to self.ignore
            for r in region:
                self.ignore.append(r)
        elif isinstance(region[0], int):
            #The user gave a single region. Append to self.ignore
            self.ignore.append(region)
        else:
            raise TypeError("Unrecognized variable type for region given in TelluricFitter.IgnoreRegions")

        return


    ### -----------------------------------------------
    ###         Main Fit Function!
    ### -----------------------------------------------
Tells the fitter to ignore certain regions of the spectrum
dataset/ETHPy150Open kgullikson88/Telluric-Fitter/src/TelluricFitter.py/TelluricFitter.IgnoreRegions