Commits

Britton Smith committed 369e7d2

Added He SD93 ion balance data and fixed up ascii to hdf5 convert function.

  • Participants
  • Parent commits 408e413

Comments (0)

Files changed (3)

convert_SD93_tables.py

-import IonBalance as IB
+import SD93IonBalance as IB
 import numpy as na
 import string
 import h5py
 for file in ascii_files:
     prefix = file.find("_ion_balance.txt")
     if prefix > 0:
-        i_table = IB.IonBalanceTable(file, input='ascii')
+        i_table = IB.SD93IonBalanceTable(file)
         element = file[prefix-2:prefix]
         if not element[0].isalpha(): element = element[1]
         element = string.capitalize(element)

tables/SD93_he_ion_balance.txt

+#log(T),I,II,III
+4.00,0.000,7.000,7.000
+4.05,0.000,7.000,7.000
+4.10,0.000,6.095,7.000
+4.15,0.000,4.960,7.000
+4.20,0.000,3.941,7.000
+4.25,0.000,3.025,7.000
+4.30,0.003,2.204,7.000
+4.35,0.015,1.474,7.000
+4.40,0.065,0.855,7.000
+4.45,0.218,0.404,7.000
+4.50,0.517,0.157,5.779
+4.55,0.910,0.057,4.676
+4.60,1.319,0.021,3.741
+4.65,1.704,0.009,2.920
+4.70,2.045,0.007,2.190
+4.75,2.332,0.015,1.544
+4.80,2.572,0.048,0.987
+4.85,2.804,0.144,0.551
+4.90,3.085,0.340,0.265
+4.95,3.427,0.627,0.117
+5.00,3.789,0.956,0.051
+5.05,4.161,1.287,0.023
+5.10,4.514,1.601,0.011
+5.15,4.847,1.893,0.006
+5.20,5.151,2.161,0.003
+5.25,5.457,2.408,0.002
+5.30,5.738,2.636,0.001
+5.35,6.001,2.841,0.001
+5.40,6.257,3.037,0.000
+5.45,6.499,3.216,0.000
+5.50,6.730,3.381,0.000
+5.55,6.952,3.535,0.000
+5.60,7.000,3.678,0.000
+5.65,7.000,3.811,0.000
+5.70,7.000,3.937,0.000
+5.75,7.000,4.054,0.000
+5.80,7.000,4.165,0.000
+5.85,7.000,4.269,0.000
+5.90,7.000,4.368,0.000
+5.95,7.000,4.462,0.000
+6.00,7.000,4.552,0.000
+6.05,7.000,4.637,0.000
+6.10,7.000,4.719,0.000
+6.15,7.000,4.798,0.000
+6.20,7.000,4.873,0.000
+6.25,7.000,4.946,0.000
+6.30,7.000,5.016,0.000
+6.35,7.000,5.084,0.000
+6.40,7.000,5.150,0.000
+6.45,7.000,5.215,0.000
+6.50,7.000,5.277,0.000
+6.55,7.000,5.338,0.000
+6.60,7.000,5.397,0.000
+6.65,7.000,5.455,0.000
+6.70,7.000,5.512,0.000
+6.75,7.000,5.567,0.000
+6.80,7.000,5.620,0.000
+6.85,7.000,5.672,0.000
+6.90,7.000,5.722,0.000
+6.95,7.000,5.853,0.000
+7.00,7.000,5.908,0.000
+7.05,7.000,5.963,0.000
+7.10,7.000,6.017,0.000
+7.15,7.000,6.070,0.000
+7.20,7.000,6.123,0.000
+7.25,7.000,6.174,0.000
+7.30,7.000,6.225,0.000
+7.35,7.000,6.275,0.000
+7.40,7.000,6.325,0.000
+7.45,7.000,6.373,0.000
+7.50,7.000,6.433,0.000
+7.55,7.000,6.487,0.000
+7.60,7.000,6.541,0.000
+7.65,7.000,6.595,0.000
+7.70,7.000,6.649,0.000
+7.75,7.000,6.704,0.000
+7.80,7.000,6.759,0.000
+7.85,7.000,6.814,0.000
+7.90,7.000,6.870,0.000
+7.95,7.000,6.926,0.000
+8.00,7.000,6.982,0.000
+8.05,7.000,7.000,0.000
+8.10,7.000,7.000,0.000
+8.15,7.000,7.000,0.000
+8.20,7.000,7.000,0.000
+8.25,7.000,7.000,0.000
+8.30,7.000,7.000,0.000
+8.35,7.000,7.000,0.000
+8.40,7.000,7.000,0.000
+8.45,7.000,7.000,0.000
+8.50,7.000,7.000,0.000

tables/SD93_ion_balance.h5

Binary file modified.