Beispiel #1
0
 def test_correct_unit_conversion(self, material, json_file, attr,
                                  unit_val):
     dw = get_dw(material, json_file)
     check_unit_conversion(dw, attr, unit_val)
 def test_correct_unit_conversion(self, material, json_file, attr,
                                  unit_val):
     qpt_freqs = get_qpt_freqs(material, json_file)
     check_unit_conversion(qpt_freqs, attr, unit_val)
 def test_correct_unit_conversion(self, material, json_file, attr,
                                  unit_val):
     sf = get_sf(material, json_file)
     check_unit_conversion(sf, attr, unit_val)
Beispiel #4
0
 def test_correct_unit_conversion(self, spectrum2d_file, attr, unit_val):
     spec2d = get_spectrum2d(spectrum2d_file)
     check_unit_conversion(spec2d, attr, unit_val)
Beispiel #5
0
 def test_correct_unit_conversion(self, material, attr, unit_val):
     qpt_ph_modes = get_qpt_ph_modes(material)
     check_unit_conversion(qpt_ph_modes, attr, unit_val)
Beispiel #6
0
 def test_correct_unit_conversion(self, material, attr, unit_val):
     crystal = get_crystal(material)
     check_unit_conversion(crystal, attr, unit_val)
 def test_correct_unit_conversion(self, material, attr, unit_val):
     fc = get_fc(material)
     check_unit_conversion(fc, attr, unit_val)