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
import neurokernel.mpi_relaunch import scipy.io as io from libSpineML2NK import nk_executable from libSpineML import smlExperiment import numpy as np import pdb e = nk_executable.Executable('./experiment0.xml') exp = e.bundle.experiments[0].Experiment[0] ai = exp.AbstractInput[0] mutant = io.loadmat('data/MutantBG6Da...
AdamRTomkins/libSpineML2NK
libSpineML2NK/examples/Narx/Narx_Python/run_python_params.py
Python
gpl-3.0
4,162
[ "NEURON" ]
a12c6d6f89baaad01acc869139cf4e58900fdb64aa6b0b3f63028a2115423918
#!/usr/bin/env python """ Author: Shane Bussmann, T. K. Daisy Leung Similar to uvmcmcfit.py, but here we edited it to - throw out a pre-defined number of burn-in samples; - save acceptance_fraction + misc stuff as a separate file - only save samples every some number of samples (instead of every iteratio...
astro313/uvmcmcfit
uvmcmcfit.py
Python
mit
26,614
[ "Gaussian" ]
6da86e0e84db89ff68fc2d2435fc82cb7e4800f4233c22f94e80359d3d83590e
# coding=utf-8 # Copyright 2018 The DisentanglementLib Authors. 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 # # Un...
google-research/disentanglement_lib
disentanglement_lib/postprocessing/postprocess.py
Python
apache-2.0
5,854
[ "Gaussian" ]
63a743e9a2a53619ac050af1fbf2f93320d6536cc6bc2a777f1fdbaa27383cfb
# -*- coding: utf-8 -*- """ InaSAFE Disaster risk assessment tool developed by AusAid and World Bank - **Shake Event Test Cases.** Contact : ole.moller.nielsen@gmail.com .. note:: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publishe...
easmetz/inasafe
realtime/test/test_shake_event.py
Python
gpl-3.0
28,049
[ "VisIt" ]
0886aa4f29310128d6884467fa5be5144c9003e8070e60064b61407566c47f25
#!/usr/bin/env python # coding: utf-8 # --- # syncID: e6ccf19a4b454ca594388eeaa88ebe12 # title: "Calculate Vegetation Biomass from LiDAR Data in Python" # description: "Learn to calculate the biomass of standing vegetation using a canopy height model data product." # dateCreated: 2017-06-21 # authors: Tristan Goulde...
NEONScience/NEON-Data-Skills
tutorials/Python/Lidar/lidar-biomass/calc-biomass_py/calc-biomass_py.py
Python
agpl-3.0
20,510
[ "Gaussian" ]
c955f9e13d4578e45731d9e2b2557a48a9ddb4ef00c1bf621034bb57a87a19c9
# Copyright (C) 2008-2009 Open Society Institute # Thomas Moroz: tmoroz@sorosny.org # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License Version 2 as published # by the Free Software Foundation. You may not use, modify or distribu...
boothead/karl
karl/scripts/mvcontent.py
Python
gpl-2.0
5,598
[ "VisIt" ]
a6ba758a84e44b0d9b6037e16851eb9d6b8429989ac80a53b663da03d6e26aff
# Dataset created from this: # Elements of Statistical Learning 2nd Ed.; Hastie, Tibshirani, Friedman; Feb 2011 # example 10.2 page 357 # Ten features, standard independent Gaussian. Target y is: # y[i] = 1 if sum(X[i]) > .34 else -1 # 9.34 is the median of a chi-squared random variable with 10 degrees of freedom # ...
111t8e/h2o-2
py/testdir_single_jvm/test_GLM2_hastie_shuffle.py
Python
apache-2.0
4,072
[ "Gaussian" ]
a0ff55b8108c6c52745087ee9471a857e41bc390bf689c203c30a3346c39eb02
import csv from typing import Dict import io import random import sys def _sanitize_id(x: str) -> str: return ''.join(str(random.randint(0, 9)) for _ in range(len(x))) first_names = [ 'Tom', 'Mary', 'Patricia', 'Linda', 'John', 'Brian', 'Jim', 'Nick', 'Sally', 'Cindy', 'Kelly', 'Kim', 'Maria' ] last_nam...
jbms/beancount-import
beancount_import/source/venmo_sanitize.py
Python
gpl-2.0
2,089
[ "Brian" ]
46f0dbfbcd87c524adebb60e4ab2e362cc7209c74384be475fc4054f28ec76e4
import pdb import numpy as np import math import time import chainer import chainer.functions as F import chainer.links as L from chainer import cuda from util import gaussian_logp from util import gaussian_logp0 class VAE(chainer.Chain): def __init__(self, dim_in, dim_hidden, dim_latent, num_layers, temperatur...
ashwindcruz/dgm
adgm_pose/model.py
Python
mit
6,764
[ "Gaussian" ]
63f87a7ce9b4f3aa324c69b8bb534c28a383cbb4877ece19b6a002f85e81718a
""" LDA: Linear Discriminant Analysis """ # Authors: Matthieu Perrot # Mathieu Blondel import warnings import numpy as np from scipy import linalg, ndimage from .base import BaseEstimator, ClassifierMixin, TransformerMixin from .utils.extmath import logsum class LDA(BaseEstimator, ClassifierMixin, Transfo...
ominux/scikit-learn
sklearn/lda.py
Python
bsd-3-clause
8,887
[ "Gaussian" ]
fd24022fbc67ee45497ce5f9d3f6c3956b145fda908c1b57c1b6dff0d789ffa8
#!/usr/bin/python from numpy import ones, append, array, mean, std; from math import sqrt, exp, pi; from math import log10; def checkScales(data, deg): 'If factors have varaying scales, module recommends to normalize data' cols = data.shape[1]; mx, mn = [], []; for i in range(cols): #find the exponent value for ea...
parejadan/accurp-engine
src/predictors.py
Python
mit
5,889
[ "Gaussian" ]
654f3e0049336ba238df62232d21ad89b16e6d479a05cd6d809616d2604b8ae5
#!/usr/bin/python # # Created on Aug 25, 2016 # @author: Gaurav Rastogi (grastogi@avinetworks.com) # Eric Anderson (eanderson@avinetworks.com) # module_check: supported # Avi Version: 16.3.8 # # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the te...
bjolivot/ansible
lib/ansible/modules/network/avi/avi_applicationprofile.py
Python
gpl-3.0
6,354
[ "VisIt" ]
51784f8ce6966c417c840f7c96e16a5587676837457eac4f73e8aa5b1994271d
""" Acceptance tests for Studio related to the acid xblock. """ from common.test.acceptance.fixtures.course import CourseFixture, XBlockFixtureDesc from common.test.acceptance.pages.common.auto_auth import AutoAuthPage from common.test.acceptance.pages.studio.overview import CourseOutlinePage from common.test.acceptanc...
fintech-circle/edx-platform
common/test/acceptance/tests/studio/test_studio_acid_xblock.py
Python
agpl-3.0
7,011
[ "VisIt" ]
f6dae4c25ccc2154ce38df7522c7b004d9dd39ebbff24797f3c4a586ae415f7d
# Author(s): TJ Lane (tjlane@stanford.edu) and Christian Schwantes # (schwancr@stanford.edu) # Contributors: Vince Voelz, Kyle Beauchamp, Robert McGibbon # Copyright (c) 2014, Stanford University # All rights reserved. """ Functions for computing forward committors for an MSM. The forward committor is defin...
Eigenstate/msmbuilder
msmbuilder/tpt/committor.py
Python
lgpl-2.1
9,898
[ "MDTraj", "VisIt" ]
345067534d9109e61ffff1f87d126a1acae1eb321ce958aa2be0a5ac15c1f20b
# Copyright (c) 2009-2021 The Regents of the University of Michigan # This file is part of the HOOMD-blue project, released under the BSD 3-Clause # License. """Anisotropic potentials.""" import json from hoomd import md from hoomd.md.pair.pair import Pair from hoomd.logging import log from hoomd.data.parameterdicts...
joaander/hoomd-blue
hoomd/md/pair/aniso.py
Python
bsd-3-clause
9,444
[ "HOOMD-blue" ]
cbb6c6b5bdab59a9c9977b0c4e971df08faf40c935f1bfd9acefb5e7e209f4bb
import json import boto3 from botocore.exceptions import ClientError import pytest import sure # pylint: disable=unused-import from moto import mock_iam invalid_policy_document_test_cases = [ { "document": "This is not a json document", "error_message": "Syntax errors in policy.", }, { ...
spulec/moto
tests/test_iam/test_iam_policies.py
Python
apache-2.0
51,224
[ "ADF" ]
1454b7287f7c39fd737d087489c9c9a3cf48a487d72e48cb28c8f5974d8ea2bb
import simtk.unit as u from simtk.openmm import app import simtk.openmm as mm import numpy as np from mdtraj.testing import eq from unittest import skipIf from openmoltools import utils import os import openmoltools.openeye import pandas as pd import mdtraj as md from mdtraj.testing import raises smiles_fails_with_str...
kyleabeauchamp/openmoltools
openmoltools/tests/test_openeye.py
Python
gpl-2.0
9,177
[ "MDTraj", "OpenMM" ]
28b2887bf33572a2c7b4eff1ad854d1f3ca9b9f3208fb1e9a8ddc62c8bfc1059
# Orca # # Copyright 2006-2009 Sun Microsystems Inc. # # This library 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 Foundation; either # version 2.1 of the License, or (at your option) any later version. # # This...
ruibarreira/linuxtrail
usr/lib/python3/dist-packages/orca/scripts/apps/planner/braille_generator.py
Python
gpl-3.0
2,812
[ "ORCA" ]
11fea9a82cd46cba7b09684557578a9206794249109b3fa3d54678a0a34dacaf
# Open EPW and STAT weather files together # # Ladybug: A Plugin for Environmental Analysis (GPL) started by Mostapha Sadeghipour Roudsari # # This file is part of Ladybug. # # Copyright (c) 2013-2015, Chris Mackey <Chris@MackeyArchitecture.com> # Ladybug is free software; you can redistribute it and/or modify # it...
samuto/ladybug
src/Ladybug_Open EPW And STAT Weather Files.py
Python
gpl-3.0
7,729
[ "EPW" ]
16990b42a5d4b81a61e4dfa6de10daa5e45d6dd5d4cf6f292209f64944552dc0
# -*- coding: utf-8 -*- # # ConnPlotter.py # # This file is part of NEST. # # Copyright (C) 2004 The NEST Initiative # # NEST 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, either version 2 of the License, or...
espenhgn/nest-simulator
extras/ConnPlotter/ConnPlotter.py
Python
gpl-2.0
83,899
[ "Gaussian", "NEURON" ]
e82e8e1895217bda93253a3556db418e5716075c2f70979a8cabda88088623da
# coding: utf-8 from __future__ import unicode_literals, division # This module implements new error handlers for QChem runs. import os from pymatgen.io.qchem.inputs import QCInput from pymatgen.io.qchem.outputs import QCOutput from custodian.custodian import ErrorHandler from custodian.utils import backup __author...
specter119/custodian
custodian/qchem/handlers.py
Python
mit
10,594
[ "pymatgen" ]
c108ef12022b45102447eacf188a0dcb99dbee6f199219e8a564e1db087f63f5
#!/usr/bin/env python # # Copyright (c) 2014-2016 Apple Inc. All rights reserved. # Copyright (C) 2015 Canon Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source cod...
teamfx/openjfx-8u-dev-rt
modules/web/src/main/native/Source/JavaScriptCore/Scripts/builtins/builtins_templates.py
Python
gpl-2.0
9,799
[ "VisIt" ]
7efacfb9fe9b06691704093bb0fe60e61f75ee012618f85003992bfbc98e0319
"""Define a graph of nodes-links-patches. Examples -------- >>> from landlab.graph import Graph >>> node_x, node_y = [0, 0, 0, 1, 1, 1, 2, 2, 2], [0, 1, 2, 0, 1, 2, 0, 1, 2] >>> graph = Graph((node_y, node_x)) >>> graph.x_of_node array([ 0., 1., 2., 0., 1., 2., 0., 1., 2.]) >>> graph.y_of_node array([ 0., 0...
csherwood-usgs/landlab
landlab/graph/graph.py
Python
mit
22,050
[ "NetCDF" ]
c72f82b3683d02ce3f9b034c858d04249df4cd8a1b8274279424bd754186e5dd
""" Test of the classical LM model for language modelling """ from groundhog.datasets import LMIterator from groundhog.trainer.SGD_momentum import SGD as SGD_m from groundhog.trainer.SGD import SGD from groundhog.mainLoop import MainLoop from groundhog.layers import MultiLayer, \ RecurrentMultiLayer, \ Re...
wavelets/GroundHog
scripts/DT_RNN_Tut_Ex.py
Python
bsd-3-clause
16,496
[ "Gaussian" ]
b405704d2b3ffbed22bcc10f46ea817ec179eede50d635f7c83201ded5aec0f3
# -*- coding: utf-8 -*- # Licensed under a 3-clause BSD style license - see LICENSE.rst # Author: Pauli Virtanen, 2016 from __future__ import (absolute_import, division, print_function, unicode_literals) import math import operator from .util import inf, nan, is_na def compute_stats(sample...
qwhelan/asv
asv/statistics.py
Python
bsd-3-clause
15,797
[ "Gaussian" ]
95a3dc9069b244fd12f56b344f40d3d95fab0cc44d83848630e57c1943babeef
# Example: How to prepare a new payment with the Mollie API, and render the QRcode. # import os import time from app import database_write, get_public_url from mollie.api.client import Client from mollie.api.error import Error PUBLIC_URL = get_public_url() def main(): try: # # Initialize the Mo...
mollie/mollie-api-python
examples/01-new-payment-using-qrcode.py
Python
bsd-2-clause
2,550
[ "VisIt" ]
12060e8b41630d5a487d12790095b24baa963114d4753f93c8c33407b9efc626
""" Infinite mixture model : A generalization of Bayesian mixture models with an unspecified number of classes """ import numpy as np from bgmm import BGMM, detsh from scipy.special import gammaln def co_labelling(z, kmax=None, kmin=None): """ return a sparse co-labelling matrix given the label vector z ...
bthirion/nipy
nipy/algorithms/clustering/imm.py
Python
bsd-3-clause
22,092
[ "Gaussian" ]
ee4652332bb2c1e65cf5a02ee4d3695b47d5bc46d8cadc69938c4087ed7970b4
# # create.py # # Python interface for the iRobot Create # # Zach Dodds dodds@cs.hmc.edu # updated for SIGCSE 3/9/07 #create.py #Written 2008-6-3 by Peter Mawhorter #Based on pyCreate's create module... this is a minimal version of that code. #create2.py #Added code for wait for angle, wait for distanc...
squirly/turtlecore-web-controller
web_control/create.py
Python
mit
42,747
[ "Amber" ]
3eed87ea72768cc5ee9be191e041519f008a5caad88e509995b97f77f56e0f97
"""Spectral index distributions.""" import numpy as np def constant(value=-1.4, shape=1): """Good for adopting a single value.""" return np.full(shape, value).astype(np.float32) def gauss(mean=-1.4, std=1, shape=1): """Generate spectral indices from a Gaussian distribution. Args: mean (floa...
davidgardenier/frbpoppy
frbpoppy/si_dists.py
Python
mit
554
[ "Gaussian" ]
d6d41729907469b8d1eafb66d9ccb25b7de8bdb04d332972012958cb38ed1abb
#!/usr/bin/env python """ move base utils modified from movebasesquare ren ye 2016-10-19 """ import rospy import actionlib from actionlib_msgs.msg import * from geometry_msgs.msg import Pose, Point, Quaternion, Twist, Vector3 from sensor_msgs.msg import NavSatFix from nav_msgs.msg import Odometry from move_ba...
ron1818/Singaboat_RobotX2016
robotx_nav/nodes/move_base_util.py
Python
gpl-3.0
13,497
[ "xTB" ]
3fa575789f887092ea58fb89eeee4cb7138f0af17c372245b3919cb16c1bc532
""" ================== Two-class AdaBoost ================== This example fits an AdaBoosted decision stump on a non-linearly separable classification dataset composed of two "Gaussian quantiles" clusters (see :func:`sklearn.datasets.make_gaussian_quantiles`) and plots the decision boundary and decision scores. The di...
depet/scikit-learn
examples/ensemble/plot_adaboost_twoclass.py
Python
bsd-3-clause
3,090
[ "Gaussian" ]
682f7336e14f031499bcb4e788010a5d9ca0fe890c1f1f9d070df223f01496cf
from distutils.core import setup from distutils.core import setup, Extension import numpy as np import os nonempty = lambda x: len(x) > 0 if os.getenv("C_INCLUDE_PATH") is not None: sys_includes = filter(nonempty, os.getenv("C_INCLUDE_PATH").split(':')) else: sys_includes = [] if os.getenv("LIBRARY_PATH") is ...
davmre/treegp
setup.py
Python
gpl-3.0
2,119
[ "Gaussian" ]
585410b11aad949fea04ad756ced0f4aa4aad2d502b7080ac60d9ebb231e94ad
from pybuilder.core import use_plugin, init, Author use_plugin("python.install_dependencies") use_plugin("python.core") #use_plugin("python.unittest") use_plugin("python.distutils") use_plugin('copy_resources') use_plugin('filter_resources') authors = [Author('Marco Hoyer', 'marco_hoyer@gmx.de')] description = """che...
marco-hoyer/check_http_yaml
build.py
Python
gpl-2.0
2,064
[ "VisIt" ]
6ffdcd8ebef98722859dec497a23af5a02592eafed3c6e0d84b7bfaf558df2fd
import openpathsampling as paths import openpathsampling.netcdfplus.chaindict as cd from openpathsampling.integration_tools import md, error_if_no_mdtraj from openpathsampling.engines.openmm.tools import trajectory_to_mdtraj from openpathsampling.netcdfplus import WeakKeyCache, \ ObjectJSON, create_to_dict, ObjectS...
openpathsampling/openpathsampling
openpathsampling/collectivevariable.py
Python
mit
24,689
[ "MDTraj", "OpenMM" ]
81ec6123fecacd5641a5d0e236bb68bef9215df4de7ace23c13fce7fe22d3db7
import sys import struct import traceback import envi import envi.bits as e_bits from envi.bits import binary #import sys #import struct #import traceback #import envi #import envi.bits as e_bits #from envi.bits import binary from envi.archs.arm.const import * from envi.archs.arm.regs import * # FIXME: TODO # FIX...
joshuahoman/vivisect
envi/archs/arm/disasm.py
Python
apache-2.0
74,993
[ "xTB" ]
94e1b8e95a10efccd296999ac8d8e8b6fe75485743e40ffc87ad92d5e3845ac1
# Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. import os import unittest from pathlib import Path from monty.serialization import dumpfn, loadfn from pymatgen.core.periodic_table import Element from pymatgen.entries.computed_entries import ComputedEntry from pymatgen.en...
materialsproject/pymatgen
pymatgen/entries/tests/test_entry_tools.py
Python
mit
2,920
[ "pymatgen" ]
387a5abd8f298138df41d2f34a8523567ee3995e239dd1a0a0dba0bc5f2ef51d
# -*- coding: utf-8 -*- """ Implements Optimistic Q-Learning for policies in pynfg.iterSemiNFG objects Created on Fri Mar 22 15:32:33 2013 Copyright (C) 2013 James Bono GNU Affero General Public License Author: Dongping Xie """ from __future__ import division import numpy as np import matplotlib.pylab as plt from...
jwbono/PyNFG
pynfg/levelksolutions/qlearning.py
Python
agpl-3.0
8,130
[ "VisIt" ]
19d699e268b4833df35b21ce66776f325d25474e9ec40e3fd5d0b725e6be633e
# -*- coding: utf-8 -*- # # This file is part of Lalf. # # Lalf 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, either version 3 of the License, or # (at your option) any later version. # # Lalf is distributed...
Roromis/Lalf-Forumactif
lalf/users.py
Python
gpl-3.0
13,345
[ "VisIt" ]
e57d5ac6bfb291229302b699920b74107686682ed5fa6049f641d3c9141b924c
# -*- coding: utf-8 -*- """ End-to-end tests for Student's Profile Page. """ from contextlib import contextmanager import unittest from datetime import datetime from bok_choy.web_app_test import WebAppTest from nose.plugins.attrib import attr from django.utils.timezone import UTC from ...pages.common.logout import Lo...
nttks/edx-platform
common/test/acceptance/tests/lms/test_learner_profile.py
Python
agpl-3.0
34,062
[ "VisIt" ]
cf3a9b4a044436b2a9f49897a6bce1988214a2436ae4b32888833d27fc0ad792
#!/usr/bin/env python3 """ refguide_check.py [OPTIONS] [-- ARGS] - Check for a NumPy submodule whether the objects in its __all__ dict correspond to the objects included in the reference guide. - Check docstring examples - Check example blocks in RST files Example of usage:: $ python refguide_check.py optimize...
grlee77/numpy
tools/refguide_check.py
Python
bsd-3-clause
38,039
[ "Gaussian" ]
b7160198742bd719f33862ab59077a9d9a185643b950644a248283bd3afc1483
#!/usr/bin/env/ python3 """ Convert ASCII files to NetCDF4 (plain text) """ import sys import argparse import numpy as np import netCDF4 args = [] if __name__ == '__main__': parser = argparse.ArgumentParser(description='convert file from ASCII to netCDF format', formatter_cla...
guilindner/VortexFitting
vortexfitting/convertToNC.py
Python
mit
3,315
[ "NetCDF" ]
4127b5bb467f506a10efc1cee8d237a4ade4cc082e78ae3ababe9a4a7a8d305e
# pylint: disable=R0201 # R0201: For testing methods which could be functions are fine. # # $Filename$ # $Authors$ # Last Changed: $Date$ $Committer$ $Revision-Id$ # Copyright (c) 2003-2011, German Aerospace Center (DLR) # All rights reserved. #Redistribution and use in source and binary forms, with or without...
DLR-SC/DataFinder
test/unittest/datafinder_test/core/item/visitor/base_test.py
Python
bsd-3-clause
11,462
[ "VisIt" ]
fc429b2e780cb4e03a56ad1f516f83ac1249fb477f49bc0361c184d89cb459d9
# Copyright 2008-2013 Nokia Siemens Networks Oyj # # 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 applicable law...
yamateh/robotframework
src/robot/running/model.py
Python
apache-2.0
8,153
[ "VisIt" ]
67eb96e855859a4295da56709e881d78337c91f5150a8c63e0e990a393fe0900
import pandas as pd from sklearn.ensemble import RandomForestClassifier from sklearn.ensemble import GradientBoostingClassifier from sklearn.ensemble import BaggingClassifier from sklearn.ensemble import AdaBoostClassifier from sklearn.ensemble import ExtraTreesClassifier from sklearn.neural_network import MLPClassifie...
rupakc/Kaggle-Compendium
Imperium - Detecting Insults in Social Commentary/imperium-baseline.py
Python
mit
2,791
[ "Gaussian" ]
8560ce1ec4a480b66755cc4cf3b8389de8a6ce3ecc59513e40cb9960ada7ac1a
"""Module containing constants.""" TEI_SOURCE_CBETA_GITHUB = 'cbeta-github' TEI_SOURCE_CHOICES = [TEI_SOURCE_CBETA_GITHUB] TOKENIZER_CHOICE_CBETA = 'cbeta' TOKENIZER_CHOICE_LATIN = 'latin' TOKENIZER_CHOICE_PAGEL = 'pagel' TOKENIZER_CHOICES = [TOKENIZER_CHOICE_CBETA, TOKENIZER_CHOICE_LATIN, TOKENI...
ajenhl/tacl
tacl/constants.py
Python
gpl-3.0
39,789
[ "Biopython" ]
396d06d7f24dd495ec81b972d27d229c4ea629bdff173ac037ed338fcd06a88e
""" ============================================================ Empirical evaluation of the impact of k-means initialization ============================================================ Evaluate the ability of k-means initializations strategies to make the algorithm convergence robust as measured by the relative stan...
florian-f/sklearn
examples/cluster/plot_kmeans_stability_low_dim_dense.py
Python
bsd-3-clause
4,310
[ "Gaussian" ]
9dd4f49a87fe90de95ac51fa0e9c3cde183063d869bb8348c9d57c44f3f87760
#!/usr/bin/env python # -*- coding: utf-8 -*- # (c) 2012-2013 Michal Kalewski <mkalewski at cs.put.poznan.pl> # # This file is a part of the Simple Network Simulator (sim2net) project. # USE, MODIFICATION, COPYING AND DISTRIBUTION OF THIS SOFTWARE IS SUBJECT TO # THE TERMS AND CONDITIONS OF THE MIT LICENSE. YOU SHO...
mkalewski/sim2net
sim2net/application.py
Python
mit
1,080
[ "VisIt" ]
f74d67bd8ecf7ce426c241ac4fd6ceabec1ebf071a9b30a04ce7f1298ec14f1d
#!/usr/bin/env python # # Copyright 2008,2009 Free Software Foundation, Inc. # # This file is part of GNU Radio # # GNU Radio 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; either version 3, or (at your opt...
GREO/GNU-Radio
gr-utils/src/python/usrp_siggen.py
Python
gpl-3.0
14,262
[ "Gaussian" ]
8d2ec17d0dd80dcf26605ba371bf93ba193a19b7dacfb0e68b87331f02aefb36
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals """ Testing code. Updated BSM March 2016 """ import unittest import os import numpy as np from itertools import product from pykrige import kriging_tools as kt from pyk...
basaks/PyKrige
pykrige/test.py
Python
bsd-3-clause
91,554
[ "Gaussian" ]
e2f92c283a90e45d1ebc80efbb618353c1f1ed7637b845ea2ced788726def630
# Copyright (C) 2012,2013 # Max Planck Institute for Polymer Research # Copyright (C) 2008,2009,2010,2011 # Max-Planck-Institute for Polymer Research & Fraunhofer SCAI # # This file is part of ESPResSo++. # # ESPResSo++ is free software: you can redistribute it and/or modify # it under the terms of t...
kkreis/espressopp
src/Real3D.py
Python
gpl-3.0
3,765
[ "ESPResSo" ]
c24b98c9b671c142934c441ad6f291261fbb140b190a3c01e1acf2121cbe6407
from django.core.exceptions import ValidationError from django.apps import apps # from edc_base.audit_trail import AuditTrail from edc_base.model.models import BaseUuidModel from edc_consent.models import RequiresConsentMixin from edc_constants.constants import ( YES, POS, NEG, FAILED_ELIGIBILITY) from edc_export....
TshepangRas/tshilo-dikotla
td_maternal/models/maternal_visit.py
Python
gpl-2.0
4,885
[ "VisIt" ]
adc70a6060b61a68311c35941691fe68648046ba910647f58da5f831e798e9a9
# # Copyright (C) 2014-2022 S[&]T, The Netherlands. # from __future__ import absolute_import, division, print_function from muninn._compat import string_types as basestring import copy import datetime import re import uuid import muninn.geometry as geometry from muninn.enum import Enum from muninn.exceptions impor...
stcorp/muninn
muninn/language.py
Python
bsd-3-clause
28,166
[ "VisIt" ]
3983548b0a2b0032ee920af45f933077198e22396e083bf26de8a526ee1c5d4f
#!/usr/bin/env python # -*- coding: utf8 -*- # ***************************************************************** # ** PTS -- Python Toolkit for working with SKIRT ** # ** © Astronomical Observatory, Ghent University ** # ***************************************************************** ##...
SKIRT/PTS
modeling/component/component.py
Python
agpl-3.0
19,107
[ "Galaxy" ]
e7c88510c6e10815db700ad3ba9b5d1d5f6431ad5d20c792a850c6cf542b6aab
#!/usr/bin/python #Audio Tools, a module and set of tools for manipulating audio data #Copyright (C) 2007-2012 Brian Langenberger #This program 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; either version 2...
R-a-dio/python-audio-tools
audiotools/py_encoders/wavpack.py
Python
gpl-2.0
53,576
[ "Brian" ]
623bd9261313a1fff65ac789c7a76e96814b387dc230517240af9f38bccad2d0
#!/usr/bin/env python ######################################################################## # $Header: $ ######################################################################## """ Remove the given file or a list of files from the File Catalog Example: $ dirac-dms-remove-catalog-files /formation/user/v/vhamar...
DIRACGrid/DIRAC
src/DIRAC/DataManagementSystem/scripts/dirac_dms_remove_catalog_files.py
Python
gpl-3.0
2,256
[ "DIRAC" ]
2284b905873232c4d59b59d22d352651c825f13f6d3889c41343306bc2e8402d
# -*- coding: utf-8 -*- #!/usr/bin/env python # # Copyright 2015 Diamond Light Source <stuart.fisher@diamond.ac.uk> # # 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:...
DiamondLightSource/SynchWeb
api/formulatrix/uploader/formulatrix_uploader.py
Python
apache-2.0
19,426
[ "VisIt" ]
301756e18af03cdc969acdacc05e98bb00911d755f86d43ea587b90814440eb8
''' This python script is intent to be ran in Paraview to process the z-stacks generated by the ImageJ macro StackGen.ijm. Please, note that the combination of Decimate and Smooth filter will produce a surface with reduced number of cells but that has more resolution in important parts of the mesh...
vianamp/MitoMembranes
xmlgenerator/SurfaceGen.py
Python
apache-2.0
2,586
[ "ParaView", "VTK" ]
b9a7cc41af8c025bc0da0ca6ab464cae8abc3c36e59764b3c3a282fb6c73721b
"""Equal Groups K-Means clustering utlizing the scikit-learn api and related utilities. BSD 3-clause "New" or "Revised" License version 0.17.1 """ import warnings import numpy as np import scipy.sparse as sp from sklearn.base import BaseEstimator, ClusterMixin, TransformerMixin from sklearn.cluster import k_means...
ndanielsen/Same-Size-K-Means
clustering/equal_groups.py
Python
bsd-3-clause
31,478
[ "Gaussian" ]
fc5d0508ffb08fd142121e8842ae34a53308afd1a4bf5b407868866fef592485
__author__ = 'fabian' from collections import deque import time import requests # Constants BRAZIL = 'br' EUROPE_NORDIC_EAST = 'eune' EUROPE_WEST = 'euw' KOREA = 'kr' LATIN_AMERICA_NORTH = 'lan' LATIN_AMERICA_SOUTH = 'las' NORTH_AMERICA = 'na' OCEANIA = 'oce' RUSSIA = 'ru' TURKEY = 'tr' JAPAN = 'jp' regions = ['br',...
fab0l1n/lolXtension
RIOTWatcher.py
Python
gpl-3.0
23,937
[ "CRYSTAL" ]
0c85e1ddcff4ea8158e43e2c22bb020a59debbdb5e7a85f51c05c6b76e0f1ef2
# proxy module from __future__ import absolute_import from mayavi.filters.delaunay3d import *
enthought/etsproxy
enthought/mayavi/filters/delaunay3d.py
Python
bsd-3-clause
94
[ "Mayavi" ]
53db3c665cf001c037f79ca09cc1cdd7141fc727a0779d0575977011aa5f9d76
# Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import os import unittest import six from telemetry import decorators from telemetry.core import util from core import find_dependencies class FindDepen...
nwjs/chromium.src
tools/perf/core/find_dependencies_unittest.py
Python
bsd-3-clause
3,040
[ "MOOSE" ]
d0bba683e388fcea632060eb03ce0d0e87943176818737e66b26002bc79dab3d
import argparse import re import Bio import Bio.Phylo from datetime import datetime import gzip import os, json, sys import pandas as pd import subprocess import shlex from contextlib import contextmanager from treetime.utils import numeric_date from collections import defaultdict from pkg_resources import resource_str...
nextstrain/augur
augur/utils.py
Python
agpl-3.0
26,113
[ "Biopython" ]
f56e3292b0362e7ea573bc856b1784d7fbe7f68a5572a54d40d49c6ae1cfb025
""" provide a generic structure to support window functions, similar to how we have a Groupby object """ from __future__ import division import warnings import numpy as np from collections import defaultdict import pandas as pd from pandas.lib import isscalar from pandas.core.base import PandasObject, SelectionMix...
pjryan126/solid-start-careers
store/api/zillow/venv/lib/python2.7/site-packages/pandas/core/window.py
Python
gpl-2.0
49,027
[ "Gaussian" ]
6037a2956accbb776f6e0a69cdc0ce313eb6a5107ffd4023a57805368f17c30a
# coding: utf-8 # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. import unittest import os from pymatgen.analysis.molecule_matcher import MoleculeMatcher from pymatgen.analysis.molecule_matcher import IsomorphismMolAtomMapper from pymatgen.analysis.molecule_matcher import ...
fraricci/pymatgen
pymatgen/analysis/tests/test_molecule_matcher.py
Python
mit
6,171
[ "pymatgen" ]
9f474c95eddbc5ecb917dc894e7fd27f9d9bc2726f51d44fd2cdf576d6943cbc
# -*- coding: utf-8 -*- """ *==LICENSE==* CyanWorlds.com Engine - MMOG client, server and tools Copyright (C) 2011 Cyan Worlds, Inc. This program 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, either version 3...
zrax/moul-scripts
Python/Teledahn.py
Python
gpl-3.0
3,389
[ "VisIt" ]
d1b93f20d059380f0972d4ca75963953f2f5b6e70a0ba47a268a9fbb0b945062
import numpy from gauss import * from matmul import * # tests of gaussian elimination A = numpy.array([ [1, 1, 1], [-1, 2, 0], [2, 0, 1] ], dtype=numpy.float64) b = numpy.array([6, 3, 5], dtype=numpy.float64) # gaussElim changes A in place -- send a copy x, d = gaussElim(A.copy(), b.copy(), returnDet=1) # test it ...
bt3gl/Numerical-Methods-for-Physics
others/lin_algebra/gauss-test.py
Python
apache-2.0
1,577
[ "Gaussian" ]
b98134a8c0a009cc81b359512d4c3d7bb0a933444724c230b75dc3b13cd9dace
#!/usr/bin/env python3 import os import sys import random import time from random import seed, randint import argparse import platform from datetime import datetime import imp import numpy as np import fileinput # from run_parameter import * parser = argparse.ArgumentParser( description="This is a python3 script to...
luwei0917/awsemmd_script
variable_test_run.py
Python
mit
13,027
[ "Brian", "LAMMPS" ]
a0739a16c9e9a837a1fd865dba4162070e0159d5f426fb4b35a19b2301044e48
""" This pipeline is intended to extract edge information from T2W images. """ import os import numpy as np from protoclass.data_management import T2WModality from protoclass.data_management import GTModality from protoclass.preprocessing import RicianNormalization from protoclass.preprocessing import GaussianNorma...
I2Cvb/mp-mri-prostate
pipeline/feature-extraction/t2w/pipeline_extraction_edge_t2w.py
Python
mit
4,554
[ "Gaussian" ]
cf85099ae532451fc288352e6a2bfbe4a968c636d651827e6b7a88b5b9605007
from __future__ import absolute_import from typing import Any, Dict, List, Set, Tuple, TypeVar, Text, \ Union, Optional, Sequence, AbstractSet, Pattern, AnyStr from typing.re import Match from zerver.lib.str_utils import NonBinaryStr from django.db import models from django.db.models.query import QuerySet from dja...
dawran6/zulip
zerver/models.py
Python
apache-2.0
62,996
[ "VisIt" ]
30c9657ab075a5214f0a72a6baaa21136222de21635e3c0e4462cdf2d27dd3ab
import numpy as np import math import pdb import matplotlib.pyplot as plt ########################################################################### # # This module holds the definitions for various basis functions that # are routinely used in variational Bayesian regression applications. # The functions must be def...
tomevans/linvb
linvb/vbr_basis_functions.py
Python
gpl-2.0
6,559
[ "Gaussian" ]
211c43293eda53066ab593bd7d4082817e5b1c7d39c388a06ed4576dac869473
# POVME Pocket ID 1.0 is released under the GNU General Public License # (see http://www.gnu.org/licenses/gpl.html). # If you have any questions, comments, or suggestions, please don't hesitate to contact me, # Jacob Durrant, at jdurrant [at] ucsd [dot] edu. import sys import numpy from scipy import spatial from sci...
j-wags/POVME
POVME_version_for_paper_do_not_modify/POVME_pocket_id.py
Python
gpl-3.0
51,500
[ "VMD" ]
070e34a7451b4b5addee1228a5e6ea50a516ed2b5acf05add1ad7800f72197a7
# -*- coding: utf-8 -*- """INI simulator with temporal pattern code. @author: rbodo """ import tensorflow as tf import numpy as np from snntoolbox.simulation.target_simulators.\ INI_temporal_mean_rate_target_sim import SNN as SNN_ from snntoolbox.simulation.utils import get_layer_synaptic_operations, \ remov...
NeuromorphicProcessorProject/snn_toolbox
snntoolbox/simulation/target_simulators/INI_temporal_pattern_target_sim.py
Python
mit
5,979
[ "NEURON" ]
6594c8fca7ab539f8a9b7c0e367b9013895fb0c6923e4be09c7fd8aa91c78f0f
# Copyright (C) 2016, Davit Samvelyan # # This file is part of YouCompleteMe. # # YouCompleteMe 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, either version 3 of the License, or # (at your option) any later ...
snakeleon/YouCompleteMe-x64
python/ycm/buffer.py
Python
gpl-3.0
4,644
[ "VisIt" ]
ff40f76c4ae7c3f9ecf6fd5a0dbf648fbf2defc4cc38547676b117ab0eeb1ec9
""" Useful support routines (for internal use). These functions aren't really Zero Install specific; they're things we might wish were in the standard library. @since: 0.27 """ # Copyright (C) 2009, Thomas Leonard # See the README file for details, or visit http://0install.net. from zeroinstall import _ import os, ...
pombredanne/zero-install
zeroinstall/support/__init__.py
Python
lgpl-2.1
2,369
[ "VisIt" ]
e9f5d805d24eb6ce5ae548c66f299fb4f1f843993126f9d34183f3cd175921bb
# -*- coding: utf-8 -*- # Author: Vincent Dubourg <vincent.dubourg@gmail.com> # (mostly translation, see implementation details) # Licence: BSD 3 clause """ The :mod:`sklearn.gaussian_process` module implements scalar Gaussian Process based predictions. """ from .gaussian_process import GaussianProcess from ...
valexandersaulys/airbnb_kaggle_contest
venv/lib/python3.4/site-packages/sklearn/gaussian_process/__init__.py
Python
gpl-2.0
454
[ "Gaussian" ]
4a18d4b4a34b02d1e2c36b8c99f6866f21010ebfe275d3e2c8df120aaacf33b5
# remotefilelogserver.py - server logic for a remotefilelog server # # Copyright 2013 Facebook, Inc. # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. from mercurial import wireproto, changegroup, match, util, changelog, context fro...
pycontribs/remotefilelog
remotefilelog/remotefilelogserver.py
Python
gpl-2.0
11,639
[ "VisIt" ]
8c91f645f3c530154bf3c7503e5f200a6596779734085cea8b5e0640c3b0bc16
''' Created on 2012-09-29 A simple script that reads WRF netcdf-4 file and displays a 2D field in a proper geographic projection; application here is plotting precipitation in the inner WRF domain. @author: Andre R. Erler ''' ## includes # matplotlib config: size etc. import numpy as np import matplotlib.pylab as py...
aerler/WRF-Projects
src/archive/plotPrecip.py
Python
gpl-3.0
6,161
[ "NetCDF" ]
96865cea41c55c55d2e8bc6e380f73ddbbbbac2eea5b1b4952f5f7fa50e4281b
#!/usr/bin/python from __future__ import print_function import py2neo, sys, json, anydbm, os, optparse, base64 from timeit import default_timer as timer import snomed_g_lib_neo4j # ----------------------------------------------------------------------------- # Module: snomed_g_TC_tools.py # Purpose: Compute Transiti...
rorydavidson/SNOMED-CT-Database
NEO4J/snomed_g_TC_tools.py
Python
mit
20,561
[ "VisIt" ]
377bf1aa803f777d5cd91b0530f1a86a03dff6dd311eb092f81d7ef6495b0e6d
# author: brian dillmann # for rscs # this might be a useless class - dont give af class Transition: def __init__(self, destinationStateName, condition, evaluator): self.destination = destinationStateName self.condition = condition self.evaluator = evaluator def evaluate(self): return self.evaluator.evaluat...
dillmann/rscs
lib/Graph/Transition.py
Python
mit
338
[ "Brian" ]
cc9c0c3c67a0fd5947e52120b0ba624f2beeaebbd6c1b8d1b0df27a3415c11f3
from ..instrumenters import InstrumentPlugin from ...metrics import formatting import time import logging log = logging.getLogger( __name__ ) GALAXY_SLOTS_KEY = "galaxy_slots" START_EPOCH_KEY = "start_epoch" END_EPOCH_KEY = "end_epoch" RUNTIME_SECONDS_KEY = "runtime_seconds" class CorePluginFormatter( formatting.Jo...
mikel-egana-aranguren/SADI-Galaxy-Docker
galaxy-dist/lib/galaxy/jobs/metrics/instrumenters/core.py
Python
gpl-3.0
3,185
[ "Galaxy" ]
39040963f42ed682c0561fa826658e8a5b5a889317fa9cd3f4e21f3ee3294807
#!/usr/bin/env python ## ## See COPYING file distributed along with the ncanda-data-integration package ## for the copyright and license terms ## """ xnat_scans_filter.py ====================== This script filters the csv file generated using xnat_extractor.py. This filters is based on records from XNAT where there i...
nicholsn/ncanda-data-integration
scripts/reporting/xnat_scans_filter.py
Python
bsd-3-clause
5,552
[ "VisIt" ]
314ef162b5f6d2432aac2c19d168b632f55943d5da9bcd18b7a131db1fa1f7fd
#!/usr/bin/env python import argparse import copy import logging import re import sys from cpt_gffParser import gffParse, gffWrite, gffSeqFeature logging.basicConfig(level=logging.INFO) log = logging.getLogger(name="blastxml2gff3") __doc__ = """ BlastXML files, when transformed to GFF3, do not normally show gaps in t...
TAMU-CPT/galaxy-tools
tools/jbrowse/blastxml_to_gapped_gff3.py
Python
gpl-3.0
10,031
[ "BLAST" ]
2f9ca991786f67c97c957efafee5cc410ec0e1d91420836031099080dd6ffd55
#!/usr/bin/env python # -*- coding: utf-8 -*- # # StereoscoPy for GIMP # # Copyright (C) 2018 Seán Hewitt <contact@2sh.me> # # This program 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, either version 3 of t...
SeanHewitt/stereosco.py
gimp_plugin/stereoscopy-gimp.py
Python
gpl-3.0
6,114
[ "Amber" ]
a027e111dfd6febbd7f26be3cc46f420977d8d79f790ffc4a145fa0db36d74fb
### ### This script can be run with pvpython rather than pvbatch, as it does not ### need mpi. ### ### Purpose: ### ### See the purpose description in the script "hacc_magnitude_halos.py", as ### this script does the exact same thing, but for the points density image data ### files. ### ### Input Files: ### ### ...
Kitware/cinema
scripts/data_generation/cosmology/hacc_volume_halos.py
Python
bsd-3-clause
9,226
[ "ParaView" ]
9d0e6432010af448d6619840ea4189409f241a183caf657408a053c873aa4236
# Copyright (c) 2017-2019 The University of Manchester # # This program 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, either version 3 of the License, or # (at your option) any later version. # # This progra...
project-rig/spalloc_server
spalloc_server/allocator.py
Python
gpl-2.0
45,698
[ "VisIt" ]
04bc8f20d320a2dcd9f2434088b517d2176264a105a31882bb2748d601736108
# Copyright 2003-2008 by Leighton Pritchard. All rights reserved. # Revisions copyright 2008-2009 by Peter Cock. # This code is part of the Biopython distribution and governed by its # license. Please see the LICENSE file that should have been included # as part of this package. # # Contact: Leighton Pritchard,...
zjuchenyuan/BioWeb
Lib/Bio/Graphics/GenomeDiagram/_AbstractDrawer.py
Python
mit
19,362
[ "Biopython" ]
2306a92a6055011b38848ce621b5a5f8f1b66807261670f5950b09eb92b33436
import os from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages with open("README.rst") as f: long_desc = f.read() ind = long_desc.find("\n") long_desc = long_desc[ind + 1:] setup( name="custodian", packages=find_packages(), version="0.8.1", inst...
alberthxf/custodian
setup.py
Python
mit
1,560
[ "NWChem", "VASP", "pymatgen" ]
67769fd8decb4185f9cc8e137d1965cfa8413d5c744dc49f1a178f45332c1245
""" This module contains updated code for dealing with query objects in Goat. Idea is to provide a common set of attributes that all queries possess and then add more attributes and methods in subclasses to allow different subtypes to be coded in a representative manner. """ from persistent import Persistent from bin...
chris-klinger/Goat
queries/query_objects.py
Python
gpl-3.0
4,653
[ "BLAST" ]
7ee8de1ae5ad4cd3a596f6855cb349b109f05654a6b961aaa67f65663752f636
from __future__ import print_function, division, unicode_literals import os import operator from pymatgen.phasediagram.analyzer import PDAnalyzer from pymatgen.phasediagram.maker import PhaseDiagram from pymatgen.core.structure import Structure from pymatgen.io.vasp.outputs import Vasprun from pymatgen.entries.compu...
ashtonmv/twod_materials
twod_materials/stability/analysis.py
Python
gpl-3.0
6,441
[ "VASP", "pymatgen" ]
0a36cf52460f80529a2bf2b885ff46e00d8809d77bc91ac023625013ed55c8b3
#-*- coding:utf-8 -*- from __future__ import division from keras.layers import Convolution2D ,MaxPooling2D,Flatten from keras.layers.core import Dense, Dropout, Activation from keras.models import Sequential from keras.optimizers import SGD from keras.utils import np_utils from sklearn.cross_validation import train_tes...
Jesse-Back/mach_image_proc
modeling.py
Python
gpl-3.0
6,724
[ "NEURON" ]
f47159ca8f0c0beb2f5dbacf410fabcbbbeeefc649ef8c568deabaa9317ab129
# Copyright (C) 2012,2013 # Max Planck Institute for Polymer Research # Copyright (C) 2008,2009,2010,2011 # Max-Planck-Institute for Polymer Research & Fraunhofer SCAI # # This file is part of ESPResSo++. # # ESPResSo++ is free software: you can redistribute it and/or modify # it under the terms of the G...
espressopp/espressopp
src/integrator/VelocityVerlet.py
Python
gpl-3.0
1,804
[ "ESPResSo" ]
ad86a626a5d6ef923637d38d2c9b821178b1d07c0dd38a9531e09ac63a292df1
# Copyright 2020 Google LLC # # 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 applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
tests/test_functions/cloud_events/main.py
Python
apache-2.0
1,382
[ "Galaxy" ]
171057fbdef766ad0c8ca4c6ba54bcb3baeb5c49f2438bbbdd05267f12292e95
from handlers import handlers, handler from handlers.base import BaseHandler import dns.resolver from conf import config, debug_logger import logging import hashlib import nss.nss as nss from tls import nssconfig from nss.error import NSPRError intended_usage = nss.certificateUsageSSLServer logger = logging.getLogg...
alvarofe/cassle
handlers/dane.py
Python
gpl-3.0
6,178
[ "VisIt" ]
c40e975efe6ea4d10ff6edea8deaf4eb8c372e6ce0e3c1f5ccf4d4e2d0e0b18d
from edc_appointment.models import Appointment from edc_constants.constants import YES, NOT_REQUIRED, UNKEYED from edc_registration.models import RegisteredSubject from edc_rule_groups.classes import RuleGroup, site_rule_groups, Logic, CrfRule, RequisitionRule from tshilo_dikotla.constants import NO_MODIFICATIONS, STA...
botswana-harvard/tshilo-dikotla
td_infant/rule_groups.py
Python
gpl-2.0
10,566
[ "VisIt" ]
420a27f192a6775b446e0bcda0a41668a1e4d28dd32984cbb010c41c362fc01b
# This file is part of the Fluggo Media Library for high-quality # video and audio processing. # # Copyright 2010 Brian J. Crowell <brian@fluggo.com> # # This program 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 Founda...
fluggo/Canvas
fluggo/ezlist.py
Python
gpl-3.0
4,860
[ "Brian" ]
e709e4025ee82fb2ef83c00420f0678ecf6405f7820c797ea9ae3e363ac2a504
# -*- coding: utf-8 -*- # Generated by Django 1.9.4 on 2016-03-18 14:20 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Galaxy'...
craigderington/SagittariusA
milkyway/galaxies/migrations/0001_initial.py
Python
gpl-3.0
1,376
[ "Galaxy" ]
6fa6196dcc13bc885f7b870a3f94f00aa1348bc8d5cc3cdad56daa4c821aa47d
# Copyright 2013-2017, Brian May # # This file is part of python-alogger. # # python-alogger 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, either version 3 of the License, or # (at your option) any later ver...
Karaage-Cluster/python-alogger
alogger/parsers/__init__.py
Python
gpl-3.0
2,411
[ "Brian" ]
07e39f675820be3ba2074eae6bc1a062ab3bd82503d3b2be19f8a2ad3f1dd7ae
############################################################################## # 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...
EmreAtes/spack
var/spack/repos/builtin/packages/ncl/package.py
Python
lgpl-2.1
10,803
[ "NetCDF" ]
8f2e50d69b31a67f7a29cc9299ce2b9f1773e6fd68597e9f88734bd63cec8e56
""" Current source classes for the brian module. Classes: DCSource -- a single pulse of current of constant amplitude. StepCurrentSource -- a step-wise time-varying current. ACSource -- a sine modulated current. NoisyCurrentSource -- a Gaussian whitish noise current. :copyright: C...
anupkdas-nus/global_synapses
pyNN-dispackgaes/brian/standardmodels/electrodes.py
Python
gpl-3.0
7,143
[ "Brian", "Gaussian", "NEURON" ]
45c9e07b194857600c686a72fa85b5b19f1089ed8a14a84ace14e286a27cbd3b
# Copyright (C) 2012,2013 # Max Planck Institute for Polymer Research # Copyright (C) 2008,2009,2010,2011 # Max-Planck-Institute for Polymer Research & Fraunhofer SCAI # # This file is part of ESPResSo++. # # ESPResSo++ is free software: you can redistribute it and/or modify # it under the terms of t...
BackupTheBerlios/espressopp
src/interaction/LJcos.py
Python
gpl-3.0
7,660
[ "ESPResSo" ]
c3f41f9f0532a6399c4a758810f34496298584db9aac44d9551fffc3e4521181