def load_nist_cross_section(self, filename):
    ' Load nist data file of differential elastic scattering profile.\n        Input:\n            filename: filename of csv data from nist database\n        Returns:\n            cross_section_y: given cross section in range -90 to 90 deg '
    filepath = ((os.path.dirname(os.path.abspath(__file__)).partition('controller')[0] + '\\data\\NIST cross sections\\') + filename)
    data = np.genfromtxt(filepath, skip_header=10, delimiter=',')
    self.cross_section_y = self._convert_nist_data(data)
    self.cross_section_x = np.arange((- 90), 90, 1)
    return self.cross_section_y
Load nist data file of differential elastic scattering profile.
Input:
    filename: filename of csv data from nist database
Returns:
    cross_section_y: given cross section in range -90 to 90 deg
def load_nist_cross_section(self, filename):
    ' Load nist data file of differential elastic scattering profile.\n        Input:\n            filename: filename of csv data from nist database\n        Returns:\n            cross_section_y: given cross section in range -90 to 90 deg '
    filepath = ((os.path.dirname(os.path.abspath(__file__)).partition('controller')[0] + '\\data\\NIST cross sections\\') + filename)
    data = np.genfromtxt(filepath, skip_header=10, delimiter=',')
    self.cross_section_y = self._convert_nist_data(data)
    self.cross_section_x = np.arange((- 90), 90, 1)
    return self.cross_section_y