repo stringlengths 2 99 | file stringlengths 13 225 | code stringlengths 0 18.3M | file_length int64 0 18.3M | avg_line_length float64 0 1.36M | max_line_length int64 0 4.26M | extension_type stringclasses 1
value |
|---|---|---|---|---|---|---|
thermo | thermo-master/tests/test_utils.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 2017, 2018 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Softw... | 8,863 | 57.315789 | 358 | py |
thermo | thermo-master/docs/conf.py | #
# thermo documentation build configuration file, created by
# sphinx-quickstart on Sat Jan 2 17:15:23 2016.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All configuration values h... | 11,870 | 30.571809 | 127 | py |
thermo | thermo-master/docs/plots/vapor_pressure_ethanol_5.py | from thermo import *
ethanol_psat = VaporPressure(Tb=351.39, Tc=514.0, Pc=6137000.0, omega=0.635, CASRN='64-17-5')
ethanol_psat.plot_T_dependent_property(Tmin=230, Tmax=500, methods=['VDI_TABULAR', 'DIPPR_PERRY_8E', 'AMBROSE_WALTON', 'VDI_PPDS', 'WAGNER_MCGARRY'], pts=50, only_valid=False, order=1)
| 301 | 59.4 | 184 | py |
thermo | thermo-master/docs/plots/SRK_a_alpha.py | from thermo import *
eos = SRK(Tc=507.6, Pc=3025000, omega=0.2975, T=400., P=1E6)
eos.a_alpha_plot(show=True, plot=True, Tmin=1.0)
| 132 | 25.6 | 60 | py |
thermo | thermo-master/docs/plots/SRK_Psat_error.py | from thermo import *
eos = SRK(Tc=507.6, Pc=3025000, omega=0.2975, T=400., P=1E6)
eos.Psat_errors(plot=True, show=True)
| 121 | 23.4 | 60 | py |
thermo | thermo-master/docs/plots/vapor_pressure_ethanol_6.py | from thermo import *
ethanol_psat = VaporPressure(Tb=351.39, Tc=514.0, Pc=6137000.0, omega=0.635, CASRN='64-17-5')
ethanol_psat.plot_T_dependent_property(Tmin=500, Tmax=525, methods=['VDI_TABULAR', 'DIPPR_PERRY_8E', 'AMBROSE_WALTON', 'VDI_PPDS', 'WAGNER_MCGARRY'], pts=50, only_valid=False, order=2)
| 301 | 59.4 | 184 | py |
thermo | thermo-master/docs/plots/PRTC_volume_error.py | from thermo import *
obj = PRTranslatedConsistent(Tc=190.564, Pc=4599000.0, omega=0.008, T=300., P=1e5)
obj.volume_errors(show=True, plot=True, pts=7)
| 152 | 29.6 | 82 | py |
thermo | thermo-master/docs/plots/viscosity_water_0.py | from thermo import *
water_psat = VaporPressure(Tb=373.124, Tc=647.14, Pc=22048320.0, omega=0.344, CASRN='7732-18-5')
water_mu = ViscosityLiquid(CASRN="7732-18-5", MW=18.01528, Tm=273.15, Tc=647.14, Pc=22048320.0,
Vc=5.6e-05, omega=0.344,method="DIPPR_PERRY_8E", Psat=water_psat,
... | 554 | 41.692308 | 114 | py |
thermo | thermo-master/docs/plots/vapor_pressure_ethanol_2.py | from thermo import *
ethanol_psat = VaporPressure(Tb=351.39, Tc=514.0, Pc=6137000.0, omega=0.635, CASRN='64-17-5')
methods = ['WAGNER_MCGARRY', 'DIPPR_PERRY_8E', 'COOLPROP'] if coolprop.has_CoolProp() else ['WAGNER_MCGARRY', 'DIPPR_PERRY_8E']
ethanol_psat.plot_T_dependent_property(Tmin=400, Tmax=500, methods=methods,... | 329 | 46.142857 | 127 | py |
thermo | thermo-master/docs/plots/vapor_pressure_ethanol_1.py | from thermo import *
ethanol_psat = VaporPressure(Tb=351.39, Tc=514.0, Pc=6137000.0, omega=0.635, CASRN='64-17-5')
ethanol_psat.plot_T_dependent_property(Tmin=300)
| 165 | 32.2 | 93 | py |
thermo | thermo-master/docs/plots/viscosity_water_1.py | from thermo import *
water_psat = VaporPressure(Tb=373.124, Tc=647.14, Pc=22048320.0, omega=0.344, CASRN='7732-18-5')
water_mu = ViscosityLiquid(CASRN="7732-18-5", MW=18.01528, Tm=273.15, Tc=647.14, Pc=22048320.0,
Vc=5.6e-05, omega=0.344,method="DIPPR_PERRY_8E", Psat=water_psat,
... | 402 | 43.777778 | 96 | py |
thermo | thermo-master/docs/plots/vapor_pressure_ethanol_3.py | from thermo import *
ethanol_psat = VaporPressure(Tb=351.39, Tc=514.0, Pc=6137000.0, omega=0.635, CASRN='64-17-5')
ethanol_psat.plot_T_dependent_property(Tmin=400, Tmax=500, methods=['BOILING_CRITICAL', 'SANJARI', 'LEE_KESLER_PSAT', 'VDI_TABULAR', 'DIPPR_PERRY_8E'], pts=50, order=1)
| 285 | 56.2 | 168 | py |
thermo | thermo-master/docs/plots/PR_maximum_pressure.py | from math import log10
import matplotlib.pyplot as plt
from fluids.numerics import logspace
from thermo import *
thing = PR(P=1e5, T=460, Tc=658.0, Pc=1820000.0, omega=0.9)
Ts = logspace(log10(1000), log10(2000000), 100)
Ps = []
for T in Ts:
try:
Ps.append(thing.to(T=T, V=thing.V_l).P)
except ValueE... | 519 | 21.608696 | 79 | py |
thermo | thermo-master/docs/plots/SRK_fugacity.py | from thermo import *
eos = SRK(Tc=507.6, Pc=3025000, omega=0.2975, T=400., P=1E6)
eos.saturation_prop_plot('fugacity', show=True, plot=True, Tmin=10, pts=1000, Tmax=eos.Tc*.9999999, both=True)
| 194 | 38 | 110 | py |
thermo | thermo-master/docs/plots/SRK_H_dep.py | from thermo import *
eos = SRK(Tc=507.6, Pc=3025000, omega=0.2975, T=400., P=1E6)
eos.saturation_prop_plot('H_dep', show=True, plot=True, Tmin=10, pts=1000, Tmax=eos.Tc*.9999999, both=True)
| 191 | 37.4 | 107 | py |
thermo | thermo-master/docs/plots/PRTC_PT_surface_special.py |
import matplotlib.pyplot as plt
from thermo import *
obj = PRTranslatedConsistent(Tc=190.564, Pc=4599000.0, omega=0.008, T=300., P=1e5)
fig = obj.PT_surface_special(show=False, pts=50)
plt.show()
| 199 | 21.222222 | 82 | py |
thermo | thermo-master/docs/plots/vapor_pressure_ethanol_4.py | from thermo import *
ethanol_psat = VaporPressure(Tb=351.39, Tc=514.0, Pc=6137000.0, omega=0.635, CASRN='64-17-5')
methods = ['VDI_TABULAR', 'DIPPR_PERRY_8E', 'COOLPROP'] if coolprop.has_CoolProp() else ['VDI_TABULAR', 'DIPPR_PERRY_8E']
ethanol_psat.plot_T_dependent_property(Tmin=1, Tmax=300, methods=methods, pts=50,... | 339 | 47.571429 | 121 | py |
thermo | thermo-master/docs/plots/viscosity_water_2.py | from thermo import *
water_psat = VaporPressure(Tb=373.124, Tc=647.14, Pc=22048320.0, omega=0.344, CASRN='7732-18-5')
water_mu = ViscosityLiquid(CASRN="7732-18-5", MW=18.01528, Tm=273.15, Tc=647.14, Pc=22048320.0,
Vc=5.6e-05, omega=0.344,method="DIPPR_PERRY_8E", Psat=water_psat,
... | 400 | 43.555556 | 96 | py |
thermo | thermo-master/dev/dump_twu_Ian_Bell_2018.py | """Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2022, Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without... | 3,208 | 34.655556 | 119 | py |
thermo | thermo-master/dev/henry_parameters_from_CEOS.py | 1 | 0 | 0 | py | |
thermo | thermo-master/dev/dump_twu_2021.py | """Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2021, Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without... | 3,981 | 29.396947 | 166 | py |
thermo | thermo-master/dev/dump_chemsep_model_parameters.py | """Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2022, Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without... | 4,456 | 30.835714 | 191 | py |
thermo | thermo-master/dev/prerelease.py | """Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2022, Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without... | 2,355 | 38.266667 | 113 | py |
thermo | thermo-master/dev/dump_UNIFAC_assignments_to_sqlite.py | """Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2022, Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without... | 3,072 | 33.144444 | 105 | py |
thermo | thermo-master/thermo/base.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2021 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without ... | 1,608 | 40.25641 | 79 | py |
thermo | thermo-master/thermo/numba.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2020, Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without... | 14,931 | 42.917647 | 122 | py |
thermo | thermo-master/thermo/eos.py | r'''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 2017, 2018, 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal... | 469,230 | 41.86389 | 5,725 | py |
thermo | thermo-master/thermo/thermal_conductivity.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 2017, 2018, 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
... | 60,800 | 40.701646 | 203 | py |
thermo | thermo-master/thermo/stream.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2017, 2018, 2019 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Softw... | 98,415 | 34.670895 | 323 | py |
thermo | thermo-master/thermo/law.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 2017, 2018, 2019 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the... | 14,489 | 39.027624 | 213 | py |
thermo | thermo-master/thermo/chemical.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 2017, 2018, 2019 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the... | 122,650 | 36.762007 | 269 | py |
thermo | thermo-master/thermo/phase_identification.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software wi... | 40,650 | 37.134146 | 618 | py |
thermo | thermo-master/thermo/vapor_pressure.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 2017, 2018, 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
... | 34,108 | 41.796738 | 227 | py |
thermo | thermo-master/thermo/regular_solution.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software wi... | 32,128 | 33.034958 | 181 | py |
thermo | thermo-master/thermo/datasheet.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 2017, 2018, 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
... | 11,056 | 32.10479 | 113 | py |
thermo | thermo-master/thermo/functional_groups.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2022 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without ... | 86,815 | 28.589639 | 149 | py |
thermo | thermo-master/thermo/eos_volume.py | r'''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 2017, 2018, 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal... | 62,315 | 36.836066 | 173 | py |
thermo | thermo-master/thermo/chemical_utils.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without... | 5,212 | 34.951724 | 94 | py |
thermo | thermo-master/thermo/chemical_package.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, 2020, 2021 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Softw... | 96,064 | 49.801163 | 618 | py |
thermo | thermo-master/thermo/bulk.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, 2020, 2021 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Softw... | 58,019 | 35.675095 | 129 | py |
thermo | thermo-master/thermo/units.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2017, 2018, 2019 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Softw... | 3,026 | 38.828947 | 108 | py |
thermo | thermo-master/thermo/wilson.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software wi... | 65,674 | 35.792717 | 396 | py |
thermo | thermo-master/thermo/volume.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 2017, 2018, 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
... | 81,847 | 38.521004 | 212 | py |
thermo | thermo-master/thermo/mixture.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2017, 2018, 2019 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Softw... | 124,953 | 35.643402 | 239 | py |
thermo | thermo-master/thermo/unifac.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2017, 2018, 2019, 2020, 2021, 2022
Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), t... | 348,834 | 43.111659 | 1,126 | py |
thermo | thermo-master/thermo/property_package.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2017, 2018, 2019 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Softw... | 68,407 | 47.793153 | 160 | py |
thermo | thermo-master/thermo/uniquac.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software wi... | 71,815 | 35.603466 | 442 | py |
thermo | thermo-master/thermo/activity.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 2017, 2018, 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
... | 39,939 | 30.033411 | 145 | py |
thermo | thermo-master/thermo/fitting.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without ... | 32,814 | 37.156977 | 134 | py |
thermo | thermo-master/thermo/electrochem.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 2017, 2018, 2019 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the... | 62,567 | 33.81803 | 331 | py |
thermo | thermo-master/thermo/eos_mix_methods.py | r'''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2020, 2021 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software w... | 52,493 | 34.44497 | 247 | py |
thermo | thermo-master/thermo/database.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2018, 2019 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software wi... | 7,335 | 34.960784 | 99 | py |
thermo | thermo-master/thermo/vectorized.py | """Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2021, Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without... | 3,185 | 35.62069 | 80 | py |
thermo | thermo-master/thermo/heat_capacity.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 2017, 2018, 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
... | 86,545 | 42.665994 | 178 | py |
thermo | thermo-master/thermo/__init__.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 2017, 2018, 2019, 2020, 2021 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to... | 11,377 | 37.053512 | 113 | py |
thermo | thermo-master/thermo/interaction_parameters.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2017, 2018, 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the... | 20,591 | 32.812808 | 137 | py |
thermo | thermo-master/thermo/eos_alpha_functions.py | # pylint: disable=E1101
r'''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2018, 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Softwar... | 104,923 | 39.985938 | 739 | py |
thermo | thermo-master/thermo/interface.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 207, 2018, 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
i... | 29,487 | 41.367816 | 207 | py |
thermo | thermo-master/thermo/permittivity.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 2017, 2018, 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
... | 9,525 | 38.201646 | 187 | py |
thermo | thermo-master/thermo/phase_change.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 2017, 2018, 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
... | 34,045 | 43.446475 | 201 | py |
thermo | thermo-master/thermo/equilibrium.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software wi... | 107,220 | 29.881624 | 325 | py |
thermo | thermo-master/thermo/serialize.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2021 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without ... | 6,419 | 30.470588 | 90 | py |
thermo | thermo-master/thermo/eos_mix.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 2017, 2018, 2019, 2020, 2021
Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to... | 423,900 | 35.480293 | 1,710 | py |
thermo | thermo-master/thermo/coolprop.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 2017, 2018, 2019 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the... | 75,648 | 38.277778 | 1,238 | py |
thermo | thermo-master/thermo/viscosity.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 2017, 2018, 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
... | 64,077 | 41.018361 | 248 | py |
thermo | thermo-master/thermo/test_utils.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without... | 4,702 | 40.991071 | 98 | py |
thermo | thermo-master/thermo/nrtl.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 2017, 2018, 2019, 2020, 2021 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to... | 70,983 | 32.641706 | 169 | py |
thermo | thermo-master/thermo/phases/phase_utils.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software wi... | 4,959 | 39.991736 | 96 | py |
thermo | thermo-master/thermo/phases/virial_phase.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software wi... | 102,080 | 37.161121 | 910 | py |
thermo | thermo-master/thermo/phases/petroleum.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software wi... | 5,867 | 33.116279 | 125 | py |
thermo | thermo-master/thermo/phases/ceos.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, 2020, 2021, 2022 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the... | 38,125 | 31.146712 | 189 | py |
thermo | thermo-master/thermo/phases/air_phase.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software wi... | 8,574 | 35.489362 | 87 | py |
thermo | thermo-master/thermo/phases/phase.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, 2020, 2021 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Softw... | 189,392 | 29.936459 | 281 | py |
thermo | thermo-master/thermo/phases/iapws_phase.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software wi... | 20,014 | 30.273438 | 124 | py |
thermo | thermo-master/thermo/phases/ideal_gas.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software wi... | 22,443 | 28.26206 | 402 | py |
thermo | thermo-master/thermo/phases/helmholtz_eos.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software wi... | 19,078 | 27.995441 | 201 | py |
thermo | thermo-master/thermo/phases/__init__.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software wi... | 8,227 | 32.447154 | 152 | py |
thermo | thermo-master/thermo/phases/gibbs_excess.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software wi... | 132,084 | 37.757336 | 156 | py |
thermo | thermo-master/thermo/phases/coolprop_phase.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software wi... | 17,165 | 32.658824 | 119 | py |
thermo | thermo-master/thermo/phases/combined.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software wi... | 4,766 | 37.443548 | 85 | py |
thermo | thermo-master/thermo/phases/gibbs_eos.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2022 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without ... | 1,266 | 41.233333 | 79 | py |
thermo | thermo-master/thermo/group_contribution/joback.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2017, 2018, 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the... | 39,908 | 39.64053 | 308 | py |
thermo | thermo-master/thermo/group_contribution/group_contribution_base.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2017, 2018, 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the... | 17,044 | 34.733753 | 154 | py |
thermo | thermo-master/thermo/group_contribution/fedors.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2022 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without ... | 6,922 | 36.22043 | 115 | py |
thermo | thermo-master/thermo/group_contribution/wilson_jasperson.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2022 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without ... | 10,503 | 30.543544 | 106 | py |
thermo | thermo-master/thermo/group_contribution/__init__.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2022 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without ... | 2,198 | 42.98 | 105 | py |
thermo | thermo-master/thermo/utils/mixture_property.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 2017, 2018, 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
... | 33,668 | 38.89218 | 127 | py |
thermo | thermo-master/thermo/utils/tp_dependent_property.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 2017, 2018, 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
... | 35,598 | 41.32937 | 165 | py |
thermo | thermo-master/thermo/utils/functional.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 2017, 2018, 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
... | 22,285 | 37.557093 | 252 | py |
thermo | thermo-master/thermo/utils/names.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2023 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without ... | 1,843 | 36.632653 | 79 | py |
thermo | thermo-master/thermo/utils/__init__.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 2017, 2018, 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
... | 4,709 | 39.956522 | 100 | py |
thermo | thermo-master/thermo/utils/t_dependent_property.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 2017, 2018, 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
... | 226,414 | 47.265828 | 266 | py |
thermo | thermo-master/thermo/flash/flash_vln.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software wi... | 31,931 | 48.126154 | 312 | py |
thermo | thermo-master/thermo/flash/flash_vl.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software wi... | 48,116 | 44.608531 | 180 | py |
thermo | thermo-master/thermo/flash/flash_base.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, 2020, 2021, 2022 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the... | 75,118 | 39.278284 | 203 | py |
thermo | thermo-master/thermo/flash/flash_pure_vls.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software wi... | 64,776 | 43.428669 | 230 | py |
thermo | thermo-master/thermo/flash/__init__.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software wi... | 2,774 | 34.576923 | 116 | py |
thermo | thermo-master/thermo/flash/flash_utils.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software wi... | 199,671 | 36.659751 | 228 | py |
FeatureRE | FeatureRE-main/reverse_engineering.py | import torch
from torch import Tensor, nn
import torchvision
import os
import numpy as np
from resnet_nole import *
from models import meta_classifier_cifar10_model,lenet,ULP_model,preact_resnet
import torch.nn.functional as F
import unet_model
import random
import pilgram
from PIL import Image
from functools import r... | 19,453 | 35.914611 | 239 | py |
FeatureRE | FeatureRE-main/unet_blocks.py | """
Class definitions for a standard U-Net Up-and Down-sampling blocks
http://arxiv.org/abs/1505.0.397
"""
import torch
import torch.nn as nn
import torch.nn.functional as F
class EncoderBlock(nn.Module):
"""
Instances the Encoder block that forms a part of a U-Net
Parameters:
in_channels (int): D... | 12,064 | 43.356618 | 130 | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.