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
# # ImageViewJpw.py -- Module for a Ginga FITS viewer in a Jupyter web notebook. # # This is open-source software licensed under a BSD license. # Please see the file LICENSE.txt for details. # """ This example illustrates using a Ginga as the driver of a Jupyter web widget. REQUIREMENTS: To use this code you will ne...
naojsoft/ginga
ginga/web/jupyterw/ImageViewJpw.py
Python
bsd-3-clause
16,512
[ "FLEUR" ]
c53d872461cb784c7c1ef4e33aae8af2f03f5353d7aff04efc3c13624dae24ad
""" DIRAC API Class All DIRAC functionality is exposed through the DIRAC API and this serves as a source of documentation for the project via EpyDoc. The DIRAC API provides the following functionality: - A transparent and secure way for users to submit jobs to the Grid, monitor them and re...
petricm/DIRAC
Interfaces/API/Dirac.py
Python
gpl-3.0
100,414
[ "DIRAC" ]
958c0a64e7db7496bcb5613c43a7be7894ec88e4e343028f2859c735f74c0a12
"""THis module contains the core functions needed to compute pam models""" import logging import random import bpy import mathutils import numpy from . import constants from . import grid from . import model from . import exceptions from . import layer from . import connection_mapping from .mesh import * import mul...
MartinPyka/Parametric-Anatomical-Modeling
pam/pam.py
Python
gpl-2.0
34,811
[ "NEURON" ]
ccaee7eb07d77dbabebfcdfa8cd510b39d8c3fb2fe2c1a9de77d37868ef7fca3
#!/usr/bin/env python # coding: utf-8 # # This file originates from the Rietveld project: # https://github.com/rietveld-codereview/rietveld/blob/ # 80a51fa637f416b8e9f192f9394bed2aca5ea1c3/upload.py # # Local changes: # * added 'from __future__ import print_function' # * changed 'print' into 'print()' # * changes for P...
Onager/l2treviewtools
l2treviewtools/lib/upload.py
Python
apache-2.0
100,975
[ "VisIt" ]
e94605a64977965748e9db6f252411eb3c6f3c0b907cb59bfd2d7c277b71521d
# (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...
b-dollery/testing
lib/ansible/utils/__init__.py
Python
gpl-3.0
58,304
[ "Galaxy", "VisIt" ]
ee4408fcf2207f04a6e53df5ef3d312346a929a53693c7be8d2395ee4580150b
# Authors: Alexandre Gramfort <alexandre.gramfort@telecom-paristech.fr> # Matti Hamalainen <msh@nmr.mgh.harvard.edu> # Denis A. Engemann <denis.engemann@gmail.com> # # License: BSD (3-clause) import copy as cp import os from math import floor, ceil, log import itertools as itt import warnings from c...
rajegannathan/grasp-lift-eeg-cat-dog-solution-updated
python-packages/mne-python-0.10/mne/cov.py
Python
bsd-3-clause
72,176
[ "Gaussian" ]
50519918fb9bcb7f27a4a6cbb213fb46f7e29bfddd063b38ddb3ca7cf3e354dd
""" This module computes the Structured Similarity Image Metric (SSIM) Created on 21 nov. 2011 @author: Antoine Vacavant, ISIT lab, antoine.vacavant@iut.u-clermont1.fr, http://isit.u-clermont1.fr/~anvacava Modified by Christopher Godfrey, on 17 July 2012 (lines 32-34) Modified by Jeff Terrace, starting 29 August 2012...
Rolinh/pyuvssim
ssim.py
Python
bsd-3-clause
3,612
[ "Gaussian" ]
91ccbf036f8728f4312afac68479ff2854030a70203d42660da2cb981f0d29c3
""" Filename: gth_solve.py Author: Daisuke Oyama Routine to compute the stationary distribution of an irreducible Markov chain by the Grassmann-Taksar-Heyman (GTH) algorithm. """ import numpy as np from numba import jit from .external import numba_installed, jit if not numba_installed: try: xrange e...
mgahsan/QuantEcon.py
quantecon/gth_solve.py
Python
bsd-3-clause
4,553
[ "Gaussian" ]
dcdf503cc234764f2a9890f293f565f48c8d08175fa9b63568fdd71ac1b56ee7
############################################################################### # # # 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 ...
ctSkennerton/CompareM
comparem/aai_calculator.py
Python
gpl-3.0
14,355
[ "BLAST" ]
fdc26ab5dbd2ee6d97bfb34494c37389c19d2702f2a8fb6d8413243f02691f6b
""" PySCeS - Python Simulator for Cellular Systems (http://pysces.sourceforge.net) Copyright (C) 2004-2015 B.G. Olivier, J.M. Rohwer, J.-H.S Hofmeyr all rights reserved, Brett G. Olivier (bgoli@users.sourceforge.net) Triple-J Group for Molecular Cell Physiology Stellenbosch University, South Africa. Permiss...
asttra/pysces
pysces/PyscesSBML.py
Python
bsd-3-clause
29,664
[ "PySCeS" ]
3e2c81e5ce26f94a9246a57456928e0c23cc687d09d6101047676c9971c38fe4
from __future__ import division, print_function, absolute_import __all__ = ['fixed_quad','quadrature','romberg','trapz','simps','romb', 'cumtrapz','newton_cotes'] from scipy.special.orthogonal import p_roots from scipy.special import gammaln from numpy import sum, ones, add, diff, isinf, isscalar, \ a...
valexandersaulys/airbnb_kaggle_contest
venv/lib/python3.4/site-packages/scipy/integrate/quadrature.py
Python
gpl-2.0
27,849
[ "Gaussian" ]
1e3bf149f6368d8f6c04efaf57d9127ecab20ff9deed7c7a4c6d9330c28a3d90
import base, random, time import entity.status.player_statuses as s import math class ModifyItems(base.Entity): def __init__(self): pass def do_turn(self,target,damage): pass def to_str(self): return "Modified" def get_cost(self): return self.cost class Common(ModifyItems): def apply(self): pass de...
microwaveabletoaster/dunces-and-dungeons
entity/item/armor_modification.py
Python
gpl-3.0
8,681
[ "BLAST" ]
22912f13c72fba93457c13d73a69dc13fd0148ef64032289d4bcaf60c0b8f3f2
#!/usr/bin/env python """script to concatenate the dirac.cfg file's Systems sections with the content of the ConfigTemplate.cfg files.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function from collections import OrderedDict import logging import os import re i...
yujikato/DIRAC
docs/diracdoctools/cmd/concatcfg.py
Python
gpl-3.0
5,101
[ "DIRAC" ]
cb01e442948de3dbf92933354d43da7706ec7697b759cf7396c8fbf6fafa2bb7
""" Support the ElkM1 Gold and ElkM1 EZ8 alarm / integration panels. For more details about this platform, please refer to the documentation at https://home-assistant.io/components/elkm1/ """ import logging import re import voluptuous as vol from homeassistant.const import ( CONF_EXCLUDE, CONF_HOST, CONF_INCLUDE...
PetePriority/home-assistant
homeassistant/components/elkm1/__init__.py
Python
apache-2.0
8,132
[ "Elk" ]
07c7d99bedc364e6b93513cac4dc62e1376d9b96393c2d6ba9f6a26a61ac101d
"""SSD1306 OLED driver, I2C and SPI interfaces""" # MicroPython SSD1306 OLED driver, I2C and SPI interfaces import time import framebuf from adafruit_bus_device import i2c_device, spi_device from micropython import const __version__ = "0.0.0-auto.0" __repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SSD13...
rosalindfdt/huzzahbadge
huzzah/adafruit_ssd1306.py
Python
artistic-2.0
7,889
[ "BLAST" ]
13ca60f98f8262287acfcf9b5b559cb12f47964aa364baffa51aaa1c5628a7c1
"""Tools to build the DIRAC documentation. Scripts to build code documentation, and also some mocking, etc. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function # list of packages that should be mocked in sphinx # TODO: check if we can install more of these...
ic-hep/DIRAC
docs/diracdoctools/__init__.py
Python
gpl-3.0
507
[ "DIRAC" ]
a3ba56b40f01cc7704f22a5f36b741102c7470e989af04015a9e5eda915b6c0b
from __future__ import division, absolute_import, print_function import warnings import sys import collections import operator import numpy as np import numpy.core.numeric as _nx from numpy.core import linspace, atleast_1d, atleast_2d, transpose from numpy.core.numeric import ( ones, zeros, arange, concatenate, a...
kiwifb/numpy
numpy/lib/function_base.py
Python
bsd-3-clause
156,297
[ "Gaussian" ]
e63969ae8ec73eab300b90331c4b441968453738648a9370f765e1fb61737242
#!/usr/bin/env python # -*- coding: utf-8 -*- """ compliance_checker/cfutil.py """ import csv import re import warnings from collections import defaultdict from functools import lru_cache, partial from cf_units import Unit from pkg_resources import resource_filename _UNITLESS_DB = None _SEA_NAMES = None VALID_LAT_...
ocefpaf/compliance-checker
compliance_checker/cfutil.py
Python
apache-2.0
60,433
[ "NetCDF" ]
59cc2f937694126fcaa245e337da999d2e459916355f340e39515f5ba8619100
""" Handles URL downloads. This is the low-level interface for downloading interfaces, implementations, icons, etc. @see: L{fetch} higher-level API for downloads that uses this module """ # Copyright (C) 2009, Thomas Leonard # See the README file for details, or visit http://0install.net. import tempfile, os from ...
rammstein/0install
zeroinstall/injector/download.py
Python
lgpl-2.1
6,542
[ "VisIt" ]
d05f885a99daac80600721ce52e7221c0f49f58dd7702d646ca8f3166fbec466
from common import Modules, data_strings, load_yara_rules, PEParseModule, ModuleMetadata, is_ip_or_domain class Solar(PEParseModule): def __init__(self): md = ModuleMetadata( module_name="solar", bot_name="Solar", description="Botnet", authors=["Brian Wallac...
bwall/bamfdetect
BAMF_Detect/modules/solarbot.py
Python
mit
1,621
[ "Brian" ]
f530c8c9de5a6186712347f4cef1ba7a22aa4c2c27b6fbcaa39ef61681bea9f0
# class generated by DeVIDE::createDeVIDEModuleFromVTKObject from module_kits.vtk_kit.mixins import SimpleVTKClassModuleBase import vtk class vtkStreamTracer(SimpleVTKClassModuleBase): def __init__(self, module_manager): SimpleVTKClassModuleBase.__init__( self, module_manager, vtk.v...
chrisidefix/devide
modules/vtk_basic/vtkStreamTracer.py
Python
bsd-3-clause
500
[ "VTK" ]
71af97e82bc67abbbac5be2712303f9ee81656d4f3fae18b798d0d1f6f602528
import ezPyCrypto import json import logging import os import random import smtplib import tinyurl import unicodedata import urllib from email.mime.text import MIMEText from community_csdt.src.models import database class RegisterPublic(object): def __init__(self, parent, name): self.__parent__ = parent ...
electricity345/community.csdt
src/community_csdt/community_csdt/src/models/register/register_public.py
Python
mit
7,452
[ "VisIt" ]
9645f1d32a3cdcb70b165f1dc25b98f96d103da34fd724c4cfe36daa87690f38
#!/usr/bin/env python3 """ Copyright 2021 Paul Willworth <ioscode@gmail.com> This file is part of Galaxy Harvester. Galaxy Harvester is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 ...
pwillworth/galaxyharvester
html/getTopResSchematic.py
Python
gpl-3.0
10,835
[ "Galaxy" ]
282579d99a6af9e5f2493fe8c251266576f0db29b7630732133a323dfe871e4b
# # gPrime - A web-based genealogy program # # Copyright (C) 2007-2008 Brian G. Matherly # Copyright (C) 2008 Gary Burton # # 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 ...
sam-m888/gprime
gprime/plug/menu/_menu.py
Python
gpl-2.0
4,222
[ "Brian" ]
28c989f686bec286294752dd26cbfd7b33ae04323d2139c390f2a8944565d08f
# This file contains the description of base options CONFIG_OPTIONS = { 'general': {'g': "Gravitational constant. Default is 981 cm/s^2. Type:float."}, 'experiment': \ {'exp_type': ("Identifier of type of experiment do determine which " "module should be used. Type: string"), ...
bmcage/centrifuge-1d
centrifuge1d/modules/base/options.desc.py
Python
gpl-2.0
16,567
[ "Gaussian" ]
e30071f8d072b30ffdca7016270e2868ed25e8d21d450b608a8355e60763832b
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.conf import settings from django.conf.urls import include, url from django.conf.urls.static import static from django.contrib import admin from django.views.generic import TemplateView from django.views import defaults as default_views urlpat...
michaelrios/TeachModern
config/urls.py
Python
mit
1,498
[ "VisIt" ]
98d0b9cebeec510705f676b689e197c9691f03ebd631a6e30529ae5405e20599
# -*- coding: utf-8 -*- import pytest from unit.applications.lang.python import TestApplicationPython from unit.option import option class TestRouting(TestApplicationPython): prerequisites = {'modules': {'python': 'any'}} def setup_method(self): assert 'success' in self.conf( { ...
nginx/unit
test/test_routing.py
Python
apache-2.0
70,973
[ "FEFF" ]
4c6383445b7e678b12033df52360c5022177d01635394e28fd1dcda766e8d882
def dfs_iterative(adjLists, s): stack = [] stack.append(s) n = len(adjLists) visited = [] for i in range(0,n): visited.append(False) while(len(stack)>0): v = stack.pop() if(not visited[v]): visited[v] = True print v # auxili...
AbhiAgarwal/prep
python/iterative_dfs.py
Python
mit
1,096
[ "VisIt" ]
2323f5a3411ee730b9f4816217d63d551d410047591bfb50dbd1f8cebbdf26b8
#* This file is part of the MOOSE framework #* https://www.mooseframework.org #* #* All rights reserved, see COPYRIGHT for full restrictions #* https://github.com/idaholab/moose/blob/master/COPYRIGHT #* #* Licensed under LGPL 2.1, please see LICENSE for details #* https://www.gnu.org/licenses/lgpl-2.1.html import subp...
harterj/moose
python/TestHarness/tests/test_FailedTests.py
Python
lgpl-2.1
1,594
[ "MOOSE" ]
98e98decab8d7c652494a7601a71f4bf4abee8c12b0ff61b938f134aeda7d0a0
""" The Grid module contains several utilities for grid operations """ import os import re from DIRAC.Core.Utilities.Os import sourceEnv from DIRAC.FrameworkSystem.Client.ProxyManagerClient import gProxyManager from DIRAC.Core.Security.ProxyInfo import getProxyInfo from DI...
Andrew-McNab-UK/DIRAC
Core/Utilities/Grid.py
Python
gpl-3.0
15,618
[ "DIRAC" ]
ece71179a5b7827545634803f812f622555e88b973b9c3ee41fb27ea76ddc0a7
# Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2003-2006 Donald N. Allingham # Copyright (C) 2008,2012 Brian G. Matherly # Copyright (C) 2010 Jakim Friant # Copyright (C) 2011 Paul Franklin # # This program is free software; you can redistribute it and/or modify # it under the terms of ...
dermoth/gramps
gramps/plugins/textreport/simplebooktitle.py
Python
gpl-2.0
7,639
[ "Brian" ]
987f94c1536725068347657c1adc3bbd3c02c7539632c349049528c01cb0ba94
#! /usr/bin/env python """ Submit jobs to DIRAC WMS Default JDL can be configured from session in the "JDL" option """ from __future__ import absolute_import from __future__ import division from __future__ import print_function import six import os.path import sys import re import tempfile from DIRAC import S_O...
DIRACGrid/COMDIRAC
src/COMDIRAC/Interfaces/scripts/dsub.py
Python
gpl-3.0
15,776
[ "DIRAC" ]
bad113c6d5b0fb086a1f76884935c97b61095714888dc35dcfe457dcc3047b96
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Copyright (c) 2015 Kwangbom Choi, The Jackson Laboratory This software was developed by Kwangbom "KB" Choi in Gary Churchill's Lab. This is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Fre...
narayananr/emase
setup.py
Python
gpl-3.0
3,019
[ "Biopython", "pysam" ]
e6886db4238d4a94238124c917868a32f0b888d883179593b7976889d7aae71a
#!/usr/bin/env python # encoding: utf-8 -*- import numpy import unittest import os from rmgpy.cantherm.molepro import MoleProLog import rmgpy.constants as constants ################################################################################ class MoleProTest(unittest.TestCase): """ Contains unit tests ...
KEHANG/RMG-Py
rmgpy/cantherm/moleproTest.py
Python
mit
1,631
[ "ChemPy", "Gaussian" ]
8529d1171a5cf3efc4287fee1d3725649df3af1d484729981b66a4dca362840e
# Copyright 2013-2020 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 CandleBenchmarks(Package): """ECP-CANDLE Benchmarks""" homepage = "https://github.com...
iulian787/spack
var/spack/repos/builtin/packages/candle-benchmarks/package.py
Python
lgpl-2.1
1,543
[ "MDAnalysis" ]
96af2130bb149056b6795dc746638737715bf8efa7b2d96c06bd4be971adc36a
# -*- coding: utf-8 -*- from __future__ import print_function, division, absolute_import from pykit.ir import visit, combine, Op from pykit.tests import * class SampleVisitor(object): def __init__(self): self.recorded = [] def op_mul(self, op): self.recorded.append(op.opcode) class TestTrave...
ContinuumIO/pykit
pykit/ir/tests/test_traversal.py
Python
bsd-3-clause
805
[ "VisIt" ]
c41d4f3d32b869a9ec9af478de7f070924b48999af9a00b2654b706504e3223a
# -*- coding: utf-8 -*- # # glif_cond_neuron.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 Licens...
hakonsbm/nest-simulator
pynest/examples/glif_cond_neuron.py
Python
gpl-2.0
9,651
[ "NEURON" ]
9f323e0ed7dc38e58843e94858d2bfd59937b1ad805639ff07450df3a261ba6c
# Copyright 2016 James Hensman, alexggmatthews # Copyright 2017 Thomas Viehmann # # 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 requi...
t-vi/candlegp
candlegp/densities.py
Python
apache-2.0
3,015
[ "Gaussian" ]
3f9a41fc170a0b18fa0ad614073d0959831e023f6d199cc0156ac76731e318cc
#!/usr/bin/env python # # SchoolTool - common information systems platform for school administration # Copyright (c) 2003 Shuttleworth Foundation # # 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...
mhnatiuk/phd_sociology_of_religion
scrapper/build/lxml/test.py
Python
gpl-2.0
21,171
[ "VisIt" ]
28882753a04569bb1e2e263a6f47ccbf3b579986d8ba3b292504c6a7a6d02d52
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-03-10 04:31 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('coffee', '0003_auto_20170310_0431'), ] operations = [ migrations.AlterField...
greg-ruane/coffee-catalog
src/coffee/migrations/0004_auto_20170310_0431.py
Python
mit
805
[ "ESPResSo" ]
df0b2b347bfa4873709dc6c49b66e1589f8f3dbd7f4211e09f5542eb3985c819
# print dictionary import json goo = {'name': 'honux', 'age': 25, 'favorite' : {'game': 'SF', 'movie': 'matrix', 'book': 'Galaxy hero'}} print(goo) print(json.dumps(goo, indent = 4, sort_keys = True))
honux77/practice
python/print_dict.py
Python
mit
206
[ "Galaxy" ]
d224424638bf710b7098fe01078c6a60d2fb70e03e99080d39e22d6c816f51da
#!/usr/bin/python # -*- coding: utf-8 -*- # (c) 2016, Brian Coca <bcoca@ansible.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License...
chrismeyersfsu/ansible
lib/ansible/modules/system/systemd.py
Python
gpl-3.0
15,875
[ "Brian" ]
37017f488611970037d4245137321d3087c8421d3fabac38a6d038dfcfd900d4
from gpaw.transport.analysor import Transport_Plotter import numpy as np from pylab import * import sys from ase.data import chemical_symbols fd=0 bias_steps = sys.argv[1] orbital_type = None plotter = Transport_Plotter(fd) plotter.plot_setup() plotter.read_overhead() legends = [] flags = ['b-o', 'r-o', 'g-o' ,'c-o'...
qsnake/gpaw
doc/documentation/transport/transport_analysis_scripts/charge.py
Python
gpl-3.0
2,872
[ "ASE", "GPAW" ]
8104792a21210cdfa10e083927a855ea0a241e772137e8e9f7f004b32a47ace3
# Maked by Mr. Have fun! Version 0.2 # Shadow Weapon Coupons contributed by BiTi for the Official L2J Datapack Project # Visit http://forum.l2jdp.com for more details import sys from com.l2scoria.gameserver.model.quest import State from com.l2scoria.gameserver.model.quest import QuestState from com.l2scoria.gameserver....
zenn1989/scoria-interlude
L2Jscoria-Game/data/scripts/quests/414_PathToOrcRaider/__init__.py
Python
gpl-3.0
6,558
[ "VisIt" ]
d5cb423a177b8ea3590b2698b83dd9a57deed3c6e1f82fb3cafc4d707d427148
# Ask vnc text spoke # # Copyright (C) 2013 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, or (at your option) any later version. # This program is distributed in the...
itoed/anaconda
pyanaconda/ui/tui/spokes/warnings.py
Python
gpl-2.0
2,450
[ "Brian" ]
75ef9b45a3979443e83e153b2b0d16240b0cc840fd66a6de53301c1e324a8cd6
import json #!!! This giant block of imports should be something simpler, such as: # from great_exepectations.helpers.expectation_creation import * from great_expectations.execution_engine import ( PandasExecutionEngine, SparkDFExecutionEngine, SqlAlchemyExecutionEngine, ) from great_expectations.expectati...
great-expectations/great_expectations
contrib/experimental/great_expectations_experimental/expectations/expect_column_values_to_be_ascii.py
Python
apache-2.0
12,458
[ "VisIt" ]
f4981be93086a54f46d8952fe6393738e4397d9c22147c57308dc160ce7221c6
import numpy from copy import copy from orbkit.display import display from orbkit.qcinfo import QCinfo, CIinfo from orbkit.orbitals import MOClass from orbkit.units import ev_to_ha from .tools import molpro_mo_order_ci from .psi4 import psi4_detci from .tmol import tmol_escf, tmol_tddft from .gamess import gamess_cis...
orbkit/orbkit
orbkit/detci/ci_read/high_level.py
Python
lgpl-3.0
4,067
[ "GAMESS", "Gaussian", "Molpro", "Psi4", "TURBOMOLE" ]
2574a5e6a3830d5ed981f539a457d3833b537776b5d6e6db620d27e8b4f116a7
'''Defines the common object used by the Grid Consistency Checker. Created on May 19, 2013 @author: Cam Moore ''' from collections import deque from django.template.defaultfilters import slugify class Error(object): """Represents Errors detected by GCC.""" def __init__(self, action, message): """Init...
yongwen/makahiki
makahiki/apps/managers/smartgrid_mgr/gcc_model.py
Python
mit
11,951
[ "Brian" ]
0a682c27136ced7054a2e05b5816f0bbe5fa7774d462d2cfea89f669feb51951
import os from scipy.io import netcdf class Mask(object): def __init__(self, base_dir=None, verbose=False): self.base_dir = base_dir or os.getcwd() self.verbose = verbose def read_mask(self, region_name): file_path = os.path.join(self.base_dir, 'mask_%s.nc' % region_name) if...
paolap/cwsl-ctools
sdm/sdm/mask.py
Python
apache-2.0
512
[ "NetCDF" ]
c50e5e52f335cc074e79d7104e1e05015b0e8de51d2f820a3b4673cb3ee1e9a2
""" A set of utilities used in the WMS services Requires the Nordugrid ARC plugins. In particular : nordugrid-arc-python """ __RCSID__ = "$Id$" import shutil import os from tempfile import mkdtemp from DIRAC import S_OK, S_ERROR, gConfig from DIRAC.Core.Utilities.Grid import executeGridCommand from DIRAC.Core.U...
vmendez/DIRAC
WorkloadManagementSystem/Service/WMSUtilities.py
Python
gpl-3.0
2,909
[ "DIRAC" ]
4c8f18b7c18e2f65b6023d3eaad259174f1d5acee2b952e181a335c0ac79d92e
""" An implementation of a multilayer perceptron using matrix multiplies. ============== Copyright Info ============== 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,...
bdol/bdol-ml
neural_networks/matrix_mlp/neural_network.py
Python
lgpl-3.0
6,610
[ "Brian" ]
47e9ec135193599ba6a310403fd126c5931cc8afbfdb58c4fe321341431291fb
# This code is part of Ansible, but is an independent component. # This particular file snippet, and this file snippet only, is BSD licensed. # Modules you write using this snippet, which is embedded dynamically by Ansible # still belong to the author of the module, and may assign their own license # to the complete wo...
donckers/ansible
lib/ansible/module_utils/basic.py
Python
gpl-3.0
82,815
[ "VisIt" ]
13288f3331b7194dfa2c1b2d4e4eac9b47e3b7dbe1d3b2c3d3bd7a242042a352
""" Test dashboard search """ import json import os from common.test.acceptance.fixtures.course import CourseFixture, XBlockFixtureDesc from common.test.acceptance.pages.common.auto_auth import AutoAuthPage from common.test.acceptance.pages.common.logout import LogoutPage from common.test.acceptance.pages.common.utils...
teltek/edx-platform
common/test/acceptance/tests/lms/test_lms_dashboard_search.py
Python
agpl-3.0
7,382
[ "VisIt" ]
c2d1e8c7ad58f6c1f9c899e0ef3b1e67455630415abef3e2695c27d003583c35
""" StorageManagerHandler is the implementation of the StorageManagementDB in the DISET framework """ __RCSID__ = "$Id$" from types import IntType, DictType, ListType, StringType, LongType from DIRAC import gLogger, S_OK from DIRAC.Core.DISET.RequestHandler ...
Sbalbp/DIRAC
StorageManagementSystem/Service/StorageManagerHandler.py
Python
gpl-3.0
14,239
[ "DIRAC" ]
4915dccc2d8e8c8d58fb1e3fccc98bb621c14495a282ebdb659b73a9aabb2e98
# Copyright (C) 2012,2013,2016 # 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...
kkreis/espressopp
src/tools/timers.py
Python
gpl-3.0
2,009
[ "ESPResSo" ]
06726ddd26dfd93c4ce9f26598aa0f704c0f0c39ddeea0968cd3cc08f552768e
from __future__ import absolute_import from parsimonious.grammar import Grammar from parsimonious.nodes import NodeVisitor from random import randint grammar = Grammar(""" expression = operation / element operation = ws element ws operator ws expression ws element = parenthetical / number ...
ErinCall/ParserDemos
ndn/parsimonious.py
Python
mit
1,665
[ "VisIt" ]
f33ee52aee68e1f74b3351fffeb35be4ff30e2caa8d57dc48ce7c50efde3e556
""" Test class for SGEResourceUsage utility """ import pytest from DIRAC import S_OK # sut from DIRAC.Resources.Computing.BatchSystems.TimeLeft.SGEResourceUsage import SGEResourceUsage RESULT_FROM_SGE = """ job_number: 7448711 exec_file: job_scripts/7448711 submission_time: ...
yujikato/DIRAC
src/DIRAC/Resources/Computing/BatchSystems/TimeLeft/test/Test_SGEResourceUsage.py
Python
gpl-3.0
1,996
[ "DIRAC" ]
ea1fc69991c65217ad18fadd5ca8e4de8358724d64d1d8a4ff0da3987ea9dd98
"""Scraper for North Carolina Supreme Court CourtID: nc Court Short Name: N.C. Reviewer: History: 2014-05-01: Created by Brian Carver 2014-08-04: Rewritten by Jon Andersen with complete backscraper """ import re from datetime import date from datetime import datetime import traceback from juriscraper.Abstract...
brianwc/juriscraper
opinions/united_states/state/nc.py
Python
bsd-2-clause
6,743
[ "Brian" ]
c831441cde519fa00c1bededf56bdea213bf8f054da02274162e9c7c84df976b
# -*- coding: utf-8 -*- # Copyright 2012 Google Inc. 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 require...
catapult-project/catapult
third_party/gsutil/gslib/addlhelp/support.py
Python
bsd-3-clause
4,597
[ "VisIt" ]
8660308e8e05c322c4fe454e7acb10576e8022bac26cb9e59e8183743fcd9277
''' SYNBIOCHEM-DB (c) University of Manchester 2018 SYNBIOCHEM-DB is licensed under the MIT License. To view a copy of this license, visit <http://opensource.org/licenses/MIT/>. @author: neilswainston '''
synbiochem/SYNBIOCHEM-DB
synbiochem_db/data_tracking_sheet/__init__.py
Python
mit
209
[ "VisIt" ]
d861444fe4db3d5807221889ea43369bdd04529ec793a0ff8e51c4de163d9f8b
#!/usr/bin/env python # Author: Andrew Jewett (jewett.aij at g mail) # http://www.chem.ucsb.edu/~sheagroup # License: 3-clause BSD License (See LICENSE.TXT) # Copyright (c) 2011, Regents of the University of California # All rights reserved. man_page_text = """ nbody_by_type.py reads a LAMMPS data file ...
crtrott/lammps
tools/moltemplate/src/nbody_by_type.py
Python
gpl-2.0
29,461
[ "LAMMPS" ]
5e4ae6be3f93c37f2353a18dd35208c834d1ca1b4e71a9aa958c21da76d0da87
# This file is part of cclib (http://cclib.github.io), a library for parsing # and interpreting the results of computational chemistry packages. # # Copyright (C) 2007-2014, the cclib development team # # The library is free software, distributed under the terms of # the GNU Lesser General Public version 2.1 or later. ...
Clyde-fare/cclib
test/testTDun.py
Python
lgpl-2.1
1,859
[ "cclib" ]
801d49ec4f9e608f9d373241b960fdd37fc0e880800bb33bdf061e8bf5eb791f
import argparse import logging import os.path as op import pandas as pd from Bio import PDB from tqdm import tqdm import ssbio.utils from ssbio.protein.structure.utils.structureio import StructureIO log = logging.getLogger(__name__) def get_msms_df(model, pdb_id, outfile=None, outdir=None, outext='_msms.df', force_...
SBRG/ssbio
ssbio/protein/structure/properties/msms.py
Python
mit
4,656
[ "Biopython" ]
709fe1b8ef602d4840be3fe1abc52988aaa36c860335cee82c9cd017da51b367
# # Brian C. Lane <bcl@redhat.com> # # Copyright 2012 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,...
bcl/pykickstart
tests/commands/reboot.py
Python
gpl-2.0
4,241
[ "Brian" ]
33f334872ebed4b3e0171a60b4252f7e75c4072f131ec4602663aa4eb854be0e
import pickle import numpy as np from ase.dft.kpoints import ibz_points, get_bandpath from gpaw import GPAW points = ibz_points['fcc'] G = points['Gamma'] X = points['X'] W = points['W'] K = points['K'] L = points['L'] calc = GPAW('Si-PBE.gpw', txt=None, parallel={'domain': 1}, fixde...
robwarm/gpaw-symm
doc/tutorials/pbe0/bs.py
Python
gpl-3.0
633
[ "ASE", "GPAW" ]
f4166fe0ba39f2763f202016a2a5205649fa6e3fcf31bc4be7be1f7392fe87d9
from __future__ import unicode_literals from django.test import TestCase from django.utils import six from .models import (Building, Child, Device, Port, Item, Country, Connection, ClientStatus, State, Client, SpecialClient, TUser, Person, Student, Organizer, Class, Enrollment, Hen, Chick) class SelectRelat...
denisenkom/django
tests/select_related_regress/tests.py
Python
bsd-3-clause
8,137
[ "Brian" ]
8e77e81ef614eec2d511516e7769a0d4a9ecfc0925a9fd62535ff54dee6bc871
#!/usr/bin/env python # call this like: % python test_matcher.py #repodir = "/data/lsst/decam/redux/cp/cosmos/" #visitid = 177341 #ccdnum = 15 import lsst.afw.image as afwImage import lsst.afw.table as afwTable import lsst.afw.geom as afwGeom import lsst.daf.persistence as dafPersist import lsst.meas.astrom as measA...
dnidever/lsst-tools
python/qascript.py
Python
mit
14,469
[ "VisIt" ]
a62f6bd341500c01fdd169d70b6cda31e67f8d6e9abfab2d45ef08ba61428b97
# Copyright (C) 2014 # Pierre de Buyl # 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 ...
espressopp/espressopp
src/interaction/HarmonicTrap.py
Python
gpl-3.0
3,062
[ "ESPResSo" ]
09529894796e321f3aa47598515613b0eed4a38e353dfdb7e37111f70d0b1921
""" Acceptance tests for Studio related to the textbooks. """ from common.test.acceptance.pages.lms.textbook_view import TextbookViewPage from common.test.acceptance.pages.studio.textbook_upload import TextbookUploadPage from common.test.acceptance.tests.helpers import disable_animations from common.test.acceptance.tes...
philanthropy-u/edx-platform
common/test/acceptance/tests/studio/test_studio_textbooks.py
Python
agpl-3.0
7,155
[ "VisIt" ]
753d29f2c09dbcfbc34962cf910c062a49aa1c393477f74c0586615f6c6dfd81
from ase import Atoms from gpaw import GPAW a = 2.87 m = 2.2 bulk = Atoms('Fe2', positions=[(0, 0, 0), (a/2, a/2, a/2)], magmoms=[m, m], cell=(a, a, a), pbc=True) calc = GPAW(kpts=(6, 6, 6), h=0.20, nbands=18, ...
qsnake/gpaw
doc/exercises/iron/ferro.py
Python
gpl-3.0
457
[ "ASE", "GPAW" ]
8b066d62306950138ac8d670e0fa77c3fe808a0776889feaabe51419de0f8708
# -*- coding: utf-8 -*- # Copyright 2012 splinter authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. from __future__ import with_statement import time import re from contextlib import contextmanager from selenium.common.exceptions impor...
GbalsaC/bitnamiP
venv/lib/python2.7/site-packages/splinter/driver/webdriver/__init__.py
Python
agpl-3.0
15,540
[ "VisIt" ]
47dc9474f0d52251b1134c0d372aff23d423837e8fe7badd7d0576fac01013e6
#!/usr/bin/python adjectives = ("autumn", "hidden", "bitter", "misty", "silent", "empty", "dry", "dark", "summer", "icy", "delicate", "quiet", "white", "cool", "spring", "winter", "patient", "twilight", "dawn", "crimson", "wispy", "weathered", "blue", "billowing", "broken", "c...
MoshiBin/pykunator
pykunator/words.py
Python
mit
1,472
[ "Firefly" ]
85ec9da074e1085ba626cb8d5d41a2d3827817148bb969a2f8b1603b8cf3b728
from distutils.core import setup setup( name='Pi-Pin-Manager', version='3.1.0', author='Brian Hines', author_email='brian@projectweekend.net', packages=['pi_pin_manager'], url='http://projectweekend.github.io/Pi-Pin-Manager/', license='LICENSE.txt', description='Setup Raspberry Pi GPIO ...
projectweekend/Pi-Pin-Manager
setup.py
Python
mit
508
[ "Brian" ]
ba2fdd0f127a3187758ce01f7213ae4a4a074c4b9003625d1aa42fd0e54b8a0f
from __future__ import division import numpy as np import scipy as sp from scipy import sparse import pandas as pd from scipy.stats import gamma import matplotlib.pyplot as plt from six.moves import range, StringIO, cPickle class HRFModel(object): """Abstract class definition for HRF Models.""" def __init__(...
mwaskom/moss
moss/glm.py
Python
bsd-3-clause
29,735
[ "Gaussian" ]
2d11a967fdad78e397de4c9dbb146f6488ffd8d59aa9501a484c819b826af7aa
# Default Django settings. Override these with settings in the module # pointed-to by the DJANGO_SETTINGS_MODULE environment variable. # This is defined here as a do-nothing function because we can't import # django.utils.translation -- that module depends on the settings. gettext_noop = lambda s: s #################...
ychen820/microblog
y/google-cloud-sdk/platform/google_appengine/lib/django-1.4/django/conf/global_settings.py
Python
bsd-3-clause
22,284
[ "VisIt" ]
61f25a089a2d21598a1b8df9a956e8980e95e64603d6f06ca72036add351d1a9
# -*- coding: utf-8 -*- """ pygments.lexers.compiled ~~~~~~~~~~~~~~~~~~~~~~~~ Lexers for compiled languages. :copyright: Copyright 2006-2012 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ import re from string import Template from pygments.lexer import Lexer, Rege...
isnowfy/pydown
pygments/lexers/compiled.py
Python
mit
130,406
[ "ASE" ]
3bcafcb80f0421072ae1e1102a55bf6978010080c055357a546064627ef5122f
""" View for Courseware Index """ # pylint: disable=attribute-defined-outside-init from datetime import datetime from django.conf import settings from django.contrib.auth.decorators import login_required from django.contrib.auth.models import User from django.core.context_processors import csrf from django.core.urlreso...
10clouds/edx-platform
lms/djangoapps/courseware/views/index.py
Python
agpl-3.0
21,763
[ "VisIt" ]
b2ae4f6f7e89786a8bae578754bc7df28a15e7b25c2f5c6fd4a75736c2c9986b
""" Test functions for models.GLM """ from statsmodels.compat import range import os import numpy as np from numpy.testing import (assert_almost_equal, assert_equal, assert_raises, assert_allclose, assert_, assert_array_less) from scipy import stats import statsmodels.api as sm from statsmo...
rgommers/statsmodels
statsmodels/genmod/tests/test_glm.py
Python
bsd-3-clause
28,302
[ "Gaussian" ]
e622f7a8df2045e4dd4dfd90ee0946a04d1b1d01f76da02cea1047f6b83ba962
"""Mean shift clustering algorithm. Mean shift clustering aims to discover *blobs* in a smooth density of samples. It is a centroid based algorithm, which works by updating candidates for centroids to be the mean of the points within a given region. These candidates are then filtered in a post-processing stage to elim...
mira67/TakeoutDataAnalysis
python/mean_shift_n.py
Python
gpl-3.0
19,555
[ "Gaussian" ]
c4d4aa01e33eb4b992b3f1dbc133847cec2a7f68f7605a160fd36bcf751c364b
#!/usr/bin/env python2 desc="""Fetch proteomes of taxa from given group form metaPhOrs. """ epilog="""Author: l.p.pryszcz+git@gmail.com Mizerow, 17/07/2014 """ import argparse, os, sys import numpy as np from datetime import datetime from Bio import SeqIO def blastout2profile(out, query, blastfiles, evalue, query_ov...
lpryszcz/bin
blastout2profile.py
Python
gpl-3.0
3,544
[ "BLAST" ]
bb063f6e0c98f58d136238d64f6aa30cf4ed95ed8c0e6583ff5ec4c79e6b195e
import netCDF4 import logging from datetime import datetime def initialize(ncfile, dimensions, variables=None, attributes=None, crs=None): '''Initialize netCDF4 file Creates an empty netCDF4 file with dimensions and variable containers according to a set of dictionaries for the dimensions, variables,...
openearth/windsurf
windsurf/netcdf.py
Python
gpl-2.0
11,659
[ "NetCDF" ]
7a6ae06cafbffd51e6b7876eea50c776d3b3026992c707a421bec40999a11421
import tensorflow as tf from tensorflow.python.framework import ops import numpy as np import glob import argparse import logging import os import sys import config as cfg import re from scipy.misc import imresize, toimage from PIL import Image from scipy import signal, ndimage from blocks import relu_block, res_block...
davidzheng814/superres
model.py
Python
mit
24,239
[ "Gaussian" ]
81b0e4f968f2acb4ef425435ee306e6d022f12fa41925c86d6a9b3cfe6db5ea0
# # Copyright 2009-2017 Red Hat, 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 2 of the License, or # (at your option) any later version. # # This program is distributed ...
EdDev/vdsm
lib/vdsm/storage/misc.py
Python
gpl-2.0
19,234
[ "VisIt" ]
4f50ba530d1dc4eff642d5fbfb4a6ef71a28eb89693955c920d747033acc4506
#!/usr/bin/env python ######################################## #Globale Karte fuer tests # from Rabea Amther ######################################## # http://gfesuite.noaa.gov/developer/netCDFPythonInterface.html import math import numpy as np import pylab as pl import Scientific.IO.NetCDF as IO import matplotlib as...
CopyChat/Plotting
GCM_changes/climatechange.tas.py
Python
gpl-3.0
6,798
[ "NetCDF" ]
3f21be30312a4b5ea18d57a3831638974c97b0543d81aa9bed1d82f72b02833d
import numpy as np import qpimage def test_offset_mean_simple(): size = 200 bg = 2.5 rsobj = np.random.RandomState(47) data = rsobj.normal(loc=bg, scale=.1, size=(size, size)) assert np.allclose(np.mean(data), 2.5003227280152887) qpi = qpimage.QPImage(data=data, which_data="phase", h5dtype="f...
RI-imaging/qpimage
tests/test_bg_estimate_offset.py
Python
mit
1,900
[ "Gaussian" ]
66d23ddedeef96d1fdb626a88da26c56d0420b8a084b6978291808c0152c8447
# # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2007-2008 Brian G. Matherly # Copyright (C) 2008 Gary Burton # # 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 v...
dermoth/gramps
gramps/gen/plug/menu/_text.py
Python
gpl-2.0
1,775
[ "Brian" ]
c7a83a4803ce4b8c035ba418714f52d7bf08edad197f620113bafa5820efabbc
''' Base class from which PyNoddy experiments should inherit. Much basic functionality (random perturbation, plotting etc. is defined here). Thought: perhaps drawing functions etc. should be moved into NoddyOutput class? @author: flohorovicic, samthiele ''' import os import numpy as np from pynoddy.history import N...
jesserobertson/pynoddy
pynoddy/experiment/__init__.py
Python
gpl-2.0
21,344
[ "ParaView", "VTK" ]
659d16c479d605ea4a7735f3d0fccd2ecf9ff600944bd5d7b88848f8c7fd9b9c
# -*- Mode: Python; coding: utf-8 -*- # vi:si:et:sw=4:sts=4:ts=4 ## ## Copyright (C) 2007 Async Open Source <http://www.async.com.br> ## All rights reserved ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Sof...
andrebellafronte/stoq
plugins/ecf/ecfui.py
Python
gpl-2.0
27,520
[ "VisIt" ]
a71c16cda0df11c6223e1d66388c2ccc5e912d3ff885fb9b7df5d57a6ace7fc7
# -*- coding: utf-8 -*- import os, datetime from django.db import models from django.contrib.auth.models import User from django.utils import timezone from django.core.urlresolvers import reverse from django.conf import settings from irpmemr.models import CommonModel from irpmemr.const import COOKING_FACILITIES, TOIL...
aazhbd/medical_info01
patient/models.py
Python
bsd-3-clause
17,083
[ "VisIt" ]
f53d39b187c22d49832165a3dfadc8a7add3e3167b0755cf836a631df17577e4
# -*- coding: utf-8 -*- # Copyright (c) 2015-2018, Exa Analytics Development Team # Distributed under the terms of the Apache License 2.0 """ Interface to `cclib`_ ####################### .. _cclib: https://cclib.github.io/ """ from exa.util.units import Length, Energy from exatomic.algorithms.basis import lmap from e...
avmarchenko/exatomic
exatomic/interfaces/cclib.py
Python
apache-2.0
4,776
[ "Gaussian", "cclib" ]
216b698037f065b18fb28cd3e2795ae14638a1d77e3c76f6765451c73620e0ca
# Principal Component Analysis Code : from numpy import mean,cov,double,cumsum,dot,linalg,array,rank,size,flipud from pylab import * import numpy as np import matplotlib.pyplot as pp #from enthought.mayavi import mlab import scipy.ndimage as ni import roslib; roslib.load_manifest('sandbox_tapo_darpa_m3') import ro...
tapomayukh/projects_in_python
classification/Classification_with_kNN/Single_Contact_Classification/Final/results/4-categories/24/test10_cross_validate_categories_24_1200ms.py
Python
mit
4,364
[ "Mayavi" ]
00e804868b9c2d061a6068d8a12e21a09549d30a65e1f4df640d070e8171ea7e
# sql/util.py # Copyright (C) 2005-2016 the SQLAlchemy authors and contributors # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """High level utilities which build upon other modules here. """ from .. import exc, u...
Microvellum/Fluid-Designer
win64-vc/2.78/python/lib/site-packages/sqlalchemy/sql/util.py
Python
gpl-3.0
20,382
[ "VisIt" ]
ec0b0eb32848ab67922cc5adc2fa9f4cb73631d0a8b46cc4290285137c24e6c9
# Copyright (C) 2010-2019 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 v...
psci2195/espresso-ffans
testsuite/python/lb_electrohydrodynamics.py
Python
gpl-3.0
2,509
[ "ESPResSo" ]
cbd30aa9e76092d913dddfca197ad8761eef10a0f00ad1e31d4e51cee4301730
import bs import random import math def bsGetAPIVersion(): return 4 def bsGetGames(): return [KillZoneGame] def bsGetLevels(): return [bs.Level('Kill Zone',displayName='${GAME}',gameType=KillZoneGame,settings={},previewTexName='doomShroomPreview')] class KillZoneGame(bs.TeamGameActivity): @classme...
Mrmaxmeier/BombSquad-Community-Mod-Manager
mods/bsKillZone.py
Python
unlicense
12,614
[ "BLAST" ]
b0bf48d9240e5c46ef53d4bd6070e46cfb3c8e2bfe291a8e06a274029bf995f7
import datetime from django.http import HttpResponse import logging from natsort import natsorted import pandas as pd from PyPDF2 import PdfFileReader, PdfFileMerger from pyper import * import json from database.models import ko_entry import functions LOG_FILENAME = 'error_log.txt' pd.set_option('display.max_colwid...
manterd/myPhyloDB
functions/analysis/gage_graphs.py
Python
gpl-3.0
19,411
[ "Bioconductor" ]
5b94cf652b46f7ff02e8ea2853b69186aed48582220a4e628ea671d64625dbb2
"""This demo program uses of the interface to SNES solver for variational inequalities to solve a contact mechanics problems in FEnics. The example considers a heavy hyperelastic circle in a box of the same size""" # Copyright (C) 2012 Corrado Maurini # # This file is part of DOLFIN. # # DOLFIN is free software: you...
MiroK/DolfinSurface
demo/undocumented/contact-vi-snes/python/demo_contact-vi-snes.py
Python
gpl-3.0
3,831
[ "VTK" ]
57f0fbeac9d23888a9c29aff5652df97aa87882012f817ec075a28686b382712
############################################################################## # 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...
skosukhin/spack
var/spack/repos/builtin/packages/plumed/package.py
Python
lgpl-2.1
7,199
[ "Amber", "ESPResSo" ]
a0ba1f293afab5e8ba2e3cd12d173c66ba267f7cb165d680b0ef83795ea2a432
#! /usr/bin/env python """ Script to pre-average data using a sliding Gaussian kernel in time """ import argparse from argparse import RawTextHelpFormatter import numpy as np import glob import sys import os import itertools import pickle from scipy.ndimage.filters import gaussian_filter1d as gfilter import casacore.ta...
revoltek/factor
factor/scripts/pre_average_time.py
Python
gpl-2.0
17,177
[ "Gaussian" ]
1e995622422ca31b7a06490334817d3d6d2b6dfcda63d181ca73efbf27a5103c
#* This file is part of the MOOSE framework #* https://www.mooseframework.org #* #* All rights reserved, see COPYRIGHT for full restrictions #* https://github.com/idaholab/moose/blob/master/COPYRIGHT #* #* Licensed under LGPL 2.1, please see LICENSE for details #* https://www.gnu.org/licenses/lgpl-2.1.html import html ...
harterj/moose
python/MooseDocs/tree/html.py
Python
lgpl-2.1
4,743
[ "MOOSE" ]
83bf7fcac7e788bbace767efc8210525ce42cf8a6400fd5e8349cb1b519b414b
''' Example of a spike receptor (only receives spikes) In this example spikes are received and processed creating a raster plot at the end of the simulation. ''' from brian import * import numpy from brian_multiprocess_udp import BrianConnectUDP # The main function with the NeuronGroup(s) and Synapse(s) must be na...
ricardodeazambuja/BrianConnectUDP
examples/OutputNeuronGroup_multiple_outputs_1.py
Python
cc0-1.0
2,856
[ "Brian", "NEURON" ]
80ad434d30e126e2cffc30c8d3ee2cae7e32b9b6d6172cbf0f10a60b8618f5df