def ImportData(self, data):
        if not isinstance(data, DataStructures.xypoint):
            raise TypeError("ImportData Error! Given data is not a DataStructures.xypoint structure!")
        tmp = data.copy()
        self.xunits = u.nm
        if isinstance(tmp.x, u.quantity.Quantity):
            self.xunits = tmp.x.unit
            tmp.x = tmp.x.to(u.nm).value
        self.data = tmp
        return


    ### -----------------------------------------------
Gets the component container iterator for going trough all
dataset/ETHPy150Open kgullikson88/Telluric-Fitter/src/TelluricFitter.py/TelluricFitter.ImportData--crossover with--dataset/ETHPy150Open rwl/muntjac/muntjac/ui/custom_layout.py/CustomLayout.getComponentIterator