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
# -*- coding: utf-8 -*- # Docker, starting from 0.7.x, generates names from notable scientists and hackers. # Please, for any amazing man that you add to the list, consider adding an equally amazing woman to it, and vice versa. RIGHT = [ # Muhammad ibn Jābir al-Ḥarrānī al-Battānī was a founding father of astronomy....
kdoichinov/pynamesgen
constants.py
Python
gpl-3.0
29,819
[ "Brian" ]
a3eca2bb0b140f15e97c26e211aa8ed2a4ad2cbb2ee71bbd95f70616b36b4067
import os import time import tarfile import xml.sax import numpy as np from gpaw.mpi import broadcast as mpi_broadcast from gpaw.mpi import world from gpaw.io import FileReference intsize = 4 floatsize = np.array([1], float).itemsize complexsize = np.array([1], complex).itemsize itemsizes = {'int': intsize, 'float...
robwarm/gpaw-symm
gpaw/io/tar.py
Python
gpl-3.0
8,285
[ "GPAW" ]
c833d53ba45eedb5867db6ce554ac22186583b4838f52bc43c083592deb88b80
# # 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. # # Written (C) 2012-2013 Heiko Strathmann # from numpy import * from py...
curiousguy13/shogun
examples/undocumented/python_modular/graphical/statistics_linear_time_mmd.py
Python
gpl-3.0
6,345
[ "Gaussian" ]
e889eae7fce9e6fe0c398a2e3aa56ec882ff571584b1fa41edd24d632b4e242a
"""Python bindings for 0MQ.""" # # Copyright (c) 2010 Brian E. Granger # # This file is part of pyzmq. # # pyzmq is free software; you can redistribute it and/or modify it under # the terms of the Lesser GNU General Public License as published by # the Free Software Foundation; either version 3 of the L...
takluyver/pyzmq
zmq/__init__.py
Python
lgpl-3.0
1,389
[ "Brian" ]
d1e9734f3a281fef58d30fd16ae73f20eda9ca4e723821a0293cf67ea72abddd
#! test QC_JSON Schema noncontiguous mol import numpy as np import psi4 import json # Generate JSON data json_data = { "schema_name": "qc_schema_input", "schema_version": 1, "molecule": { "geometry": [ 0.0, 0.0, -0.1294769411935893, 0.0, -1.494187339479985, 1.02744650792456...
CDSherrill/psi4
tests/json/schema-1-throws/input.py
Python
lgpl-3.0
1,737
[ "Psi4" ]
3e1fb9ce4f17191992d9c1cac99cec9fda57ac464b2de31e3e6800c20ab4f6d3
from __future__ import unicode_literals import base64 import datetime import hashlib import json import netrc import os import re import socket import sys import time import math from ..compat import ( compat_cookiejar, compat_cookies, compat_etree_fromstring, compat_getpass, compat_http_client, ...
pim89/youtube-dl
youtube_dl/extractor/common.py
Python
unlicense
96,165
[ "VisIt" ]
a5497e905b54d25e126c0473d290f45a51e71ac895598a4bb236767791710d41
# Standard Python packages import math, cmath import re import itertools import numbers import random # Special dependencies import numpy, numpy.random # sudo apt-get install python-numpy # import minuit # no package # Augustus dependencies from augustus.kernel.unitable import UniTable # Cassius interdependencies im...
opendatagroup/cassius
tags/cassius_0_1_0_1/cassius/containers.py
Python
apache-2.0
145,496
[ "Gaussian" ]
a2d7b9854171d63b5436deb340ba739763f45cbdaac366df23202692ac153191
# 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. import re import parser, util, error, discovery, hbisect, phases import node import...
jordigh/mercurial-crew
mercurial/revset.py
Python
gpl-2.0
64,224
[ "VisIt" ]
db2927eac050628eedab4a0fdaf06c60e5623084e54dc4f1d30a9ba3d7b2a951
from __future__ import absolute_import import numpy as np import tensorflow as tf from . import likelihood class Gaussian(likelihood.Likelihood): def __init__(self, std_dev=1.0): # Save the raw standard deviation. Note that this value can be negative. self.raw_std_dev = tf.Variable(std_dev) ...
danmackinlay/AutoGP
autogp/likelihoods/gaussian.py
Python
apache-2.0
666
[ "Gaussian" ]
7b77b8babb59a3d31a6e9a46b803048427f8ff92e842336b0c5cf8685b05aef1
# # tsne.py # # Implementation of t-SNE in Python. The implementation was tested on Python 2.5.1, and it requires a working # installation of NumPy. The implementation comes with an example on the MNIST dataset. In order to plot the # results of this example, a working installation of matplotlib is required. # The ...
masoodking/LinkPrediction
tsne_python/tsne.py
Python
bsd-3-clause
5,760
[ "Gaussian" ]
0b328747446cc00c86f5cf1b83492f0cdd7774932cccce7bc01081545f9b0dfd
../../../../../../../share/pyshared/orca/scripts/apps/Instantbird/chat.py
Alberto-Beralix/Beralix
i386-squashfs-root/usr/lib/python2.7/dist-packages/orca/scripts/apps/Instantbird/chat.py
Python
gpl-3.0
73
[ "ORCA" ]
4dae61a35462c8e994f3065477f5bf9e4208546d75f7540b783e8aa08228561f
from warnings import warn import numpy as np from scipy.stats import norm as ndist from ..constraints.affine import constraints from .debiased_lasso_utils import solve_wide_ def debiasing_matrix(X, rows, bound=None, linesearch=True, # do a linesearch? ...
selective-inference/selective-inference
selectinf/algorithms/debiased_lasso.py
Python
bsd-3-clause
12,209
[ "Gaussian" ]
22ed089069ecd4b5f8266ee2790d1b7b51057f09a6cba07743acf59dfbf6da1c
# # Copyright © 2012 - 2021 Michal Čihař <michal@cihar.com> # # This file is part of Weblate <https://weblate.org/> # # 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 Lice...
phw/weblate
weblate/utils/licensedata.py
Python
gpl-3.0
69,321
[ "NetCDF" ]
8a1d01449f963bdfd39c6ff51bd031b941e0a07f052059ce1aadccc6fc310c59
""" Unit tests for masquerade. """ import json import pickle from datetime import datetime from django.conf import settings from django.urls import reverse from django.test import TestCase from mock import patch from pytz import UTC from capa.tests.response_xml_factory import OptionResponseXMLFactory from courseware....
Stanford-Online/edx-platform
lms/djangoapps/courseware/tests/test_masquerade.py
Python
agpl-3.0
21,539
[ "VisIt" ]
dfeb73e6c99cf0c5071906186943912c32bacde5c5e1739ba86b6081d63a9bb8
#!/usr/bin/env python # # Electrum - lightweight Bitcoin client # Copyright (C) 2011 thomasv@gitorious # # 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, # including witho...
romanz/electrum
lib/old_mnemonic.py
Python
mit
17,747
[ "CRYSTAL", "VisIt" ]
78bd7cbcb9fbc36ddbb6b410149694742053760d68e985db3e03d33c9512ba4a
import sys from ase import Atoms from gpaw import GPAW, FermiDirac from gpaw import KohnShamConvergenceError from gpaw.utilities import devnull, compiled_with_sl from ase.data.molecules import molecule # Calculates energy and forces for various parallelizations tolerance = 4e-5 parallel = dict() basekwargs = dict...
qsnake/gpaw
gpaw/test/parallel/fd_parallel_kpt.py
Python
gpl-3.0
4,179
[ "ASE", "GPAW" ]
6237cf5f062eddd78ceaad94a29adb256e751ec0bcb0aa46b07949736230a1a8
# -*- coding: utf-8 -*- # HORTON: Helpful Open-source Research TOol for N-fermion systems. # Copyright (C) 2011-2016 The HORTON Development Team # # This file is part of HORTON. # # HORTON is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by th...
crisely09/horton
horton/periodic.py
Python
gpl-3.0
9,840
[ "Dalton" ]
c8ecb5397328963748cf3f20873bd144ee819e736817cdff9d9c688c8afc8570
__author__ = 'Christoph Heindl' __copyright__ = 'Copyright 2017, Profactor GmbH' __license__ = 'BSD' import glob import os import numpy as np import re import matplotlib.pyplot as plt import matplotlib from mpl_toolkits.axes_grid1 import make_axes_locatable from sensor_correction.utils import mask_outliers import s...
cheind/rgbd-correction
sensor_correction/apps/plot_corrected_depth.py
Python
bsd-3-clause
3,751
[ "Gaussian" ]
4ae989ed1a85fb0f05d65121b45a4e01837683c6752b337841b4eebbc1f5282a
import os, subprocess import tkMessageBox def popupInfo(title, message): tkMessageBox.showinfo(title=title, message=message) def popupError(title, message): tkMessageBox.showerror(title=title, icon=tkMessageBox.WARNING, message=message) def startFiles(*filepaths): """Takes a sequence of filepath strings."...
dave-the-scientist/molecbio
rosettaApps/util.py
Python
gpl-3.0
13,477
[ "PyMOL" ]
26ef0de0a8b8bdbb2bd46a2267b27974ad4f19df6a38050da7807b07e5fc6997
"""@See preprocessed data """ from numpy import arange, sin, pi from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg, NavigationToolbar2TkAgg from matplotlib.backend_bases import key_press_handler from matplotlib.figure import Figure from matplotlib.path import Path import matplotlib.patches as patches from ...
enriquecoronadozu/HMPy
src/Creator.py
Python
gpl-3.0
22,258
[ "Gaussian" ]
208e3072225d47837e27ce39c57117bc378e7f22c951584143f7113b85238fe6
############################################################################## # Copyright (c) 2013-2017, 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...
lgarren/spack
var/spack/repos/builtin/packages/r-zlibbioc/package.py
Python
lgpl-2.1
1,882
[ "Bioconductor" ]
61749bcf5836c8bcc25a0add1e56bce3cdcb85426b6cc9009d21a790eb3ae0f3
#!/bin/env python """ Module simtk.unit.unit_operators Physical quantities with units, intended to produce similar functionality to Boost.Units package in C++ (but with a runtime cost). Uses similar API as Scientific.Physics.PhysicalQuantities but different internals to satisfy our local requirements. In particular, t...
swails/mdtraj
mdtraj/utils/unit/unit_operators.py
Python
lgpl-2.1
5,698
[ "OpenMM" ]
eb25f2fdd2f318caa426f8873faed5ca92d0f57c073aee5f9172c59c577023ba
""" chatbot.py Ask Cleverbot something via CloudBot! This one is way shorter! Created By: - Foxlet <http://furcode.tk/> License: GNU General Public License (Version 3) """ import urllib.parse import hashlib import collections import html import requests from cloudbot import hook SESSION = collections.Or...
CrushAndRun/Cloudbot-Fluke
plugins/chatbot.py
Python
gpl-3.0
1,912
[ "Galaxy" ]
781349a977cc9df453fbe615d1a1b73eca43ebce54241d666c9646528d387e3a
""" :mod: GFAL2_SRM2Storage ================= .. module: python :synopsis: SRM2 module based on the GFAL2_StorageBase class. """ # pylint: disable=invalid-name import errno import json import gfal2 # pylint: disable=import-error # from DIRAC from DIRAC import gLogger, gConfig, S_OK, S_ERROR from DIR...
petricm/DIRAC
Resources/Storage/GFAL2_SRM2Storage.py
Python
gpl-3.0
8,242
[ "DIRAC" ]
ad3bd76e64418f3bc5b8acb3880e29fcc2015340546e7829c89c0f4169e646a2
# Copyright 2012, SIL International # All rights reserved. # # 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 License, or # (at your option) any lat...
silnrsi/graide
lib/ttfrename/font.py
Python
lgpl-2.1
6,108
[ "VisIt" ]
6077464983eabfd1150fe1aa26fc02305b376ebbe8496d3559a1d1d58cc34a16
#!/usr/bin/env python from __future__ import print_function from builtins import str import argparse import os import sys import math import hashlib import pandas as pd import glob import sibispy from sibispy import sibislogger as slog from sibispy import check_dti_gradients as chk_dti def get_cases(cases_root, arm...
sibis-platform/sibispy
cmds/exec_check_dti_gradients.py
Python
bsd-3-clause
6,144
[ "VisIt" ]
445fa8a820884fdeecdc008ff525b15d087216b39aba0ae55de7e1545abf76ca
# -*- coding: utf-8 -*- #!/usr/bin/env python # # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2000-2007 Donald N. Allingham # Copyright (C) 2007 Johan Gonqvist <johan.gronqvist@gmail.com> # Copyright (C) 2007-2009 Gary Burton <gary.burton@zen.co.uk> # Copyright (C) 2007-2009 Stephane Charet...
sam-m888/gramps
gramps/plugins/webreport/statistics.py
Python
gpl-2.0
11,183
[ "Brian" ]
d8f83fa9a82aed2b2b281ebaf46e013d13ad142606b7754c953a2246014a5628
#Dan Blankenberg #takes commandline tree def and input multiple fasta alignment file and runs the branch length ananlysis import os, sys from galaxy import eggs from galaxy.tools.util import hyphy_util #Retrieve hyphy path, this will need to be the same across the cluster tool_data = sys.argv.pop() HYPHY_PATH ...
volpino/Yeps-EURAC
tools/hyphy/hyphy_branch_lengths_wrapper.py
Python
mit
1,995
[ "Galaxy" ]
043e7ab3ba034db6020994e476bd512ca7119c8a36b258da9372accb65b55505
# # Copyright (C) 2013-2018 The ESPResSo project # # This file is part of ESPResSo. # # ESPResSo 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...
hmenke/espresso
samples/visualization_ljliquid.py
Python
gpl-3.0
6,372
[ "ESPResSo", "Mayavi" ]
07ccd6c06e13ed956ec17b8fc355d6c230731393a085ee358ae7b52d06a9cf3a
""" Bok choy acceptance tests for conditionals in the LMS """ from capa.tests.response_xml_factory import StringResponseXMLFactory from common.test.acceptance.tests.helpers import UniqueCourseTest from common.test.acceptance.fixtures.course import CourseFixture, XBlockFixtureDesc from common.test.acceptance.pages.lms.c...
tanmaykm/edx-platform
common/test/acceptance/tests/lms/test_conditional.py
Python
agpl-3.0
4,879
[ "VisIt" ]
471ec05108261c0540f6bb52ccc42fe734301f39717bdb0f2276c59d0a197ebb
""" sewpy: Source Extractor Wrapper for Python Recent improvements (latest on top): - new loglevel option to adjust sewpy's overall "verbosity" on instantiation. - better verbosity about masked output of ASSOC procedure - ASSOC helper implemented - run() now returns a dict containing several objects, such as the out...
megalut/sewpy
sewpy/sewpy.py
Python
gpl-3.0
74,870
[ "Gaussian" ]
7b1319c2da7e6795741e0b5618d43aafac72ff18938face2727fc3dc5dfdb274
from scraper import Scraper class missile(Scraper): """Handle usage of interplanetary missiles""" def launch_missile(self, coordinates, missiles_count=10): "launch the number of missiles to the coordinates " url = self.url_provider.get_page_url("missile") galaxy = coordinates.split(':...
winiciuscota/OG-Bot
ogbot/scraping/missile_attack.py
Python
mit
683
[ "Galaxy" ]
41081cbd2ce8c013db601d890ff9c4bd61ed7ffb1b2eefa7e48fdd187247aa2e
from sympy import (meijerg, I, S, integrate, Integral, oo, gamma, hyperexpand, exp, simplify, sqrt, pi, erf, sin, cos, exp_polar, polar_lift, polygamma, hyper, log, expand_func) from sympy.integrals.meijerint import (_rewrite_single, _rewrite1, meijerint_indefinite, _infla...
beni55/sympy
sympy/integrals/tests/test_meijerint.py
Python
bsd-3-clause
27,319
[ "Gaussian" ]
73c5e280e3b7d61731279e6648d965fe97585ea094a5d57800901ee67a91f3fc
# Copyright 2003-2008 by Leighton Pritchard. All rights reserved. # Revisions copyright 2008-2012 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/_CircularDrawer.py
Python
mit
68,642
[ "Biopython" ]
b25e06af8b19e30aea8a2800c92b6514f26dcb3de1093dbcffb4f4e6924b17a4
import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import nest # import NEST module def single_neuron(spike_times, sim_duration): nest.set_verbosity('M_WARNING') # reduce NEST output nest.ResetKernel() # reset simulation kernel # create LIF neuron with exponential synaptic currents...
jhnnsnk/UP-Tasks
NEST/single_neuron_task/single_neuron.py
Python
gpl-2.0
1,344
[ "NEURON" ]
336719797bd7c2284a9d6b45523db3cf088fce8471102f9e2fc84481a153c0f5
from setuptools import setup, find_packages setup( name='dfttopif', version='1.1.0', description='Library for parsing Density Functional Theory calculations', url='https://github.com/CitrineInformatics/pif-dft', install_requires=[ 'ase<=3.17.0', 'pypif>=2.0.1,<3', 'dftparse>...
CitrineInformatics/pif-dft
setup.py
Python
apache-2.0
552
[ "ASE" ]
ba9aaae0542047c56c6ad055d8c04d99a4366aa9a79ae3a3102c0911e18fe633
# coding: utf-8 # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. from __future__ import division, unicode_literals """ This module provides so-called "strategies" to determine the coordination environments of an atom in a structure. Some strategies can favour larger or smal...
gpetretto/pymatgen
pymatgen/analysis/chemenv/coordination_environments/chemenv_strategies.py
Python
mit
98,578
[ "pymatgen" ]
3ab59c79c2febe89e24f42918a673966aec66270424486eed1bb2bc832dfd01d
# Copyright 2015 Allen Institute for Brain Science # This file is part of Allen SDK. # # Allen SDK 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 3 of the License. # # Allen SDK is distributed in the ...
wvangeit/AllenSDK
allensdk/api/queries/biophysical_perisomatic_api.py
Python
gpl-3.0
12,180
[ "NEURON" ]
3b0119cbbe8c9c8c8b9ed2bd895a6e2910b9b96c3f3431adc9d105146d9b3739
r""" =============== Decoding (MVPA) =============== .. contents:: Contents :local: :depth: 3 .. include:: ../../links.inc Design philosophy ================= Decoding (a.k.a. MVPA) in MNE largely follows the machine learning API of the scikit-learn package. Each estimator implements ``fit``, ``transform``, ``...
mne-tools/mne-tools.github.io
0.21/_downloads/794cfa7d3963d16b6e76d03bfa14d1e0/plot_sensors_decoding.py
Python
bsd-3-clause
17,587
[ "VisIt" ]
c5f704054fcd39f4f46f0977f573e79b46dd64d6a2aa3b7a07b47c6099140ab2
from pylab import * from numpy import * from scipy.io.netcdf import netcdf_file from datetime import datetime, time from funcs import * from read_NewTable import tshck, tini_icme, tend_icme, tini_mc, tend_mc, n_icmes, MCsig from ShiftTimes import * def thetacond(ThetaThres, ThetaSh): if ThetaThres<0.: return ones(l...
jimsrc/seatos
sheaths/src/forbush/rebineo_o7o6.py
Python
mit
4,551
[ "NetCDF" ]
658c08409c63bf17c5ee65afc40caa7b122f3dae42c9a57f71bec767a536d08a
import tensorflow as tf import re FLAGS = tf.app.flags.FLAGS tf.app.flags.DEFINE_boolean('use_fp16', False, """Train the model using fp16.""") TOWER_NAME = 'tower' NUM_CLASSES = 3 def _variable_on_cpu(name, shape, initializer): """Helper to create a Variable stored on CPU memory. ...
bgshin/doc-classify-multi-gpu
src/cnntw/cnn_model.py
Python
apache-2.0
7,389
[ "Gaussian" ]
977b6a8a1dd21c167b68ad7d6945fa4855abc7a8f0b8dbfa68b2f30abf8c3162
import datetime import logging from xml.etree import ElementTree as ET from django.shortcuts import render from serializable import models_to_xml, xml_to_models, delete_all_models_in_db from models import Menu, Order, MenuItem, OrderEntry from test_serializable import indent_xml def index(request): i...
marksantesson/xmldump
xmldump/views.py
Python
apache-2.0
1,612
[ "Brian" ]
9065460ca98915d802f8e28e1dc95466e4458a6947450e47c4b46a24b37432b1
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright (C) 2017 Lenovo, Inc. # # 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 Foundation, either version 3 of the License, or # ...
t0mk/ansible
lib/ansible/modules/network/lenovo/cnos_image.py
Python
gpl-3.0
8,759
[ "VisIt" ]
2c7b61298e7c58a8d0c32024e6d609320bae488e6c9f244fff9476391af94145
#!/usr/bin/python # -*- coding: utf-8 -*- # Hive Appier Framework # Copyright (c) 2008-2021 Hive Solutions Lda. # # This file is part of Hive Appier Framework. # # Hive Appier Framework is free software: you can redistribute it and/or modify # it under the terms of the Apache License as published by the Apach...
hivesolutions/appier
src/appier/legacy.py
Python
apache-2.0
13,083
[ "VisIt" ]
2d8b7ef3739546033b1044271f2bf12ffbb7f83ae324980ed41bcc3f5cbbcb81
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class Macsio(CMakePackage): """A Multi-purpose, Application-Centric, Scalable I/O Proxy Applicat...
LLNL/spack
var/spack/repos/builtin/packages/macsio/package.py
Python
lgpl-2.1
4,380
[ "NetCDF" ]
126efcdc5b66797cfa54b11f4c7c7b4a8446611e354b2667f05b6b245cd79f60
# __BEGIN_LICENSE__ # # Copyright (C) 2010-2013 Stanford University. # All rights reserved. # # __END_LICENSE__ import numpy as np import time from scipy.sparse.linalg.interface import LinearOperator from lflib.lightfield import LightField from lflib.imageio import save_image from lflib.linear_operators import Light...
sophie63/FlyLFM
stanford_lfanalyze_v0.4/lflib/solvers/mrnsd.py
Python
bsd-2-clause
8,875
[ "Gaussian" ]
2419b474d671d4385179536dd1cce2a79adefce8112ec2af5d0b28d55f29f3f6
import os import sys import itertools import string import sympy as sp import numpy as np import types try: import mpmath sp.mpmath = mpmath except: pass from sympy.utilities.autowrap import ufuncify from sympy.utilities import lambdify if sys.version_info[0]<3: import cPickle as pickle from urll...
carichte/pyasf
pyasf/functions.py
Python
gpl-3.0
17,291
[ "CRYSTAL" ]
cc54d64918ea1e6175384040b4732dae7e256314c2f62e893ad53fdcdac1ac84
#!/usr/bin/env python #----------------------------------------------------------------------------- # Copyright (c) 2013--, biocore development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. #-------------------------...
ekopylova/burrito-fillings
bfillings/sortmerna_v2.py
Python
bsd-3-clause
19,566
[ "BLAST" ]
4b030a9a0c8c89f972d701ac2eb45f86180fe3b2b07dbee2bf3139624a75ff93
# ---------------------------------------------------------------------------- # 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. # --------------------------------------------...
anderspitman/scikit-bio
skbio/io/_fileobject.py
Python
bsd-3-clause
2,615
[ "scikit-bio" ]
4b1d795fdde0118bd78c6bdb4f5faa1c6f29f0200c9e8dca643e415982c97c71
import numpy as np from sklearn import gaussian_process from sklearn.base import BaseEstimator MACHINE_EPSILON = np.finfo(np.double).eps class GPS( BaseEstimator ): ''' multivariete wrapper for gaussian process model for sklearn ''' def __init__( self, n_outputs, regr='constant', corr='squared_exponential', ...
marcino239/pilco
GPS.py
Python
gpl-2.0
1,033
[ "Gaussian" ]
07b9082fc740d87b5b7325dc3386798c3a94e76911d46c7986b44b085baf68b8
#!/usr/bin/env python # Copyright 2018-2019 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/sgx/sgx_jk.py
Python
apache-2.0
14,480
[ "PySCF" ]
042f4dfa65b32545a2df8de81d301cc370598dab30e25889416186891efb69f4
# Copyright 2009 by Cymon J. Cox. All rights reserved. # 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. """Command line wrapper for the multiple alignment program MUSCLE. """ __docformat__ = "epytext...
bryback/quickseq
genescript/Bio/Align/Applications/_Muscle.py
Python
mit
29,170
[ "BLAST", "Biopython" ]
04fcae316723db577a394e79c296ff3eab17f4c352670e55bb3b9d4a0ea94efb
''' Calculate the coverage of each genome pair from the blastx results Starting with the blastx converted to NC/NC ids, we want to calculate the coverage at each position in every genome. We will consider all the genomes with the most number of bases in the phage as the top genomes ''' import sys from phage import...
linsalrob/PhageHosts
code/blastx_coverage.py
Python
mit
1,491
[ "BLAST" ]
b85d41a66ebaa9ecd5adf8f3d3bad60ee50f3f2ddb85c423ef39d9f2da4367ce
"""Functions to plot a vega plot from Extremefill data """ # pylint: disable=no-value-for-parameter import os import uuid import numpy as np from skimage import measure import xarray # pylint: disable=redefined-builtin, no-name-in-module from toolz.curried import pipe, juxt, valmap, concat, map, do from scipy.interpo...
wd15/extremefill2D
extremefill2D/fextreme/plot.py
Python
mit
6,906
[ "NetCDF" ]
313ae23536821dbc70ca375f14e5e5e085b5c4aef9cba943badab6c8735cc3f7
""" test_Projection.py This file is part of ANNarchy. Copyright (C) 2013-2016 Joseph Gussev <joseph.gussev@s2012.tu-chemnitz.de>, Helge Uelo Dinkelbach <helge.dinkelbach@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Publ...
vitay/ANNarchy
tests/Unittests/test_Projection.py
Python
gpl-2.0
13,791
[ "NEURON" ]
1d5bb7435c3367b8e1414c5c9e6b08edc55a48566217f4c7ad40c1a386aedba0
# Copyright (c) 2000-2013 LOGILAB S.A. (Paris, FRANCE). # http://www.logilab.fr/ -- mailto:contact@logilab.fr # # 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 of the License, o...
devs1991/test_edx_docmode
venv/lib/python2.7/site-packages/pylint/test/unittest_pyreverse_writer.py
Python
agpl-3.0
4,831
[ "VisIt" ]
bef41d5caa2306047a945484e46a5eb3cadd1d44d024589082ced2613d321613
# Copyright (c) 2012, Cloudscaling # 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 applicable...
stackforge/compute-hyperv
compute_hyperv/hacking/checks.py
Python
apache-2.0
20,313
[ "VisIt" ]
8820b620909add14abaa1391b458de69ec2110f2abab0acf0f9007ea0cb525bf
# # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2000-2006 Donald N. Allingham # Copyright (C) 2008 Brian G. Matherly # Copyright (C) 2010 Jakim Friant # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as publi...
sam-m888/gramps
gramps/plugins/tool/rebuildrefmap.py
Python
gpl-2.0
3,591
[ "Brian" ]
f3af1a9fa6148a660ee942ce4eee3e97693f7b85bea756f252ab07a342565e8e
# ====================================================================== # # Cosmograil: cosmograil.tools.sextractor # # sextractor module. # # Author: Laurent Le Guillou <laurentl@ster.kuleuven.ac.be> # # $Id: sextractor.py,v 1.2 2005/07/06 21:40:43 hack Exp $ # # ======================================================...
wschoenell/chimera
src/chimera/util/sextractor.py
Python
gpl-2.0
18,469
[ "Galaxy" ]
99e2480cf2b2550c4356a4610512002fcfd542c42e275bdd21600e3fce049acf
#!/usr/bin/env ipython from pylab import * import numpy as np from scipy.io.netcdf import netcdf_file import console_colors as ccl import os MCwant = '2' nbefore = 2 nafter = 4 WangFlag = '90.0' #'NaN' fgap = 0.2 #v_lo = 550.0 #550.0 #450.0 #100.0 #v_hi = 3000.0 #3000.0 #550.0 #...
jimsrc/seatos
sheaths/src/surf.dens_for.paper/src/h_group_Vmc.py
Python
mit
3,903
[ "NetCDF" ]
4fb98c1b93a96b7acb1427c04c05191bbd1997a4acdbde1f153190bf3f7a8347
# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.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 Foundation, either version 3 of the License, or # (at your option) an...
ansible/ansible
lib/ansible/playbook/conditional.py
Python
gpl-3.0
9,983
[ "VisIt" ]
20c9d059974c716365a56b339a70b0b289fee73a6ede43cc85277c4e291ffb35
from setuptools import find_packages, setup with open('analyticord/__init__.py', 'r') as f: for line in f: if line.startswith('__version__'): version = line.strip().split('=')[1].strip(' \'"') break else: version = '0.0.1' with open('README.md', 'rb') as f: readme =...
Analyticord/module-python
setup.py
Python
mit
1,330
[ "MOE" ]
b1046e90224ea9a98bd3d9959432fe27375191b4ff3af1e36a4e2121e857d6af
# Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. import os import unittest from monty.serialization import dumpfn, loadfn from pymatgen.core.structure import Molecule from pymatgen.io.qchem.outputs import QCOutput, check_for_structure_changes from pymatgen.util.testing im...
materialsproject/pymatgen
pymatgen/io/qchem/tests/test_outputs.py
Python
mit
12,614
[ "pymatgen" ]
9efd620b5d8703b7d792b73b140af35fc74758e0199c6c348686007374481944
#!/usr/bin/env python # Copyright 2012, 2013 The GalSim developers: # https://github.com/GalSim-developers # # This file is part of GalSim: The modular galaxy image simulation toolkit. # # GalSim is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published...
mardom/GalSim
doc/doxypy.py
Python
gpl-3.0
14,788
[ "Galaxy" ]
a3beeea788b9b27c488dbb6174d72b6cc9c15b54a34a4f34c71d718056472fdd
#!/usr/bin/env python # Author: # Contact: grubert@users.sf.net # Copyright: This module has been placed in the public domain. """ man.py ====== This module provides a simple command line interface that uses the man page writer to output from ReStructuredText source. """ import locale try: locale.setlocale(loc...
intuivo/nautilus-skype
rst2man.py
Python
gpl-3.0
34,803
[ "VisIt" ]
e746db7c594ad2e305a59f14ea45d82fb58acbb8e259ae6a8cb41b5666bc7c6b
# this program corresponds to special.py ### Means test is not done yet # E Means test is giving error (E) # F Means test is failing (F) # EF Means test is giving error and Failing #! Means test is segfaulting # 8 Means test runs forever ### test_besselpoly ### test_mathieu_a ### test_mathieu_even_coef ##...
WarrenWeckesser/scipy
scipy/special/tests/test_basic.py
Python
bsd-3-clause
132,780
[ "Elk" ]
c6169fa82fe4bb1bfb89c0ce91747631e8a3a2752bb5a98fb2f671ee51ece360
"""Unittest for the input/output facilities class.""" # build-in modules import unittest import tempfile import os # third-party modules import scipy # path changes # own modules from medpy.io import load, save from medpy.core.logger import Logger # information __author__ = "Oskar Maier" __version__ = "r0.2.2, 20...
loli/medpy
tests/io_/loadsave.py
Python
gpl-3.0
11,899
[ "VTK" ]
2fee0024b34183b0b038aaff4d41fb17153ae47997ac1f48da34acadcadc2679
#!/usr/bin/python """ # Created on Aug 12, 2016 # # @author: Gaurav Rastogi (grastogi@avinetworks.com) GitHub ID: grastogi23 # # module_check: supported # # Copyright: (c) 2016 Gaurav Rastogi, <grastogi@avinetworks.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # """ ...
drmrd/ansible
lib/ansible/modules/network/avi/avi_gslbservice_patch_member.py
Python
gpl-3.0
10,405
[ "VisIt" ]
1a685c0e1a8148931a45fd315192129743f69c892808d759d421b7fa058c86c0
''' Copyright 2017, Fujitsu Network Communications, Inc. 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 w...
warriorframework/warriorframework
warrior/Actions/SeleniumActions/browser_actions.py
Python
apache-2.0
119,270
[ "VisIt" ]
99124bc89afb4b2c8fd544d11a9f17b679b613d6f94d7ba4e15082d35e9a1ad0
# stack.py # # Created by Brett H. Andrews on 13 Jun 2017. import os from os.path import join import pickle import re import click import numpy as np import pandas as pd import sklearn import matplotlib.pyplot as plt import seaborn as sns from stacking.spectral_processing import make_grid @click.command() @click....
bretthandrews/stacking
stacking/stack.py
Python
bsd-3-clause
4,103
[ "Galaxy" ]
41f97df38c24d660b4aadc0b4ee08fb7ded2c8ae6f70151212af5307d935b9fc
from sys import exit from pyneb import RecAtom from scipy.interpolate import interp1d from uncertainties import ufloat, UFloat from uncertainties.unumpy import uarray, exp as unum_exp, log10 as unum_log10, pow as unum_pow from u...
Delosari/dazer
bin/lib/Astro_Libraries/Reddening_Corrections.py
Python
mit
18,132
[ "Gaussian" ]
0d3a4a6c92ea4c8dc4695f5e14ee61ac7fa6e85404785c8f3fc5deda4c614311
""" Acceptance tests for the teams feature. """ import json import random import time from dateutil.parser import parse import ddt from nose.plugins.attrib import attr from selenium.common.exceptions import TimeoutException from uuid import uuid4 from ..helpers import get_modal_alert, EventsTestMixin, UniqueCourseTes...
jamiefolsom/edx-platform
common/test/acceptance/tests/lms/test_teams.py
Python
agpl-3.0
81,480
[ "VisIt" ]
60634d38018c47eb646a6bf65c170bebdd86f2d1b473061fe548ece5bd223fd7
# coding: utf-8 # Copyright (c) Henniggroup. # Distributed under the terms of the MIT License. from __future__ import division, print_function, unicode_literals, \ absolute_import """ Utility functions """ from six.moves import range, zip import itertools as it from functools import reduce import linecache imp...
henniggroup/MPInterfaces
mpinterfaces/utils.py
Python
mit
41,763
[ "ASE", "CRYSTAL", "VASP", "pymatgen" ]
1b9768282067fa88571ace94b80d7a8bcb2342942b4cb531feed501b5fbd2f0b
#### PATTERN | EN | INFLECT ############################################## # -*- coding: utf-8 -*- # Copyright (c) 2010 University of Antwerp, Belgium # Author: Tom De Smedt <tom@organisms.be> # License: BSD (see LICENSE.txt for details). ########################################################################## # Reg...
textioHQ/pattern
pattern_text/en/inflect_flymake.py
Python
bsd-3-clause
32,321
[ "Elk", "Octopus" ]
e00a18efebe3065da2de821446d7417e2092d6e619bab252d1266e4fd93ae01e
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class SagaGis(AutotoolsPackage, SourceforgePackage): """ SAGA is a GIS for Automated Geoscien...
LLNL/spack
var/spack/repos/builtin/packages/saga-gis/package.py
Python
lgpl-2.1
4,704
[ "NetCDF" ]
ce8fa3700b468eb6690bdd058e02bd0a54b245e18d08cf2eaa3820b1d0019e68
# Copyright (C) 2013, Thomas Leonard # See the README file for details, or visit http://0install.net. from __future__ import print_function import os, shutil, hashlib, collections, re from os.path import join, basename, dirname, abspath from zeroinstall.injector import model from zeroinstall import SafeException, su...
bastianeicher/0repo
repo/archives.py
Python
lgpl-2.1
7,045
[ "VisIt" ]
b8c49451878d397219f52a0a66b800741ae67591e5d6d46f2eb4ce2be79a1e3c
# # Brian C. Lane <bcl@redhat.com> # # Copyright 2014 Red Hat, Inc. # # This copyrighted material is made available to anyone wishing to use, modify, # copy, or redistribute it subject to the terms and conditions of the GNU # General Public License v.2. This program is distributed in the hope that it # will be useful,...
cgwalters/pykickstart
pykickstart/commands/sshkey.py
Python
gpl-2.0
3,231
[ "Brian" ]
43bdf07169822ee558e99bb58596c02f2c89987f9425f01301b1e38f1bf71c7f
#!/usr/bin/env python from pyDFTutils.perovskite.lattice_factory import PerovskiteCubic from pyDFTutils.ase_utils import my_write_vasp,normalize, vesta_view, set_element_mag from ase.io.vasp import read_vasp try: from ase.atoms import string2symbols except: from ase.symbols import string2symbols import numpy as...
mailhexu/pyDFTutils
pyDFTutils/perovskite/cubic_perovskite.py
Python
lgpl-3.0
2,732
[ "ASE", "VASP" ]
07cc10a7ba2e90065ed646457988d4268d258bbd842d55bc03823eff1f9dcb8a
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2018-06-06 20:34 from __future__ import unicode_literals import datetime from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.s...
scaphilo/koalixcrm
koalixcrm/crm/migrations/0027_auto_20180606_2034.py
Python
bsd-3-clause
5,968
[ "VisIt" ]
45d9557f5d4b82b9f1121ffbd195a416abf8d50b4641e1f794664d2150a8a8b3
from django.db import models # from edc_base.audit_trail import AuditTrail from edc_constants.choices import YES_NO from edc_base.model.fields.custom_fields import OtherCharField from .maternal_crf_model import MaternalCrfModel from td_maternal.maternal_choices import SIZE_CHECK class MaternalInterimIdcc(MaternalC...
botswana-harvard/tshilo-dikotla
td_maternal/models/maternal_interim_idcc_data.py
Python
gpl-2.0
1,989
[ "VisIt" ]
4502760b69559247c9aed4ff0dcbaf3358bedcb6b513512f939e452066e7d157
## # Copyright 2012-2021 Ghent University # # This file is part of EasyBuild, # originally created by the HPC team of Ghent University (http://ugent.be/hpc/en), # with support of Ghent University (http://ugent.be/hpc), # the Flemish Supercomputer Centre (VSC) (https://www.vscentrum.be), # Flemish Research Foundation (F...
hpcugent/easybuild-framework
test/framework/github.py
Python
gpl-2.0
51,543
[ "LAMMPS", "SIESTA", "WIEN2k" ]
1a8fddfe186c139b78bbacfa5bd1db08f34e785aaa2b91988a3efa663b3db266
# Copyright 2020 Google Research. 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 applicable law...
google/automl
efficientdet/hparams_config.py
Python
apache-2.0
15,113
[ "Gaussian" ]
03c18c31b685bfe04f536fcb0ef0f21e4e0d592e2ad672dfe975fa0d9cf1daa5
# -*- coding: utf-8 -*- """Flask App for MPContribs API""" import os import boto3 import urllib import logging import requests #import rq_dashboard #import flask_monitoringdashboard as dashboard import flask_mongorest.operators as ops from importlib import import_module from websocket import create_connection from fla...
materialsproject/MPContribs
mpcontribs-api/mpcontribs/api/__init__.py
Python
mit
8,122
[ "VisIt" ]
762a035dc3e56faf62916307a1b3c6504efaf72b107e0a2b403b6d5c2a9ede79
# Latent distance model for neural data import numpy as np import numpy.random as npr from autograd import grad from scipy.optimize import minimize import autograd.numpy as atnp from hips.inference.hmc import hmc from pyglm.utils.utils import expand_scalar, compute_optimal_rotation from matplotlib import pyplot as plt ...
sheqi/TVpgGLM
test/practice5_Latent_Distance_Model_Weight_Qi_optimize.py
Python
mit
3,911
[ "Gaussian" ]
ece8f8de583bdbe4dd5beee642d51a3a835daef83e069e6a413b27862f4d2028
# # @BEGIN LICENSE # # Psi4: an open-source quantum chemistry software package # # Copyright (c) 2007-2017 The Psi4 Developers. # # The copyrights for code used from other parties are included in # the corresponding files. # # This file is part of Psi4. # # Psi4 is free software; you can redistribute it and/or modify #...
rmcgibbo/psi4public
psi4/share/psi4/databases/CORE.py
Python
lgpl-3.0
23,802
[ "Psi4" ]
fcae6c66a1a8891c222aa79c1fa67350aa14a3738fe1f5fb06def77c97836b5d
""" Utilities for WMS """ import io import os import sys import json from DIRAC import gConfig, gLogger, S_OK from DIRAC.Core.Utilities.File import mkDir def createJobWrapper(jobID, jobParams, resourceParams, optimizerParams, extraOptions='', defaultWrapperLocation='DIRAC/W...
andresailer/DIRAC
WorkloadManagementSystem/Utilities/Utils.py
Python
gpl-3.0
4,855
[ "DIRAC" ]
dfa69085fbf0168b3b3b03ba6ea0cfbe3d9abc8a1172fb26b7d7ac79274c38b4
# Copyright 2015 Planet Labs, Inc. # # 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 wr...
planetlabs/datalake
api/setup.py
Python
apache-2.0
2,111
[ "Brian" ]
746a41c193d1a89d8b1b26d26efda471e019ceea2772c10813b8ea63dff0ef90
# ################################################################ # # Active Particles on Curved Spaces (APCS) # # Author: Silke Henkes # # ICSMB, Department of Physics # University of Aberdeen # Author: Rastko Sknepnek # # Division of Physics # School of Engineering, Physics and Mathem...
sknepneklab/SAMoS
analysis/batch_nematic/batch_analyze_nematic_phi0.75.py
Python
gpl-3.0
2,450
[ "VTK" ]
d1e8a8681ebc53401b98924819eefd6d109efde887801e676bc2ad4243a7248d
# # tests/test_tensorflow_imagenet_adapter.py - unit test for the tensorflow ImageNet adapter. # # Copyright (c) 2018 SingularityNET # # Distributed under the MIT software license, see LICENSE file. # import logging import os from pathlib import Path import base64 import pytest from adapters.tensorflow.imagenet impo...
singnet/singnet
agent/tests/test_tensorflow_imagenet_adapter.py
Python
mit
4,014
[ "Bowtie" ]
75eb4d97259b5f1ce696c2688f5debe3a6776d543fe43342e210e9051c84a916
# (c) 2012, Michael DeHaan <michael.dehaan@gmail.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 Foundation, either version 3 of the License, or # (at your option) any lat...
e-gob/plataforma-kioscos-autoatencion
scripts/ansible-play/.venv/lib/python2.7/site-packages/ansible/template/safe_eval.py
Python
bsd-3-clause
4,871
[ "VisIt" ]
e49853d6e030182c04df2e71ed5c72477f3ee23890f35f4a26b884716ad12803
"""Tests for the thumbs module""" from workbench import scenarios from workbench.test.selenium_test import SeleniumTest class ThreeThumbsTest(SeleniumTest): """Test the functionalities of the three thumbs test XBlock.""" def setUp(self): super(ThreeThumbsTest, self).setUp() scenarios.add_xm...
open-craft/xblock-sdk
workbench/test/test_filethumbs.py
Python
agpl-3.0
2,756
[ "VisIt" ]
cc95de35fe6a970eb8dbd169b6926796eb8a518c12cc832019795275f840c6bb
# qsub -- utilities for batch submission systems # Copyright (c) 2010 Oliver Beckstein <orbeckst@gmail.com> # Made available under GNU Pulic License v3. """ :mod:`gromacs.qsub` -- utilities for batch submission systems ============================================================= The module helps writing submission s...
Becksteinlab/GromacsWrapper
gromacs/qsub.py
Python
gpl-3.0
19,233
[ "Gromacs" ]
9fd21d88afc6b3c8abe93460ba38aeaea3f919bb9dd7bdfd90a8c66786ee296e
import sqlite3 as sql import datetime import sys import json import subprocess from pickle import dump, load from urlparse import urlparse import re # This script stores the number of opened tabs in Firefox and the URL of the current selected tab if Firefox is focused. The script should be called quite often, as the v...
wasmitnetzen/QuantifiedSelf
Firefox/countFirefox.py
Python
gpl-2.0
5,486
[ "VisIt" ]
d56411bfe3182afbbedd49ea016f95a7efbdad4146a3a50e59784db372d6c8fd
""" This file implements Oja's hebbian learning rule. Relevant book chapters: - http://neuronaldynamics.epfl.ch/online/Ch19.S2.html#SS1.p6 """ # This file is part of the exercise code repository accompanying # the book: Neuronal Dynamics (see http://neuronaldynamics.epfl.ch) # located at http://github.com/EPFL-LC...
EPFL-LCN/neuronaldynamics-exercises
neurodynex3/ojas_rule/oja.py
Python
gpl-2.0
4,820
[ "Gaussian", "NEURON" ]
10428cbb544a5aa9d283e5321c09ad67cf8e0640b6deae46b85a0b11ec5f3996
""" pymel ipython configuration Current Features ---------------- tab completion of depend nodes, dag nodes, and attributes automatic import of pymel Future Features --------------- - tab completion of PyNode attributes - color coding of tab complete options - to differentiate between methods and attributes ...
shrtcww/pymel
pymel/tools/ipymel.py
Python
bsd-3-clause
23,674
[ "VisIt" ]
10c4d165cc8a8e1dbb6168e04c635cb6e52c1bf081e261af4167cf6a30772ff5
#!/usr/bin/python # -*- coding: utf-8 -*- """Tests for the Windows Scheduled Task job file parser.""" import unittest from plaso.formatters import winjob as _ # pylint: disable=unused-import from plaso.lib import eventdata from plaso.lib import timelib from plaso.parsers import winjob from tests.parsers import test...
ostree/plaso
tests/parsers/winjob.py
Python
apache-2.0
3,104
[ "Brian" ]
fe0eb3c2c1b164a6d39d9ab71e1e9a473e4c09d20bc5e8a94eea4e82fe60f83b
import itertools import numpy as np from scipy import sparse from scipy.stats import norm from scipy.optimize import minimize, minimize_scalar from scipy.sparse import csc_matrix, linalg as sla from functools import partial from collections import deque from pygfl.solver import TrailSolver class GaussianKnown: '''...
tansey/smoothfdr
smoothfdr/smoothed_fdr.py
Python
mit
35,721
[ "Gaussian" ]
3fe4d04ac909ae548696c35ffc4555caed31173f2bafe880cd73b19bfe582b2f
import unittest import os from datetime import datetime from tempfile import mkstemp from invenio.testutils import make_test_suite, run_test_suite from invenio import bibupload from invenio import bibtask from invenio.dbquery import run_sql from invenio.search_engine_utils import get_fieldvalues from invenio import oa...
GRArmstrong/invenio-inspire-ops
modules/pdfchecker/lib/arxiv_pdf_checker_regression_tests.py
Python
gpl-2.0
10,613
[ "CRYSTAL" ]
664cb92997d4ffa651e45dc672f9b1bab51126b1f69f13094d6ab32090926fe6
""" ==================================================================== Linear and Quadratic Discriminant Analysis with confidence ellipsoid ==================================================================== Plot the confidence ellipsoids of each class and decision boundary """ print(__doc__) from scipy import lin...
3manuek/scikit-learn
examples/classification/plot_lda_qda.py
Python
bsd-3-clause
4,806
[ "Gaussian" ]
550abd6cf98d32a8bcae0a85570e1ae4770c891fc94207f4cdc6f5ec7e722cb0
# -*- coding: utf-8 -*- import base64 import datetime import json import time import mock from nose.tools import eq_, ok_ from nose.plugins.attrib import attr from pyquery import PyQuery as pq from urlparse import urlparse from django.conf import settings from django.contrib.sites.models import Site from django.core...
chirilo/kuma
kuma/wiki/tests/test_views.py
Python
mpl-2.0
168,228
[ "VisIt" ]
2f7e0c6e63db563bad12338708aa47d9d86b3d8efcfcff877d55d1630804a050