text
stringlengths
12
1.05M
repo_name
stringlengths
5
86
path
stringlengths
4
191
language
stringclasses
1 value
license
stringclasses
15 values
size
int32
12
1.05M
keyword
listlengths
1
23
text_hash
stringlengths
64
64
TRACK_ONE = { 'TrackId': 1, 'UnitPrice': 0.99, 'Composer': 'Angus Young, Malcolm Young, Brian Johnson', 'Bytes': 11170334, 'GenreId': 1, 'Name': 'For Those About To Rock (We Salute You)', 'Milliseconds': 343719, 'AlbumId': 1, 'MediaTypeId': 1, } RESOURCE_ETAGS = ( '"8a4a9037a1eb...
jeffknupp/sandman2
tests/resources.py
Python
apache-2.0
1,153
[ "Brian" ]
107dc558fde4851a700afeef8daa3bfcf19c5bbab9989d8bf2a13c3a27b8a6fa
# coding: utf-8 # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. """ TODO: Modify module doc. """ __author__ = "Shyue Ping Ong" __copyright__ = "Copyright 2012, The Materials Project" __version__ = "0.1" __maintainer__ = "Shyue Ping Ong" __email__ = "shyuep@gmail.com" __da...
dongsenfo/pymatgen
pymatgen/analysis/tests/test_molecule_matcher.py
Python
mit
6,397
[ "pymatgen" ]
07f3d7bff41ef094fc5a0de1b736be808b26b39a34a96574e69ebce75fd51da3
#!/usr/bin/env python3 # # Tests the log likelihood classes. # # This file is part of PINTS (https://github.com/pints-team/pints/) which is # released under the BSD 3-clause license. See accompanying LICENSE.md for # copyright notice and full license details. # import unittest import pints import pints.toy import numpy...
martinjrobins/hobo
pints/tests/test_log_likelihoods.py
Python
bsd-3-clause
77,747
[ "Gaussian" ]
d7a18cb3d95918da626a16094b464190a03b70e6dc02451f5e3a8d04c3af684d
# -*- coding: utf-8 -*- """ Created on Wed May 6 18:04:03 2015 @author: anderson """ from pyhfo.core import eegfilt, hfoObj, EventList, DataObj from pyhfo.sim import STenergy, Hilbert_energy, RMS, line_lenght import numpy as np import math import scipy.signal as sig import itertools import h5py def findHFO_filtH...
britodasilva/pyhfo
pyhfo/core/findHFO.py
Python
mit
22,549
[ "Gaussian" ]
42d9a1c37b5b1c33c67391f0afd40bf1b9826743ded8c269b213a1e02dfebf80
# -*- coding: utf-8 -*- """ Analysis module for the interrogation of integrated diffraction profiles. The foundation of the pyXe package, allowing for single peak fitting and, more recently, a Pawley type refinement of the complete diffracted profile. The peak fitting is completed at each acquisiion point for every az...
casimp/edi12
pyxe/peak_analysis.py
Python
mit
20,301
[ "Gaussian" ]
47e7bc6668ffee085a4f2a7b0d72db7db235fb40ca0416771a8ca89d14f15330
# -*- coding: utf-8 -*- # vi:si:et:sw=4:sts=4:ts=4 ## ## Copyright (C) 2010 Async Open Source <http://www.async.com.br> ## All rights reserved ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU Lesser General Public License as published by ## the Free Software F...
andrebellafronte/stoq
stoqlib/gui/dialogs/loandetails.py
Python
gpl-2.0
2,811
[ "VisIt" ]
1a9bec4f82c143e0b17c94ac1c5f456e861ca18c584d09c76daa0b79bd6ec76d
#convert a centerlines object to one that can segmented into sections #currently able to create lines, but not poly lines yet import vtk import networkx as nx import sys import copy import os from writeNodesEdges import writeObjects, writePolyLine file_dir = "/home/sansomk/caseFiles/ultrasound/tcd/case_debaun/vmtk...
kayarre/Tools
vmtk/vtk2networkx2.py
Python
bsd-2-clause
6,131
[ "VTK" ]
eb0ed25ed0361f9220e92c1c664ff17306f7c235984265ebfd347f69920544fe
import ast from django.conf import settings from symmetric.functions import underscore_to_camel_case default_token_mapping = { ast.Add: '+', ast.Sub: '-', ast.Mult: '*', ast.Div: '/', ast.Mod: '%', ast.LShift: '<<', ast.RShift: '>>', ast.BitOr: '|', ast.BitXor: '^', ast.BitAnd: '&', ast.And: '&&', ast.Or: '||',...
symmetricapi/django-symmetric
symmetric/management/translate.py
Python
mit
11,206
[ "VisIt" ]
2d0fc3f0ae5b0c6ed544a4ea995a6b44c2f114ef5ceed29818e1a57d622a74fe
""" velvet datatypes James E Johnson - University of Minnesota for velvet assembler tool in galaxy """ from __future__ import absolute_import from galaxy.datatypes import data import logging import os import re import sys from galaxy.datatypes import sequence from galaxy.datatypes.text import Html from galaxy.datatype...
icaoberg/cellorganizer-galaxy-tools
datatypes/assembly.py
Python
gpl-3.0
9,171
[ "Galaxy" ]
633a46a4986edc357167ed1de3a8138c9eafc880b6cb7c535beb222fc38edc82
import bpy from io_scene_cs.utilities import rnaType, rnaOperator, B2CS, EnumProperty, SHADERS from io_scene_cs.utilities import RemovePanels, RestorePanels class csMaterialPanel(): bl_space_type = 'PROPERTIES' bl_region_type = 'WINDOW' bl_context = "material" b2cs_context = "material" REMOVED = [] ...
baoboa/Crystal-Space
scripts/blender/io_scene_cs/ui/material.py
Python
lgpl-2.1
2,539
[ "CRYSTAL" ]
5d976c7cf8d1fb9df85b607b12dc40f4d9fe4554d4833676b0b38266a61921c4
""" Acceptance tests for course in studio """ from nose.plugins.attrib import attr from .base_studio_test import StudioCourseTest from ...pages.studio.auto_auth import AutoAuthPage from ...pages.studio.users import CourseTeamPage from ...pages.studio.index import DashboardPage @attr('shard_2') class CourseTeamPageT...
IndonesiaX/edx-platform
common/test/acceptance/tests/studio/test_studio_course_team.py
Python
agpl-3.0
14,194
[ "VisIt" ]
badfcdf40f1bd2c597a8c647dde03db5ac475082b86b8b96ffc091b3d5e23620
#!/usr/bin/env python import sys import argparse import numpy as np import networkx as nx from respirnet import complete_prebot ## constants ntypes = 4 def main(argv=None): if argv is None: argv = sys.argv # parse arguments parser = argparse.ArgumentParser(prog="genER", ...
kharris/prebotc-graph-model
graphs/genComplete.py
Python
bsd-3-clause
2,352
[ "NEURON" ]
2e95d54457dc3957fcaadc124352a04d5a6930650efb543ad06347d3e7395710
"""ABCs.""" # Authors: Guillaume Favelier <guillaume.favelier@gmail.com # Eric Larson <larson.eric.d@gmail.com> # # License: Simplified BSD from abc import ABC, abstractmethod, abstractclassmethod from contextlib import nullcontext import warnings from ..utils import tight_layout class _AbstractRenderer(A...
rkmaddox/mne-python
mne/viz/backends/_abstract.py
Python
bsd-3-clause
24,939
[ "Mayavi" ]
195e12ff282ef2d45f8a3f60f42aa549f3e2b63b3ac0cdfde1d16ab5ef4a234c
#!/usr/bin/python """ # Created on July 24, 2017 # # @author: Vilian Atmadzhov (vilian.atmadzhov@paddypowerbetfair.com) GitHub ID: vivobg # # module_check: not supported # # Copyright: (c) 2017 Gaurav Rastogi, <grastogi@avinetworks.com> # Vilian Atmadzhov, <vilian.atmadzhov@paddypowerbetfair.com> # ...
anryko/ansible
lib/ansible/modules/network/avi/avi_api_version.py
Python
gpl-3.0
2,692
[ "VisIt" ]
55755f1261ae10cf9138804cabe4e9aeb008dc3910b362472bb705679baac24d
# Copyright 2014-2018 The PySCF Developers. 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 copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
gkc1000/pyscf
pyscf/nao/m_tddft_iter_gpu.py
Python
apache-2.0
6,847
[ "PySCF" ]
2f007008f65f176c1614abbea740564bb245eb64753138f787169217760b8355
# ---------------------------------------------------------------------------- # Copyright (c) 2013--, scikit-bio development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. # --------------------------------------------...
johnchase/scikit-bio
skbio/alignment/_alignment.py
Python
bsd-3-clause
60,785
[ "scikit-bio" ]
37e6059db0ea2225558413d19ce640992db4348405b02a324c6ad686e263ded6
import ast from pylint.interfaces import IRawChecker from pylint.checkers import BaseChecker from logilab.common.testlib import unittest_main from astroid import test_utils from pylint.testutils import CheckerTestCase, Message MSGS = { 'W1611': ( 'Unused import %s', 'nnx-unused-import', ...
LA-Toth/dwa
pylintcheckers/unusedimports.py
Python
gpl-3.0
4,079
[ "VisIt" ]
6e87960c23f3a9d70d836864b5b5f0b7ada583a2083c98d5a7edbebd8ce34ad1
"""Tests for visit tracking middleware.""" # pylint: disable=invalid-name from django.conf import settings from django.contrib.auth import get_user_model from django.core.urlresolvers import reverse from django.test import TestCase, RequestFactory from django.test.utils import override_settings from mock import Mock f...
lpatmo/actionify_the_news
open_connect/middleware/tests/test_visit_tracking.py
Python
mit
3,264
[ "VisIt" ]
cb8be2dbf0d806b2829cbb845ff15b23811ac32c68ff148659a5b87ca383b371
# -*- coding: utf-8 -*- """upload_docs Implements a Distutils 'upload_docs' subcommand (upload documentation to PyPI's packages.python.org). """ import os import socket import zipfile import httplib import base64 import urlparse import tempfile import sys from distutils import log from distutils.errors import Distut...
grepme/CMPUT410Lab01
virt_env/virt1/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg/setuptools/command/upload_docs.py
Python
apache-2.0
6,174
[ "VisIt" ]
f37cef73154b4f7368924938ff16042f6fa84ba6afe76c95887352d430d88789
__author__ = 'duarte' from modules.parameters import ParameterSet, ParameterSpace, extract_nestvalid_dict from modules.input_architect import EncodingLayer from modules.net_architect import Network from modules.io import set_storage_locations from modules.signals import iterate_obj_list from modules.analysis import sin...
rcfduarte/nmsat
projects/examples/scripts/single_neuron_dcinput.py
Python
gpl-2.0
7,658
[ "NEURON" ]
c58ce210c012e6ddcb2fbff03647224dfa593789c10c35a00c85a16bdaa61016
# -*- coding: utf-8 -*- # # Copyright (C) 2014-2015 edX # # This software's license gives you freedom; you can copy, convey, # propagate, redistribute and/or modify this program under the terms of # the GNU Affero General Public License (AGPL) as published by the Free # Software Foundation (FSF), either version 3 of th...
GbalsaC/bitnamiP
venv/src/xblock-utils/xblockutils/base_test.py
Python
agpl-3.0
7,770
[ "VisIt" ]
c086357c06ef7df006f8013b0e1dad037bba85bb97ff1746803f92a7d90dce52
############################################################################### # Settings file for birdie stress tests ############################################################################### # base URL of installation BASE_URL='http://localhost:6543' DATABASE={ 'drivername': 'sqlite', 'database': 'fa...
gr-/birdie
birdie_stress/birdie_stress/settings.py
Python
mit
1,653
[ "VisIt" ]
84b7c316280c674ad01578279c30726532fe5be4dbeaf2315e73f31e676de12b
#!/usr/bin/python import pysam import os import sys import csv import operator import logging import collections from itertools import chain log = logging.getLogger('pipeline') def converter(input_f, output_f): ''' Converts a vcf that has been annotated using intersectBed with a genes.gtf file into a mo...
d-quinn/bio_quinn2013
gene_estimates/snp2gene.py
Python
mit
20,448
[ "pysam" ]
a024a6904e529951da3c9a7bf30d358cd13e3a22333d2bd1bb2278f6e2587b6b
""" AtomSpace Publisher Extension for socket.io Extends: http://wiki.opencog.org/wikihome/index.php?title=AtomSpace_Event_Publisher Forwards ZeroMQ messages from the AtomSpace Publisher module to a socket.io socket accessible from web applications using JavaScript and JQuery, including cross-domain requests Dependenc...
rodsol/opencog
opencog/python/web/socketio/atomspace_publisher.py
Python
agpl-3.0
3,468
[ "VisIt" ]
1f5f4d4b1b383f9db772354675da4dbf835597bfba8e22a3bafdfc6629e2fb3e
from flask import Flask, render_template, session, request, redirect import random app = Flask(__name__) app.secret_key = 'my_secret_key' @app.route('/') def index(): if not 'gold' in session: session['gold'] = 0 if not 'activities' in session: session['activities'] = [] return render_temp...
jiobert/python
raj_chetan/flask_olympics/olympics8/server.py
Python
mit
1,841
[ "CASINO" ]
4352db6ea14fd5c77262b0c946ddf672d14bd0958f4ada739f0b9f95608781cf
''' Created on Mar 12, 2015 @author: orvanano ''' ''' Created on May 7, 2014 outputs the structure with the voronoi points ''' import random from pymatgen.symmetry.analyzer import SpacegroupAnalyzer from voronoi import VoronoiInsertionTransformation from pymatgen import Structure #structure1 = Structure, name = stri...
tchen0965/structural_descriptors_repo
Voronoi_sites.py
Python
mit
2,516
[ "pymatgen" ]
3922d47cdbd17fa149e7fc3aefa75151c6fb70a1ba3080cec99d7916d8cce9bf
# coding: utf-8 # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. from __future__ import division, unicode_literals, print_function """ Classes for reading/manipulating/writing VASP ouput files. """ __author__ = "Shyue Ping Ong, Geoffroy Hautier, Rickard Armiento, " + \ ...
sonium0/pymatgen
pymatgen/io/vasp/outputs.py
Python
mit
101,411
[ "CRYSTAL", "VASP", "pymatgen" ]
58e79a8501238c16b6255a28ffff9611e53f4a113339579b2e9bbc9da992ace9
# coding: utf-8 # In[411]: import numpy as np import matplotlib.pyplot as plt import scipy.interpolate as inter from scipy.optimize import curve_fit from time import time #get_ipython().magic('matplotlib inline') # Function definitions and some other parameters # In[723]: res = 10000 # 1 sample is 1/res*1.6ms, 1...
quantumfx/binary-lens
oldcode/lens_simulation_gauss_pulse.py
Python
gpl-3.0
10,313
[ "Gaussian" ]
abcd6ea4508ffd3e7ad09cbd7217c0eb065a77a3b98af3b760de40c2e8baa2b3
import logging import mailchimp import uuid from datetime import datetime, date, timedelta from django.core.mail import send_mail from corehq.apps.accounting.models import ( SoftwarePlanEdition, DefaultProductPlan, BillingAccount, BillingAccountType, Subscription, SubscriptionAdjustmentMethod, Currency, ) from ...
SEL-Columbia/commcare-hq
corehq/apps/registration/utils.py
Python
bsd-3-clause
14,680
[ "VisIt" ]
0aea12aa2a95fe82d34d10990684c1e8ea1e0fb7ce177d5c20ff75177d5b4073
#!/usr/bin/env python ################################################## ## DEPENDENCIES import sys import os import os.path try: import builtins as builtin except ImportError: import __builtin__ as builtin from os.path import getmtime, exists import time import types from Cheetah.Version import MinCompatib...
MOA-2011/e2openplugin-OpenWebif
plugin/controllers/views/web/recordnow.py
Python
gpl-2.0
5,187
[ "VisIt" ]
da8bc9530d7188193c97eaffa6d6e397d3a25f48ee6ce5c9deed3036680d4e14
import numpy as np from scipy.stats import gaussian_kde class Log_kde(gaussian_kde): r"""Represents a one-dimensional Gaussian kernel density estimator conducted in log-space, according to the formula .. math:: \frac{dN}{d\ln x}(\ln x) = x \frac{dN}{dx}(x) The KDE occurs on the left-hand-s...
farr/plotutils
plotutils/log_kde.py
Python
mit
1,231
[ "Gaussian" ]
d81ed9e2bc86af865024d6f3dc68f1b8078acdee067ff1b52672ef4a5839b436
import numpy as np from pypcsim import * def findInputPool(pools): for pool in pools: if pool["type"] == "input": return pool class NeuronsPool: """ Represents a pool of same neurons: input, excitatory, inhibitory """ def __init__(self, net, **kwds): """ net : PCSIM...
zjonke/EImotif
eim/pool.py
Python
mit
2,711
[ "NEURON" ]
70802302238bf7c917d43db3513265844ab9fefb86bbb8b25fbcca0e84fddb7d
""" module for setting global variables * | use sparse the scipy.sparse module instead of numpy arrays | __sparse__ = False * | directory for saving field files | __FIELDDIR__ = "" * | directory of output files | __OUTDIR__ = "" * | directory to save vtk files of iterations ...
bencesomogyi/pyCFD
pyCFD_config/config.py
Python
gpl-3.0
1,305
[ "VTK" ]
aa2daca15dd98e41906086475adbe00d33ba69c5a2e5615635bd5d320d099045
from __future__ import print_function from builtins import range """ SECTION 1 : Load and setup data for training and testing the datasets separated in two files from originai datasets: iris_train.csv = datasets for training purpose, 80% from the original data iris_test.csv = datasets for testing purpose, 20% from t...
rianrajagede/simplesamplecode
Tensorflow/iris_tf_estimator.py
Python
mit
3,592
[ "NEURON" ]
a43b873ad859dc0e3413580da815d1841011098469f0773b86ee58602004a4f2
# from py4j.clientserver import ClientServer, JavaParameters, PythonParameters # from py4j.java_gateway import DEFAULT_ADDRESS # import logging, os, sys, traceback, array, time, socket # import cdms2 # import numpy as np # # def getIntArg( index, default ): return int(sys.argv[index]) if index < len( sys.argv ) else d...
nasa-nccs-cds/EDAS
python/test/icdas2.py
Python
gpl-2.0
8,010
[ "Gaussian" ]
717b48ca2c076c6fbad39be6638a074aceb8141dfcf940284a2e468c0510fafd
"""Driver for gradient calculations.""" from __future__ import print_function import six.moves.builtins as builtins import logging import time import warnings import numpy # for numeric_grad from six import itervalues import theano from theano import gof from theano.gof import Variable from theano.compat import Ord...
nke001/attention-lvcsr
libs/Theano/theano/gradient.py
Python
mit
79,573
[ "VisIt" ]
b95fae32ab65dae8ef24d04cad7e5432c0e1e55947c22e12b72bca216d8a0b8e
""" django-feature-labs, a complementary app to django-feature-flipper. Allows users to visit a 'labs' page and flip features on and off. """ __version_info__ = { 'major': 0, 'minor': 1, 'micro': 0, 'releaselevel': 'alpha', 'serial': 1 } def get_version(): """ Return the formatted version ...
snswa/django-feature-labs
featurelabs/__init__.py
Python
apache-2.0
659
[ "VisIt" ]
83bc7444187aea1f174584ec2636f329fc052f3a986ef735a4b5c016c60a4971
import logging from dipy.align import floating import numpy as np import numpy.linalg as npl import scipy.ndimage.filters as filters logger = logging.getLogger(__name__) class ScaleSpace(object): def __init__(self, image, num_levels, image_grid2world=None, input_spacing=None, ...
FrancoisRheaultUS/dipy
dipy/align/scalespace.py
Python
bsd-3-clause
17,257
[ "Gaussian" ]
a4f3d3e8100770f7646929d178a879b0a0dda20ddba13b742c0ec3cd27752259
import numpy as np from Bio import Seq, SeqRecord alphabet_synonyms = {'nuc':'nuc', 'nucleotide':'nuc', 'aa':'aa', 'aminoacid':'aa', 'nuc_nogap':'nuc_nogap', 'nucleotide_nogap':'nuc_nogap', 'aa_nogap':'aa_nogap', 'aminoacid_nogap':'aa_nogap', 'DNA':'nuc',...
neherlab/treetime
treetime/seq_utils.py
Python
mit
14,020
[ "Biopython" ]
dbf39ba3c6518fb1b7a6c931b575f099a8214bea1b9111d4534aaa304314837d
PINS = [False] * 100 class Pin(object): def __init__(self, number): self._number = number def on(self): self.value = True def off(self): self.value = False def _get_value(self): return PINS[self._number] def _set_value(self, value): PINS[self._number] = b...
waveform80/presentations
traffic_lights/gpiozero.py
Python
cc0-1.0
1,710
[ "Amber" ]
4b7550014325a197e72826d69962c1cad8301cab966863689f267c3c1028a5e7
import os import copy import warnings import numpy as np import pandas as pd import pyemu from .pyemu_warnings import PyemuWarning SEED = 358183147 # from random.org on 5 Dec 2016 np.random.seed(SEED) class Loc(object): """thin wrapper around `pandas.DataFrame.loc` to make sure returned type is `Ensemble` ...
jtwhite79/pyemu
pyemu/en.py
Python
bsd-3-clause
59,849
[ "Gaussian" ]
5a10833f793f94e803ca8212f806934e8f91c55c3674d3d1d1eb4efb80b365af
""" This file contains view functions for wrapping the django-wiki. """ import logging import re import cgi from django.conf import settings from django.contrib.sites.models import Site from django.core.exceptions import ImproperlyConfigured from django.shortcuts import redirect from django.utils.translation import ug...
jazkarta/edx-platform-for-isc
lms/djangoapps/course_wiki/views.py
Python
agpl-3.0
4,632
[ "VisIt" ]
1cf6017d19a1ff2c35451e95fd40f560e4aa4c611e3accbf515f18034a07c80d
#!/usr/bin/env python from setuptools import setup setup(name='pynpact', version='0.5', description='Python N-Profile Analysis Computation Tool', author='Luciano Brocchieri and Nathan Bird', author_email='nathan@acceleration.net', url='http://genome.ufl.edu/npact/', packages=['pynpa...
victor-lin/npact
pynpact/setup.py
Python
bsd-3-clause
536
[ "Biopython" ]
fe1e87ad6eef8f6f8be2b72e696210bd3a0323f71ba5a4d9184b4df6a63e16a3
# -*- coding: utf-8 -*- # # BitcoinLib - Python Cryptocurrency Library # Unit Tests for Wallet Class # © 2016 - 2021 March - 1200 Web Development <http://1200wd.com/> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as ...
1200wd/bitcoinlib
tests/test_wallets.py
Python
gpl-3.0
136,207
[ "BLAST", "Jaguar" ]
504cb21afcfeb3cb8b8a7ff159f3baf68a1697a3231479737b4f0f5a07ca0bed
######################################################################## # # (C) 2013, James Cammarata <jcammarata@ansible.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software ...
fossilet/ansible
lib/ansible/cli/galaxy.py
Python
gpl-3.0
31,596
[ "Galaxy" ]
0707bd977404b5baec4fe6026ca85a554e186d751ebeb11d3541371e82ccfbd1
import re from django.contrib.auth.models import User, Group from datetime import datetime from django_liveserver.testcases import LiveServerTestCase import psycopg2 from splinter import Browser import sys from poll.models import Poll def create_group(driver, name): driver.open('/admin/auth/group/') driver.bro...
mbanje/ureport_uganda
ureport_project/e2e.py
Python
bsd-3-clause
4,220
[ "VisIt" ]
05fef364657b686d1aad812de5bb7963c25df5710677193978980253ca721988
""" Geosoft aggregate images :Classes: ======================== ==================================================== :class:`Aggregate_image` image constructed from one or more grid/image layers ======================== ==================================================== Geosoft aggregates are "aggr...
GeosoftInc/gxpy
geosoft/gxpy/agg.py
Python
bsd-2-clause
17,281
[ "Gaussian" ]
e7c8c9d7e70e3f15078c4f31f2e4b1c056840c6c763a2109e66f7b1e74d68b38
import genson def test_dumps(): gson = """ { "test0": 4, "test1" : <0,1,2>, "test2" : { "nested": gaussian(0,1,draws=1) }, "test3" : <"a", "b", uniform(0,1)>, ("test4", "test5") : (0, 1), ("test6", "test7") : 1, ...
davidcox/genson
test/test_dumps.py
Python
mit
1,077
[ "Gaussian" ]
45646ca8197a62b6d693c1aad9b80f0662e90767742ba92e78a06d1feb744b36
# revset.py - revision set queries for mercurial # # Copyright 2010 Matt Mackall <mpm@selenic.com> # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. from __future__ import absolute_import import heapq import re from .i18n import _...
dscho/hg
mercurial/revset.py
Python
gpl-2.0
123,368
[ "VisIt" ]
7894890590572b8a53d1457f718634ab5addb00bf836493fbc5294c4183aecd8
""" Bootstrap the Galaxy framework. This should not be called directly! Use the run.sh script in Galaxy's top level directly. """ import os, sys assert sys.version_info[:2] >= ( 2, 4 ) new_path = [ os.path.join( os.getcwd(), "lib" ) ] new_path.extend( sys.path[1:] ) # remove scripts/ from the path sys.path = new_p...
dbcls/dbcls-galaxy
scripts/paster.py
Python
mit
582
[ "Galaxy" ]
5ed65bf505864cdc33bb2919aaaaa4791893c8ba0d6aa8566d651d21c3cf4b0c
from math import tan def solve_sle(A): """Solves a system of linear equations using the Gaussian elimination method. The system should be specified as an augmented matrix [ [a_1_1, a_1_2, ..., b_1], [a_2_1, a_2_2, ..., b_2], ... [a_n_1, a_n_2, ..., b_n] ], ...
mikhaildubov/Rhinoceros-Python-Scripts
code/utils/math_utils.py
Python
mit
1,804
[ "Gaussian" ]
3016717becd29ac5d889803fae8794f32b76fe7d60b39c6611a19f83e2716d6a
''' MMD functions implemented in tensorflow. ''' from __future__ import division import tensorflow as tf import numpy as np from tf_ops import dot, sq_sum _eps=1.0e-5 _check_numerics=False _debug = False mysqrt = lambda x: tf.sqrt(tf.maximum(x + _eps, 0.)) #########################################################...
mbinkowski/opt-mmd
gan/mmd.py
Python
bsd-3-clause
24,767
[ "Gaussian" ]
ad3535f5ad4fe67d2592f3730e18ccf9a6cc3a30eec702e6c0631f312704d7d9
# -*- coding: UTF-8 -*- #retriever from pkg_resources import parse_version from retriever.lib.models import Table, Cleanup, correct_invalid_value from retriever.lib.templates import Script try: from retriever.lib.defaults import VERSION except ImportError: from retriever import VERSION class main(Script): ...
henrykironde/deletedret
scripts/pantheria.py
Python
mit
2,998
[ "Amber" ]
b01787df5558c7662e8301e739d4a43a2814b1cc27f22db19fa84aed401d655e
# -*- coding: utf-8 -*- # <nbformat>3.0</nbformat> # <codecell> import pandas as pd import sys import os, os.path sys.path.append('/home/will/PatientPicker/') # <codecell> import LoadingTools # <codecell> redcap_data = LoadingTools.load_redcap_data() # <codecell> test_cols = [col for col in redcap_data.column...
JudoWill/ResearchNotebooks
PIckNewCanabPatients.py
Python
mit
4,728
[ "VisIt" ]
aa597fe165caf303efcfa7ddbcedbfd1e268f55a0006b1af192d04f8ecfe03bf
#!/usr/bin/python #------------------------------------------------------------------------------- #License GPL v3.0 #Author: Alexandre Manhaes Savio <alexsavio@gmail.com> #Grupo de Inteligencia Computational <www.ehu.es/ccwintco> #Universidad del Pais Vasco UPV/EHU #Use this at your own risk! #-----------------------...
alexsavio/aizkolari
aizkolari_measure.py
Python
bsd-3-clause
16,654
[ "Gaussian" ]
8ce0427e6afe158b9d0df98177151f61cb53a2800eb50a2a369ec8a7cd6a5792
import unittest from catkit.gen.surface import SlabGenerator from ase.build import bulk import numpy as np class TestSlabGenerator(unittest.TestCase): """Test features of catkit.gen.surface""" def test_slab_generator(self): """Test that no exception is raised when running SlabGenerator.""" at...
jboes/CatKit
catkit/gen/tests/test_surfaces.py
Python
gpl-3.0
1,920
[ "ASE" ]
a0211f51eefe3ab2ff3267cb0dff248ff541a6eda6c7386146e614367b58b583
#!/usr/bin/env python ################################################## ## DEPENDENCIES import sys import os import os.path try: import builtins as builtin except ImportError: import __builtin__ as builtin from os.path import getmtime, exists import time import types from Cheetah.Version import MinCompatib...
pli3/Openwebif
plugin/controllers/views/web/timerdelete.py
Python
gpl-2.0
5,237
[ "VisIt" ]
10784418a1ae113bcf9789bf777d55728ece11474ed0e801b65fb449e150ae5f
#---------------------------------------------------------------------------- # Classes for new input type `MEDSCatalog`; intended for use with Balrog. # Similar to GalSim's native RealGalaxyCatalog class, but with structural # differences due to how MEDS stores it's postage stamp images. # Some methods and naming choi...
sweverett/Balrog-GalSim
balrog/meds_catalog.py
Python
mit
59,648
[ "Galaxy", "Gaussian" ]
0107480a28ce037703ac3995e4e8cabeb24681b2153aeedc86daa11d0b3b616c
############################################################################## # Copyright (c) 2013-2018, Lawrence Livermore National Security, LLC. # Produced at the Lawrence Livermore National Laboratory. # # This file is part of Spack. # Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. # LLNL-CODE-64...
mfherbst/spack
var/spack/repos/builtin/packages/gaussian/package.py
Python
lgpl-2.1
3,366
[ "Gaussian" ]
30c7d36b01350261a86784112d113560c2a5c90e94a83d90b4abd34f576acc5d
import PyOpenWorm as P from PyOpenWorm import Cell class Muscle(Cell): """A single muscle cell. See what neurons innervate a muscle: Example:: >>> mdr21 = P.Muscle('MDR21') >>> innervates_mdr21 = mdr21.innervatedBy() >>> len(innervates_mdr21) 4 Attributes -------...
hnunner/PyOpenWorm
PyOpenWorm/muscle.py
Python
mit
935
[ "NEURON" ]
d6ac688932530c359b2ed6d87bc848ab0cabe2f7eb3183dfe3952fb45175652d
''' Hodgkin-Huxley equations (1952). ''' import os import matplotlib matplotlib.use('Agg') from brian2 import * import brian2cuda # cuda_standalone device name = os.path.basename(__file__).replace('.py', '') codefolder = os.path.join('code', name) print('runing example {}'.format(name)) print('compiling model in {}'....
brian-team/brian2cuda
examples/compartmental/hodgkin_huxley_1952_cuda.py
Python
gpl-2.0
2,480
[ "NEURON" ]
92ee8d383540ccdf4fb26fd14b6b4c6e669d52426560799c6723792717822f21
#!/usr/bin/env python3 import functools import json import logging import sys from collections import defaultdict from itertools import groupby from pathlib import Path import pysam from paleomix.common.argparse import ArgumentParser from paleomix.common.logging import initialize_console_logging from paleomix.common...
MikkelSchubert/paleomix
paleomix/pipelines/ngs/tools/finalize_bam.py
Python
mit
16,353
[ "pysam" ]
fec404fe19d0d545c0f804b7383cd8e45c40fcb70f1071730460bd2929b019e7
import discord from discord.ext import commands import asyncio import youtube_dl import random class Voice(commands.Cog): def __init__(self, bot): self.bot = bot self.channels = [ "http://stream01.iloveradio.de/iloveradio1.mp3,I Love Radio,iloveradio", "http://br-br1-obb....
PilleniusMC/Pixeldrohne
pxldrn/music.py
Python
lgpl-2.1
14,182
[ "Galaxy" ]
c6abe3f676ac7dba00ee2cc0d31258ff3286fa833136ae371dff4c162706d934
import os from gpaw.mpi import rank machine = os.environ.get('MACHINE', 'TEST') ncores = os.environ.get('NCORES', 8) if rank == 0: os.chdir(machine) os.system('STARTCORES=%d &&. ../run_numactl.sh' % ncores) #os.system('. ../run_numactl.sh') # full memory benchmark
qsnake/gpaw
doc/devel/memory_bandwidth/run_numactl.py
Python
gpl-3.0
278
[ "GPAW" ]
8a30089d79cc3d1f5b05028e624e779ad9a67034169a96c6272f684bd3cf8c3d
from __future__ import print_function import matplotlib import numpy as np import copy import re import warnings from astropy import log from astropy import units as u from six.moves import xrange from six import string_types from ..config import mycfg from ..config import ConfigDescriptor as cfgdec from . import uni...
low-sky/pyspeckit
pyspeckit/spectrum/fitters.py
Python
mit
94,501
[ "Gaussian" ]
02b2f4753cb6456f2f049fbd95f26eaa62532cfecaa9a3fa5bf826e38ac7fe00
from __future__ import division, print_function import abc import numpy as np from menpo.image import Image from menpo.feature import sparse_hog from menpo.visualize import print_dynamic, progress_bar_str from menpofit.base import noisy_align, build_sampling_grid from menpofit.fittingresult import (NonParametricFittin...
mrgloom/menpofit
menpofit/regression/trainer.py
Python
bsd-3-clause
22,957
[ "Gaussian" ]
c9486ae41466fda633976e17954e233afc3337b70450b60b0706ba39e4318007
from flask import Flask, jsonify, make_response from flask_cors import cross_origin from tractatus import Tractatus app = Flask(__name__) # Set the correct origin # app.config['CORS_ORIGINS'] = ['http://wittgenste.in'] # app.config['CORS_METHODS'] = ['GET'] # app.config['CORS_MAX_AGE'] = [0] @app.route("/") def hel...
AFFogarty/wittgenstein
src/api/wittapi.py
Python
mit
1,204
[ "VisIt" ]
eb206b278bbd242b0a0bc5ba97a2697dcaab1355671fdf2138f6639e04f418e7
# coding: utf-8 # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. #!/usr/bin/env python from __future__ import division, unicode_literals """ #TODO: Write module doc. """ __author__ = 'Shyue Ping Ong' __copyright__ = 'Copyright 2013, The Materials Virtual Lab' __version__ =...
Bismarrck/pymatgen
pymatgen/io/feffio_set.py
Python
mit
611
[ "FEFF", "pymatgen" ]
efec0dda4602a891b048b150174462c06aec2ba6757ab91ac601c2608a4a8084
#!/usr/bin/env python # Copyright 2014-2020 The PySCF Developers. 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 copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # U...
sunqm/pyscf
pyscf/pbc/mp/test/test_dm.py
Python
apache-2.0
2,549
[ "PySCF" ]
d2723b0fce7e8cc3de3883e5ec76f5da62c28cbe2ce495fa670b4085535fb6e4
"""Benchmarking module for AlignmentFile functionality""" import os import pysam import unittest from TestUtils import make_data_files, BAM_DATADIR, IS_PYTHON3, force_str, flatten_nested_list import PileupTestUtils def setUpModule(): make_data_files(BAM_DATADIR) class TestPileupReadSelection(unittest.TestCase):...
pysam-developers/pysam
tests/AlignmentFilePileup_test.py
Python
mit
16,021
[ "pysam" ]
dd21bba51ef5a67f3245f9c0ddf90fc03c0b7718599d2f021b27dbf3126714e5
import enum import inspect import pydoc import unittest from collections import OrderedDict from enum import Enum, IntEnum, EnumMeta, unique from io import StringIO from pickle import dumps, loads, PicklingError, HIGHEST_PROTOCOL # for pickle tests try: class Stooges(Enum): LARRY = 1 CURLY = 2 ...
Microvellum/Fluid-Designer
win64-vc/2.78/python/lib/test/test_enum.py
Python
gpl-3.0
60,867
[ "MOE" ]
19a2ef1dbc6dd78f99632d1edd8fea853cbb849adcd8952dc5a6b96e9582a72c
############################### # This file is part of PyLaDa. # # Copyright (C) 2013 National Renewable Energy Lab # # PyLaDa is a high throughput computational platform for Physics. It aims to make it easier to submit # large numbers of jobs on supercomputers. It provides a python interface to physical input, suc...
pylada/pylada-light
src/pylada/jobfolder/forwarding_dict.py
Python
gpl-3.0
12,457
[ "CRYSTAL", "VASP" ]
e83e0b03a1ef9110b0e7c46b849e023d9517d857ebe50166cc7304ee36e22cf1
import json #!!! This giant block of imports should be something simpler, such as: # from great_exepectations.helpers.expectation_creation import * from great_expectations.execution_engine import ( PandasExecutionEngine, SparkDFExecutionEngine, SqlAlchemyExecutionEngine, ) from great_expectations.expectati...
great-expectations/great_expectations
contrib/experimental/great_expectations_experimental/expectations/expect_column_values_number_of_decimal_places_to_equal.py
Python
apache-2.0
9,439
[ "VisIt" ]
555b1b3157edcbbd031738417db399bb8224e8045f17f7fb02a50ba959a9eb42
""" Testing for Gaussian Process module (sklearn.gaussian_process) """ # Author: Vincent Dubourg <vincent.dubourg@gmail.com> # Licence: BSD 3 clause from nose.tools import raises from nose.tools import assert_true import numpy as np from sklearn.gaussian_process import GaussianProcess from sklearn.gaussian_process ...
chaluemwut/fbserver
venv/lib/python2.7/site-packages/sklearn/gaussian_process/tests/test_gaussian_process.py
Python
apache-2.0
6,093
[ "Gaussian" ]
f57d0576289fc28463da36ae68ef64ed2b0aec04bca19b8b7c7c212a15dd26b7
# Placeholder because transformations moved # Remove this in version 1.0 from __future__ import absolute_import import warnings with warnings.catch_warnings(): warnings.simplefilter('always', DeprecationWarning) warnings.warn(("transformations has moved to MDAnalysis.lib.transformations " "a...
kain88-de/mdanalysis
package/MDAnalysis/core/transformations.py
Python
gpl-2.0
442
[ "MDAnalysis" ]
94a26a1b5e676f8149c94d9d3d29b94678a766e6fa4a9d1238d99ff171dc5bb4
#!/usr/bin/python # Copyright: (c) 2020, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import (absolute_import, division, print_function) __metaclass__ = type ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status': ['preview'], ...
BondAnthony/ansible
test/integration/targets/ansible-galaxy-collection/library/setup_collections.py
Python
gpl-3.0
6,170
[ "Galaxy" ]
849b369b53e68ea2912ca67c95be1c45415dc381120184b90f1e29abfb325ebb
""" ==================================================================== K-means clustering and vector quantization (:mod:`scipy.cluster.vq`) ==================================================================== Provides routines for k-means clustering, generating code books from k-means models, and quantizing vectors ...
sargas/scipy
scipy/cluster/vq.py
Python
bsd-3-clause
25,558
[ "Gaussian" ]
bd822cea2a115761e4129734b619e8bb462f218a71ec139de51f483b3d871afa
# Copyright (c) Anand Patil, 2007 __docformat__='reStructuredText' from numpy import * from GPutils import regularize_array, trisolve __all__ = ['Mean','zero_fn'] class Mean(object): """ M = Mean(eval_fun, **params) A Gaussian process mean. :Arguments: - `eval_fun`: A function tha...
matthew-brett/pymc
pymc/gp/Mean.py
Python
mit
3,498
[ "Gaussian" ]
e8b0121e2c5f20962f81a7abb5527e062c20a460c464e79e4f3a2aa7bfb369fa
import itertools import json import os import subprocess import unittest import netCDF4 import numpy as np import rdflib import rdflib.compare import requests import bald from bald.tests import BaldTestCase class Test(BaldTestCase): def setUp(self): self.cdl_path = os.path.join(os.path.dirname(__file__),...
binary-array-ld/bald
lib/bald/tests/integration/test_cdl_rdfgraph.py
Python
bsd-3-clause
17,693
[ "NetCDF" ]
bc2525f23428e74ede47705c99f51ac388efddf8f018c1d7b3db752353ca03d1
# -*- coding: utf-8 -*- # YAFF is yet another force-field code. # Copyright (C) 2011 Toon Verstraelen <Toon.Verstraelen@UGent.be>, # Louis Vanduyfhuys <Louis.Vanduyfhuys@UGent.be>, Center for Molecular Modeling # (CMM), Ghent University, Ghent, Belgium; all rights reserved unless otherwise # stated. # # This file is pa...
molmod/yaff
yaff/external/libplumed.py
Python
gpl-3.0
9,257
[ "LAMMPS" ]
1900c2dab9841539f461891b32b2b948eb38643c6563ed561ed81d6f2f5c8b8e
# -*- coding: utf-8 -*- __author__ = 'Brian Choate' __email__ = 'brian.choate@gmail.com' __version__ = '0.0.1'
brianchoate/chef2ldif
chef2ldif/__init__.py
Python
bsd-3-clause
112
[ "Brian" ]
1916ea89f6b5528d56e0192ca3743ed8afcd96b5d36b7fa6d4df2149f67c7bad
from collections import namedtuple from copy import deepcopy from redux.ast import FunctionDefinition, BitfieldDefinition, ReturnStmt, Assignment, VarRef from redux.intrinsics import get_intrinsic_functions, IntrinsicFunction, GetAchronalField, SetAchronalField from redux.types import is_numeric, common_arithmetic_type...
Muon/redux
redux/typeannotate.py
Python
mit
10,096
[ "VisIt" ]
59f3467e11338c36b010b6089f13169a7fa2eada53bec67bf310d5f61a3bb941
''' Figures and analysis highlighting anomalous gas features ''' from spectral_cube import SpectralCube from astropy import units as u import numpy as np import matplotlib.pyplot as plt from aplpy import FITSFigure from astropy.visualization import AsinhStretch from astropy.visualization.mpl_normalize import ImageNo...
e-koch/VLA_Lband
14B-088/HI/analysis/HI_offrotation_components.py
Python
mit
14,651
[ "Galaxy" ]
117342d6e9315e57053ae17ec5340d7aa4ebe2ceacf7e48f693a0175a063f70c
""" Gaussian process likelihood models ======================== """ try: __import__('pkg_resources').declare_namespace(__name__) except ImportError: from pkgutil import extend_path __path__ = extend_path(__path__, __name__) #import covar_base from likelihood_base import *
PMBio/pygp
pygp/likelihood/__init__.py
Python
gpl-2.0
287
[ "Gaussian" ]
4946f71a936eba016f7c83265e248e78ee0538f1ee206271d53d49df3fd893e8
# $Id$ from module_base import ModuleBase from module_mixins import ScriptedConfigModuleMixin import module_utils import vtk import wx class pngRDR(ScriptedConfigModuleMixin, ModuleBase): def __init__(self, module_manager): ModuleBase.__init__(self, module_manager) self._reader = vtk.vtkPNG...
nagyistoce/devide
modules/readers/pngRDR.py
Python
bsd-3-clause
3,502
[ "VTK" ]
97eca648c4fbb291d3dd7fd8cf26554aaea7e3dc6bf13fd93221683284063f21
# -*- coding: utf-8 -*- """setup.py: setuptools control.""" import re from setuptools import setup version = re.search( '^__version__\s*=\s*"(.*)"', open('longdist/longdist.py').read(), re.M ).group(1) with open("README.md", "rb") as f: long_descr = f.read().decode("utf-8") setup( name="longdi...
hugowschneider/longdist.py
setup.py
Python
gpl-3.0
938
[ "Biopython" ]
47b9a4d44e60c0d1197763688a240e5d139b87c5c49935b270fe58595a6cd74a
#!/usr/bin/env python import vtk from vtk.test import Testing from vtk.util.misc import vtkGetDataRoot VTK_DATA_ROOT = vtkGetDataRoot() # Interpolate onto a volume # Parameters for debugging res = 100 # create pipeline # extent = [0,56, 0,32, 0,24] pl3d = vtk.vtkMultiBlockPLOT3DReader() pl3d.SetXYZFileName(VTK_DATA_...
keithroe/vtkoptix
Filters/Points/Testing/Python/TestPointInterpolator2.py
Python
bsd-3-clause
2,720
[ "Gaussian", "VTK" ]
db9ef9a061c0640eef5eb172677f9336af4ab92f4608a3d03204e3c24640f659
""" This module contains code for running a full reciprocal BLAST analysis in Goat, including running the forward search, parsing the output and getting the intermediate queries, running the reverse search, parsing the output, and then summarizing the results of both the forward and reverse search. """ from tkinter im...
chris-klinger/Goat
analyses/reciprocal_blast.py
Python
gpl-3.0
4,535
[ "BLAST" ]
8e22d5a5c6faabcd208eb71f8893219c7180dcd207bedb0df624c19c6232850d
import time import logging import numpy as np from scipy.stats import mstats, ks_2samp from astroML.utils import check_random_state from plotting_functions import plot_CDFs_and_KS_results from io_grb_pop import read_column log = logging.getLogger(__name__) def draw_from_cdf_file(filename, N_draws, **args): """ ...
JPalmerio/GRB_population_code
grbpop/stats.py
Python
gpl-3.0
31,314
[ "Gaussian" ]
3b429e44fd8ab1f72c231cf998aaf894456dfe47956d4dcf9d2e46c9589a2424
from aiida import load_dbenv load_dbenv() from aiida.orm import Code, DataFactory import numpy as np StructureData = DataFactory('structure') ParameterData = DataFactory('parameter') codename = 'lammps_force@boston' ############################ # Define input parameters # ############################ # GaN cell ...
abelcarreras/aiida_extensions
plugins/launcher/launch_lammps_force_gan.py
Python
mit
3,383
[ "LAMMPS" ]
4d770a834ecde5599633f19e28254d4072149a70a50717e0789c93944da3cd05
############################################################################### # # Copyright (c) 2011 Ruslan Spivak # # 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 restriction, inc...
niwinz/cobrascript
cobra/compiler.py
Python
bsd-3-clause
12,829
[ "VisIt" ]
1cb99ea73ea42b26952bfe9232889c7c4f2ebe4ddd7aae9bf925085ffed2978b
from theano import function, shared from theano import tensor as TT import theano sharedX = (lambda X, name: shared(numpy.asarray(X, dtype=theano.config.floatX), name=name)) def kinetic_energy(vel): """Returns the kinetic energy associated with the given velocity and mass of 1. Parameters ...
DartML/SteinGAN
mnist/logz/hmc_single.py
Python
mit
15,607
[ "Gaussian" ]
4c55334af1f129328f53862e9dad2a9b0b1555d11367c7225b6a0ffd38ae4a1e
""" Classes for iterating variants with sequence context """ import pysam class Variant(object): """ A pysam.VariantRecord wrapper, with up- and down-stream sequence context. """ def __init__(self, record, upstream_sequence=None, downstream_sequence=None): self._record = record self.u...
stekaz/flankextractor
flankextractor/variant_readers.py
Python
gpl-3.0
4,273
[ "pysam" ]
c0b82736dec3984d74b089b9bc0a8630bbee6ca9e764b23bcd1116fc3b1b858c
CLASSIFIERS = { "Development Status :: 1 - Planning", "Development Status :: 2 - Pre-Alpha", "Development Status :: 3 - Alpha", "Development Status :: 4 - Beta", "Development Status :: 5 - Production/Stable", "Development Status :: 6 - Mature", "Development Status :: 7 - Inactive", "Envi...
regebro/pyroma
pyroma/classifiers.py
Python
mit
45,278
[ "CDK", "Napari" ]
f6bc43ac39fbb5e230d910d134fc9d632eb7f189f45184c209d8a03cb4726eca
""" Summary plots of SHAP values across a whole dataset. """ from __future__ import division import warnings import numpy as np import scipy as sp from scipy.stats import gaussian_kde try: import matplotlib.pyplot as pl except ImportError: warnings.warn("matplotlib could not be loaded!") pass from ._label...
slundberg/shap
shap/plots/_beeswarm.py
Python
mit
41,023
[ "Gaussian" ]
62f359f5db8499f5b60d89d75eae9525878c50a3b27d1225ae3bf34146d15f64
from frappe import _ data = [ { "label": _("Documents"), "icon": "icon-star", "items": [ { "type": "doctype", "name": "Support Ticket", "description": _("Support queries from customers."), }, { "type": "doctype", "name": "Customer Issue", "description": _("Customer Issue against...
gangadhar-kadam/hrerp
erpnext/config/support.py
Python
agpl-3.0
1,517
[ "VisIt" ]
6ed3779c0921082dee115bf0ea6847a3323b3fd8cc0c7c880d275fa3a40813b1
# This file is part of Buildbot. Buildbot is free software: you can # redistribute it and/or modify it under the terms of the GNU General Public # License as published by the Free Software Foundation, version 2. # # This program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without eve...
wainersm/buildbot
master/buildbot/test/unit/test_steps_shell.py
Python
gpl-2.0
40,271
[ "exciting" ]
324f6a140172dada9428132d969bfe0dfb617121d86ab9e1966cbc2e6567085b
# -*- Mode: python; tab-width: 4; indent-tabs-mode:nil; coding:utf-8 -*- # vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 fileencoding=utf-8 # # MDAnalysis --- http://www.mdanalysis.org # Copyright (c) 2006-2016 The MDAnalysis Development Team and contributors # (see the file AUTHORS for the full list of names) # ...
kain88-de/mdanalysis
testsuite/MDAnalysisTests/coordinates/test_timestep_api.py
Python
gpl-2.0
7,089
[ "LAMMPS", "MDAnalysis", "NetCDF" ]
7387c711d7e619fb77d9123179aae4d469e8d0b977a21a366cf85d6a8fb8a979
# ============================================================================ # # Copyright (C) 2007-2012 Conceptive Engineering bvba. All rights reserved. # www.conceptive.be / project-camelot@conceptive.be # # This file is part of the Camelot Library. # # This file may be used under the terms of the GNU General...
jeroendierckx/Camelot
camelot/view/import_utils.py
Python
gpl-2.0
16,886
[ "VisIt" ]
b77879b21e3ce8fb2bec865b4b334a98eee621b4753259b7e565e6678f77e0a0
############################################################ # Copyright 2010 Sandia Corporation. # Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, # the U.S. Government retains certain rights in this software. ############################################################ # Contact: Philippe Pebay...
Wuteyan/VTK
Examples/Infovis/Python/haruspex.py
Python
bsd-3-clause
18,434
[ "VTK" ]
ead647307b1d318c0a31e10d7ca22e1f2c08c51d6817ae76b9f46bed4bffcc2b