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 |
|---|---|---|---|---|---|---|
imsrg | imsrg-master/src/pybind11/tests/test_numpy_array.py | import pytest
pytestmark = pytest.requires_numpy
with pytest.suppress(ImportError):
import numpy as np
@pytest.fixture(scope='function')
def arr():
return np.array([[1, 2, 3], [4, 5, 6]], '=u2')
def test_array_attributes():
from pybind11_tests.array import (
ndim, shape, strides, writeable, si... | 16,119 | 35.972477 | 99 | py |
imsrg | imsrg-master/src/pybind11/tests/test_embed/test_interpreter.py | from widget_module import Widget
class DerivedWidget(Widget):
def __init__(self, message):
super(DerivedWidget, self).__init__(message)
def the_answer(self):
return 42
| 195 | 18.6 | 52 | py |
imsrg | imsrg-master/src/pybind11/tests/test_cmake_build/test.py | import sys
import test_cmake_build
assert test_cmake_build.add(1, 2) == 3
print("{} imports, runs, and adds: 1 + 2 = 3".format(sys.argv[1]))
| 142 | 22.833333 | 66 | py |
imsrg | imsrg-master/src/pybind11/docs/benchmark.py | import random
import os
import time
import datetime as dt
nfns = 4 # Functions per class
nargs = 4 # Arguments per function
def generate_dummy_code_pybind11(nclasses=10):
decl = ""
bindings = ""
for cl in range(nclasses):
decl += "class cl%03i;\n" % cl
decl += '\n'
for cl in range(ncl... | 2,920 | 31.820225 | 123 | py |
imsrg | imsrg-master/src/pybind11/docs/conf.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# pybind11 documentation build configuration file, created by
# sphinx-quickstart on Sun Oct 11 19:23:48 2015.
#
# 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
# a... | 10,618 | 30.888889 | 79 | py |
imsrg | imsrg-master/work/scripts/goUniversal.py | #!/usr/bin/env python
##########################################################################
## goUniversal.py
##
## A python script to run or submit jobs for the common use cases
## of the IMSRG++ code. We check whether there is a pbs or slurm
## scheduler, assign the relevant input parameters, set names
## ... | 7,640 | 37.590909 | 253 | py |
imsrg | imsrg-master/work/scripts/python/GetNormalOrderedH.py | #!/usr/bin/env python
##################################################################
# GetNormalOrderedH.py
# Loads pyIMSRG.so library, whic is included in the
# imsrg package: https://github.com/ragnarstroberg/imsrg
# It reads a NN+3N interaction, optionally does a spherical
# Hartree-Fock calculatio... | 4,526 | 32.043796 | 91 | py |
Remedy | Remedy-master/get_skysub_files.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu May 14 09:48:10 2020
@author: gregz
"""
import tables
import sys
import numpy as np
from astropy.io import fits
filename = sys.argv[1]
t = tables.open_file(filename)
specid = t.root.Info.cols.specid[:]
spectra = t.root.Fibers.cols.spectrum[:] * 2.
us... | 773 | 23.1875 | 76 | py |
Remedy | Remedy-master/ryota_plot.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri Sep 13 09:29:15 2019
@author: gregz
"""
from astroquery.sdss import SDSS
from astropy.table import Table
import matplotlib.pyplot as plt
from matplotlib.ticker import MultipleLocator
import seaborn as sns
import numpy as np
import matplotlib
from table... | 1,930 | 30.655738 | 85 | py |
Remedy | Remedy-master/astrometry.py | # -*- coding: utf-8 -*-
"""
@author: gregz
"""
import logging
import sys
from astropy import wcs
from numpy import cos, sin, deg2rad
try:
from pyhetdex.het.fplane import FPlane
pyhetdex_flag = True
except:
print('Could not find fplane class in pyhetdex.')
print('Please check your pyhetdex installati... | 7,586 | 36.746269 | 79 | py |
Remedy | Remedy-master/build_remedy_call_for_date.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Aug 1 14:47:05 2019
@author: gregz
"""
import glob
import os.path as op
import sys
import tarfile
import numpy as np
from astropy.io import fits
rootdir = '/work/03946/hetdex/maverick'
inst = 'virus'
date = sys.argv[1]
cal = sys.argv[2]
target =... | 2,085 | 26.447368 | 83 | py |
Remedy | Remedy-master/full_reduction.py | # -*- coding: utf-8 -*-
"""
Created on Tue Jan 22 15:11:39 2019
@author: gregz
"""
import argparse as ap
import glob
import numpy as np
import os.path as op
import sys
import warnings
from astrometry import Astrometry
from astropy.convolution import convolve, Gaussian2DKernel
from astropy.io import fits
from astropy... | 16,590 | 34.67957 | 78 | py |
Remedy | Remedy-master/calibration_plots.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Oct 16 09:40:02 2019
@author: gregz
"""
import matplotlib
matplotlib.use("agg")
import sys
import os.path as op
import numpy as np
from tables import open_file
from math_utils import biweight
import matplotlib.pyplot as plt
from matplotlib.ticker imp... | 1,749 | 27.225806 | 71 | py |
Remedy | Remedy-master/investigate_amp_cal.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jun 3 12:54:50 2020
@author: gregz
"""
import tables
import numpy as np
from fiber_utils import get_powerlaw, get_spectra, get_spectra_error
import sys
from astropy.io import fits
import warnings
from scipy.interpolate import interp1d
from astropy.con... | 5,627 | 38.356643 | 113 | py |
Remedy | Remedy-master/get_ra_dec_spectra_from_h5.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Oct 8 11:14:33 2020
@author: gregz
"""
import tables
import sys
from astropy.io import fits
from astropy.table import Table
import os.path as op
import numpy as np
import subprocess
filename = sys.argv[1]
base = '/work2/00115/gebhardt/maverick/gett... | 1,836 | 28.15873 | 74 | py |
Remedy | Remedy-master/reduce_virusw.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed May 12 10:04:09 2021
@author: gregz
"""
import glob
import numpy as np
import os.path as op
import sys
import warnings
from astropy.convolution import convolve, Box1DKernel
from astropy.io import fits
from astropy.stats import sigma_clip
from astropy.s... | 23,260 | 36.039809 | 86 | py |
Remedy | Remedy-master/fiber_utils.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Mon Aug 5 13:36:42 2019
@author: gregz
"""
import glob
import numpy as np
import os.path as op
import tarfile
import warnings
from astropy.io import fits
from math_utils import biweight
from datetime import datetime
from scipy.interpolate import interp2d... | 36,439 | 34.6905 | 146 | py |
Remedy | Remedy-master/extract.py | #!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Created on Mon Mar 11 11:48:55 2019
@author: gregz
"""
import numpy as np
from astropy.convolution import Gaussian2DKernel, convolve
from astropy.modeling.models import Moffat2D, Gaussian2D
from input_utils import setup_logging
from scipy.interpolate import griddata... | 22,625 | 37.090909 | 91 | py |
Remedy | Remedy-master/create_catalog.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Oct 6 09:22:00 2020
@author: gregz
"""
import glob
import numpy as np
import os
import os.path as op
import psutil
import subprocess
import sys
import tables
import tarfile
from astropy.coordinates import SkyCoord, EarthLocation
from astropy.io import... | 12,567 | 36.741742 | 137 | py |
Remedy | Remedy-master/reduce_virusp.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed May 12 10:04:09 2021
@author: gregz
"""
import argparse as ap
import glob
import numpy as np
import os.path as op
import sys
import warnings
from astropy.convolution import convolve, Box1DKernel
from astropy.io import fits
from astropy.stats import sig... | 27,794 | 35.961436 | 92 | py |
Remedy | Remedy-master/create_cal_hdf5.py | # -*- coding: utf-8 -*-
"""
Created on Wed Nov 29 09:52:35 2017
@author: gregz
"""
import glob
import tables as tb
import argparse as ap
import os.path as op
from astropy.io import fits
from input_utils import setup_logging
def build_path(reduction_folder, instr, date, obsid, expn):
folder = op.join(date, inst... | 3,580 | 30.13913 | 75 | py |
Remedy | Remedy-master/get_objects.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Aug 1 14:47:05 2019
@author: gregz
"""
import glob
import os.path as op
import sys
import tarfile
from astropy.io import fits
rootdir = '/work/03946/hetdex/maverick'
date = sys.argv[1]
inst = sys.argv[2]
if inst == 'hpf':
tarfolders = sorted(... | 3,413 | 33.484848 | 86 | py |
Remedy | Remedy-master/quick_reduction.py | # -*- coding: utf-8 -*-
"""
Created on Tue Jan 22 15:11:39 2019
@author: gregz
"""
import matplotlib
matplotlib.use('agg')
import argparse as ap
import astropy.units as units
import fnmatch
import glob
import matplotlib.pyplot as plt
import numpy as np
import os
import gc
import os.path as op
import seaborn as sns
i... | 114,384 | 36.295403 | 103 | py |
Remedy | Remedy-master/catalog_search.py | # -*- coding: utf-8 -*-
"""
Created on Tue Dec 5 09:28:59 2017
@author: gregz
"""
try:
import httplib
except:
import httplib2 as httplib
import json
import sys
import warnings
import requests
import uuid
import os
import numpy as np
from astropy import units as u
from astropy.coordinates import SkyCoord
fr... | 6,670 | 29.322727 | 101 | py |
Remedy | Remedy-master/make_call_for_unfinished_calls.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Mon Apr 17 10:26:20 2023
@author: gregz
"""
import os
import glob
import os.path as op
import numpy as np
call_str = 'python3 /work/03730/gregz/maverick/Remedy/quick_reduction.py %s %i 47 /work/03730/gregz/maverick/output/%s_%s.h5 -nd 8 -fp /work/03730/gr... | 1,363 | 26.836735 | 180 | py |
Remedy | Remedy-master/make_mosaic_cube.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Jun 18 13:10:11 2020
@author: gregz
"""
import matplotlib
matplotlib.use('agg')
import argparse as ap
from astropy.convolution import convolve, Gaussian2DKernel
from astropy.convolution import Gaussian1DKernel, interpolate_replace_nans
from astropy.io i... | 17,441 | 40.528571 | 119 | py |
Remedy | Remedy-master/make_image_from_h5.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Jun 18 13:10:11 2020
@author: gregz
"""
import argparse as ap
from astropy.io import fits
import tables
import numpy as np
import os.path as op
import sys
import warnings
from input_utils import setup_logging
from astrometry import Astrometry
from scip... | 5,770 | 34.404908 | 95 | py |
Remedy | Remedy-master/get_remedy_extractions.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jun 23 10:42:43 2021
@author: gregz
"""
import argparse as ap
import astropy.units as u
import glob
import numpy as np
import os.path as op
import sys
import tables
import warnings
from astropy.coordinates import SkyCoord
from astropy.io import fits
f... | 10,731 | 33.397436 | 83 | py |
Remedy | Remedy-master/get_fplane.py | # -*- coding: utf-8 -*-
"""
@author: Jan Snigula
"""
try:
# Python 3
from urllib.request import urlopen
from urllib.error import HTTPError
except ImportError:
# Python 2
from urllib2 import urlopen, HTTPError
import datetime
now = datetime.datetime.now()
import sys
if len(sys.argv) > 1:
dates... | 1,065 | 20.755102 | 73 | py |
Remedy | Remedy-master/track_trace_wave.py | # -*- coding: utf-8 -*-
"""
Created on Mon Jun 11 11:32:27 2018
@author: gregz
"""
import os.path as op
import numpy as np
import subprocess
import sys
import tarfile
import warnings
import tables as tb
from astropy.io import fits
from astropy.stats import mad_std
from astropy.table import Table
from astropy.time im... | 12,834 | 37.086053 | 101 | py |
Remedy | Remedy-master/get_hetdex_extractions.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jun 23 10:42:43 2021
@author: gregz
"""
import argparse as ap
import astropy.units as u
import glob
import numpy as np
import os.path as op
import sys
import tables
import warnings
from astropy.coordinates import SkyCoord
from astropy.io import fits
f... | 11,422 | 32.896142 | 83 | py |
Remedy | Remedy-master/input_utils.py | # -*- coding: utf-8 -*-
"""
Created on Wed Nov 29 09:38:06 2017
@author: gregz
"""
import sys
import datetime
import logging
import argparse as ap
from datetime import datetime as dt
def setup_parser():
''' BRIEF DESCRIPTION '''
parser = ap.ArgumentParser(add_help=True)
parser.add_argument("-sd", "--s... | 4,933 | 33.746479 | 78 | py |
Remedy | Remedy-master/show_h5info.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed May 13 19:09:28 2020
@author: gregz
"""
import tables
import sys
filename = sys.argv[1]
t = tables.open_file(filename)
print(t.root.Survey.colnames)
print(t.root.Survey[:]) | 242 | 14.1875 | 35 | py |
Remedy | Remedy-master/get_cal_attribute.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jun 10 14:31:35 2020
@author: gregz
"""
import tables
import sys
import numpy as np
from astropy.io import fits
import os.path as op
filename = sys.argv[1]
tname1 = sys.argv[2]
tname2 = sys.argv[3]
attr = sys.argv[4]
t = tables.open_file(filename)
s... | 864 | 22.378378 | 78 | py |
Remedy | Remedy-master/repeat_parallel_analysis.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu May 12 06:12:29 2022
@author: gregz
"""
from astropy.io import fits
import numpy as np
from astropy.coordinates import SkyCoord
import astropy.units as u
filename1 = '/work/03730/gregz/maverick/parallel/HETVIPS_continuum_v1.0_unique.fits'
filename2 = ... | 1,496 | 28.352941 | 91 | py |
Remedy | Remedy-master/get_res_map.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Apr 29 09:05:20 2020
@author: gregz
"""
import glob
import tables
import numpy as np
import os.path as op
from math_utils import biweight
from astropy.io import fits
filenames = sorted(glob.glob('/work/03730/gregz/maverick/20191214*h5'))
cnt = 0
for j... | 1,705 | 32.45098 | 81 | py |
Remedy | Remedy-master/math_utils.py | """
Created on Wed Oct 5 18:12:13 2016
@author: gregz
"""
import numpy as np
def biweight(a, nan_treatment=True, c=9.0, axis=None, calc_std=False):
"""
Returns the biweight location for the array elements along
an axis if given.
For more details, see Beers, Flynn, and Gebhardt, 1990, AJ,... | 2,419 | 26.191011 | 76 | py |
Remedy | Remedy-master/build_calibration_h5file.py | # -*- coding: utf-8 -*-
"""
Created on Mon Jun 11 11:32:27 2018
@author: gregz
"""
import os.path as op
import numpy as np
import subprocess
import sys
import tarfile
import warnings
import tables as tb
from astropy.convolution import convolve, Gaussian2DKernel
from astropy.io import fits
from astropy.stats import m... | 19,465 | 38.245968 | 89 | py |
stancy | stancy-master/run_classifier.py | # coding=utf-8
# Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team.
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a cop... | 32,594 | 41.607843 | 144 | py |
stancy | stancy-master/modeling.py | # coding=utf-8
# Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team.
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a cop... | 40,433 | 45.475862 | 139 | py |
stancy | stancy-master/file_utils.py | """
Utilities for working with the local dataset cache.
This file is adapted from the AllenNLP library at https://github.com/allenai/allennlp
Copyright by the AllenNLP authors.
"""
from __future__ import (absolute_import, division, print_function, unicode_literals)
import json
import logging
import os
import shutil
im... | 8,295 | 32.184 | 112 | py |
IFEM | IFEM-master/jenkins/convert.py | #!/usr/bin/env python
# coding: utf-8
# originally from:
# http://www.warp1337.com/content/how-use-ctest-jenkins-xunit-or-junit-plugin
# improved by:
# Jorge Araya Navarro <elcorreo@deshackra.com>
# Veni, Sancte Spiritus.
from lxml import etree
import argparse
from os.path import expanduser
... | 2,317 | 29.906667 | 79 | py |
thermo | thermo-master/conftest.py | import platform
import sys
is_pypy = 'PyPy' in sys.version
ver_tup = platform.python_version_tuple()[0:2]
ver_tup = tuple(int(i) for i in ver_tup)
def pytest_ignore_collect(path):
path = str(path)
# Serious technical debt
if ((path.endswith(('chemical.py', 'mixture.py', 'stream.py')) ) and 'test' not in pa... | 1,727 | 37.4 | 146 | py |
thermo | thermo-master/setup.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 2017, 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
... | 3,973 | 43.155556 | 95 | py |
thermo | thermo-master/benchmarks/benchmarks.py | from fluids.numerics import IS_PYPY
import thermo
if not IS_PYPY:
import thermo.numba
from random import random
import numpy as np
from fluids.numerics import normalize
from thermo import UNIQUAC
from thermo.eos_mix import *
class BaseTimeSuite:
def setup(self):
for k in dir(self.__class__):
... | 9,668 | 34.032609 | 126 | py |
thermo | thermo-master/benchmarks/__init__.py | 1 | 0 | 0 | py | |
thermo | thermo-master/tests/test_stability.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... | 4,162 | 57.633803 | 277 | py |
thermo | thermo-master/tests/test_law.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 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,474 | 32.148148 | 117 | py |
thermo | thermo-master/tests/test_phases.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... | 317,135 | 61.244553 | 4,812 | py |
thermo | thermo-master/tests/test_flash_phase_boundary.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... | 20,160 | 118.295858 | 1,530 | py |
thermo | thermo-master/tests/test_chemical_package.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... | 6,401 | 42.256757 | 118 | py |
thermo | thermo-master/tests/test_interaction_parameters.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2017 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,364 | 59.965909 | 657 | py |
thermo | thermo-master/tests/test_flash_mixing_phase_boundary.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... | 41,736 | 103.866834 | 1,530 | py |
thermo | thermo-master/tests/test_volume.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 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... | 34,095 | 47.918221 | 467 | py |
thermo | thermo-master/tests/test_eos_volume.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 ... | 13,161 | 87.932432 | 278 | py |
thermo | thermo-master/tests/test_property_package.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 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... | 26,745 | 39.958652 | 164 | py |
thermo | thermo-master/tests/test_flash_dry_air.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,407 | 36.473684 | 97 | py |
thermo | thermo-master/tests/test_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... | 18,260 | 199.67033 | 9,052 | py |
thermo | thermo-master/tests/test_joback.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2017, 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,873 | 38.131313 | 106 | py |
thermo | thermo-master/tests/test_mixture.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2017 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 ... | 9,539 | 42.363636 | 269 | py |
thermo | thermo-master/tests/test_flash_vll.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... | 195,038 | 94.001948 | 1,530 | py |
thermo | thermo-master/tests/test_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 ... | 21,541 | 42.963265 | 277 | py |
thermo | thermo-master/tests/test_interface.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 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... | 16,712 | 52.396166 | 954 | py |
thermo | thermo-master/tests/test_viscosity.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 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,825 | 46.573913 | 632 | py |
thermo | thermo-master/tests/test_heat_capacity.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 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... | 33,256 | 43.700269 | 1,114 | py |
thermo | thermo-master/tests/test_flash_pure_virial.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... | 14,043 | 75.326087 | 300 | py |
thermo | thermo-master/tests/test_phase_identification.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 ... | 13,464 | 64.364078 | 330 | py |
thermo | thermo-master/tests/test_permittivity.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 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,912 | 41.532609 | 211 | py |
thermo | thermo-master/tests/test_regular_solution.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 ... | 15,798 | 51.141914 | 1,057 | py |
thermo | thermo-master/tests/test_equilibrium.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... | 79,872 | 58.964715 | 495 | py |
thermo | thermo-master/tests/test_unifac.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2017, 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... | 110,504 | 100.380734 | 5,393 | py |
thermo | thermo-master/tests/test_tp_dependent_property.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 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,907 | 42.910112 | 82 | py |
thermo | thermo-master/tests/test_phase_change.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 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,369 | 45.205788 | 297 | py |
thermo | thermo-master/tests/test_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... | 2,245 | 37.067797 | 214 | py |
thermo | thermo-master/tests/test_vapor_pressure.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 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... | 45,776 | 51.556831 | 750 | py |
thermo | thermo-master/tests/test_eos_mix.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 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... | 230,315 | 43.887156 | 1,022 | py |
thermo | thermo-master/tests/test_flash_coolprop.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... | 16,816 | 47.744928 | 342 | py |
thermo | thermo-master/tests/test_activity.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,156 | 33.315217 | 84 | py |
thermo | thermo-master/tests/test_t_dependent_property.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 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... | 13,379 | 38.821429 | 153 | py |
thermo | thermo-master/tests/test_flash_iapws.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... | 7,627 | 32.902222 | 98 | py |
thermo | thermo-master/tests/test_flash_pure.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... | 98,156 | 47.30561 | 1,814 | py |
thermo | thermo-master/tests/test_documentation.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,761 | 40.952381 | 88 | py |
thermo | thermo-master/tests/test_flashes.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... | 78,270 | 76.114286 | 491 | py |
thermo | thermo-master/tests/test_stream.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2017 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 ... | 44,732 | 48.103183 | 684 | py |
thermo | thermo-master/tests/test_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... | 9,302 | 57.14375 | 465 | py |
thermo | thermo-master/tests/test_nrtl.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... | 27,780 | 43.307815 | 430 | py |
thermo | thermo-master/tests/test_electrochem.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 2017 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... | 36,901 | 51.047955 | 332 | py |
thermo | thermo-master/tests/test_eos.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... | 124,957 | 43.061354 | 1,852 | py |
thermo | thermo-master/tests/test_thermal_conductivity.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 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... | 20,930 | 44.502174 | 299 | py |
thermo | thermo-master/tests/test_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... | 117,969 | 48.546409 | 1,377 | py |
thermo | thermo-master/tests/__init__.py | 1 | 0 | 0 | py | |
thermo | thermo-master/tests/test_datasheet.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 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... | 8,611 | 147.482759 | 2,516 | py |
thermo | thermo-master/tests/test_coolprop.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 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... | 8,947 | 38.946429 | 135 | py |
thermo | thermo-master/tests/test_uniquac.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 ... | 19,196 | 44.816229 | 245 | py |
thermo | thermo-master/tests/test_unifac_assignment.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... | 42,452 | 40.784449 | 110 | py |
thermo | thermo-master/tests/test_chemical.py | '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, 2017 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... | 12,502 | 30.493703 | 124 | py |
thermo | thermo-master/tests/test_units.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... | 13,319 | 47.613139 | 167 | py |
thermo | thermo-master/tests/test_wilson.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 ... | 40,759 | 47.066038 | 199 | py |
thermo | thermo-master/tests/test_flash_vl.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... | 68,345 | 70.045738 | 862 | py |
thermo | thermo-master/tests/test_eos_mix_methods.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,358 | 114.798387 | 1,048 | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.