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
#!/usr/bin/env python # # threat_note v4.0 # # Developed By: Brian Warehime # # Defense Point Security (defpoint.com) # # October 26, 2015 # # import argparse import os.path from app import app if __na...
alxhrck/threat_note
run.py
Python
apache-2.0
1,225
[ "Brian" ]
69b174db7a1d90a999b8a28b9be6c7d06d644e99d8e99ef17e911528ae58d545
#!/usr/bin/env python import os import sys import argparse from xml.dom.minidom import Document class Tool(): def __init__( self, ap_parser, **kwargs ): self.ap_parser = ap_parser self.name = parser.prog self.id = parser.prog self.version = kwargs.get('version', None) or str(parse...
bgruening/argparse2galaxy
argparse2galaxy.py
Python
mit
14,043
[ "Galaxy" ]
4c653aceae27320a419eeac5f769d2c3c125b9d693e4aad87cf363058602d111
# !/usr/bin/env python # coding: utf-8 """ pyvse ~~~~~ A high-level API designed for MarketWatch Virtual Stock Exchange games. Author: Kevin Chen Email: kvchen@berkeley.edu Contributor: Andrew Han Email: handrew@stanford.edu """ import requests import re import json from datetime import ...
kvchen/pyvse
pyvse2.py
Python
mit
10,590
[ "VisIt" ]
ce7cafb3e34df3bbe75057eda69599136d4eae0d816f06811e5ca8633dc87d7b
# -*- coding: utf-8 -*- # # abstar documentation build configuration file, created by # sphinx-quickstart on Mon Apr 11 12:45:25 2016. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # Al...
briney/abstar
docs/source/conf.py
Python
mit
10,545
[ "BLAST", "Biopython", "scikit-bio" ]
1bc47f483b09e5a1cf3a92e939a162caeaf847f9afb209afbc77acc7a5295442
import sys,os,unittest,ctypes from lammps import lammps, LMP_VAR_ATOM, LMP_STYLE_GLOBAL, LMP_TYPE_VECTOR, LAMMPS_DOUBLE_2D, LAMMPS_AUTODETECT has_manybody=False try: machine=None if 'LAMMPS_MACHINE_NAME' in os.environ: machine=os.environ['LAMMPS_MACHINE_NAME'] lmp=lammps(name=machine) has_many...
akohlmey/lammps
unittest/python/python-commands.py
Python
gpl-2.0
21,064
[ "LAMMPS" ]
219a1d57bd38e16637c142431291c138ffb4ad1b7fdd8b9c8994c7408adc4e81
# This file is part of DmpBbo, a set of libraries and programs for the # black-box optimization of dynamical movement primitives. # Copyright (C) 2018 Freek Stulp # # DmpBbo 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...
stulp/dmpbbo
python/functionapproximators/tests/testParameterizable.py
Python
lgpl-2.1
4,550
[ "Gaussian" ]
30a394293685fda33f161bae6b94756eac01dc9e809a319742d19473bd577f56
import os from os.path import splitext import lsc import numpy as np import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D from pyraf import iraf from glob import glob import datetime import astropy.units as u from astropy.io import fits from astropy.wcs import WCS from astropy.table import Table, vst...
svalenti/lcogtsnpipe
trunk/src/lsc/myloopdef.py
Python
mit
97,882
[ "Gaussian" ]
844d29b991ee9c4efb3d647e45f1e76e8bfe48371d46b8c0668a194c7977eff6
import unittest from test.support import (verbose, refcount_test, run_unittest, strip_python_stderr, cpython_only, start_threads, temp_dir, requires_type_collecting) from test.support.script_helper import assert_python_ok, make_script import sys import time import gc...
batermj/algorithm-challenger
code-analysis/programming_anguage/python/source_codes/Python3.5.9/Python-3.5.9/Lib/test/test_gc.py
Python
apache-2.0
34,167
[ "VisIt" ]
8923cb530f154fcb1a53f90168e299d7ce07fef28385c2d5d1e641fe3eb7d9ab
# -*- coding: utf-8 -*- # # clopath_synapse_small_network.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 ...
sdiazpier/nest-simulator
pynest/examples/clopath_synapse_small_network.py
Python
gpl-2.0
7,481
[ "Gaussian", "NEURON" ]
3b0878d2f229ced0dd7675cf9b8b1898fc50337fd9361efa2ca70c4431c44914
# This file is part of the Fluggo Media Library for high-quality # video and audio processing. # # Copyright 2010-1 Brian J. Crowell <brian@fluggo.com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foun...
fluggo/Canvas
fluggo/editor/model/items.py
Python
gpl-3.0
22,350
[ "Brian" ]
2f48d3dcffcd4210a03025d315ae5b21c46b5c6519f1f79216e5776b55b22e12
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2017, the cclib development team # # This file is part of cclib (http://cclib.github.io) and is distributed under # the terms of the BSD 3-Clause License. import argparse import logging import os.path import sys from cclib.parser import ccData from cclib...
berquist/cclib
cclib/scripts/ccwrite.py
Python
bsd-3-clause
3,590
[ "cclib" ]
be262ce75ac24ba455d4d604a8936b72b8e5d2bd68ebf11aa9e95d8b741ffe75
#!/usr/bin/env python """ obsgen.py State Estimation and Analysis for PYthon Module to process observations: obsgen : class to convert from raw to ROMS observations using specific subclasses Written by Brian Powell on 08/15/15 Copyright (c)2017 University of Hawaii under the BSD-License. "...
dalepartridge/seapy
roms/obsgen.py
Python
mit
46,813
[ "Brian", "NetCDF" ]
4271138112dc40ef5c094a0d859b72be24482556b1daa352f3543b7a056002a7
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not us...
rangadi/beam
sdks/python/apache_beam/runners/interactive/interactive_runner.py
Python
apache-2.0
8,330
[ "VisIt" ]
f83f5105cf0e34da2c2a1cb39693628e8e2e2837d53caf4d01974e9231af5a15
""" Statistical Cluster Model Similarity class. A Gaussian representation of a song. The distance between two models is computed with the symmetrized Kullback Leibler Divergence. """ import numpy from numpy import log from decoder import AudioDecoder, init_gstreamer from filter import Filter import scipy.sparse cl...
JohannesBuchner/PyMirage
pymirage/analyse.py
Python
gpl-2.0
3,397
[ "Gaussian" ]
1624e8112da6fa63498ab5255da6038ccdb72a9710708654d5525e7b19e9ecd5
import argparse, os from paraview import simple from paraview import data_exploration as wx try: simple.LoadDistributedPlugin('RGBZView', ns=globals()) except: print 'Unable to load RGBZView plugin' def generateData(datasetPath, outputDir) : if not os.path.exists(outputDir): os.makedirs(outputDi...
Kitware/cinema
scripts/data_generation/generateDiskOutRefData.py
Python
bsd-3-clause
7,202
[ "ParaView" ]
88bd43c3c8b35b6031bfefe61186d65543a60e847bf6074be7ece98c3f3ee176
from asyncio import gather, Lock, Semaphore, sleep, CancelledError from collections import deque from time import time, monotonic from queue import Empty from itertools import cycle from sys import exit from distutils.version import StrictVersion from aiopogo import PGoApi, HashServer, json_loads, exceptions as ex fro...
sebast1219/Monocle
monocle/worker.py
Python
mit
64,053
[ "VisIt" ]
163f78cd063b7c8274ad056b425504a0dbe70f76fe9f3dd8add41078c8b2f533
# User registration view. # # Bonneville Power Adminstration Front-End # Copyright (C) 2015 Shu Ping Chu # # 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...
jialij-pdx/bpe_capstone
registration/views.py
Python
gpl-2.0
5,435
[ "VisIt" ]
3d930860ca5b69ca58a3f8402784d1b4a19a148ea6894b65ae023d5b63c05886
# $Id$ # # Copyright (C) 2003-2008 Greg Landrum and Rational Discovery LLC # # @@ All Rights Reserved @@ # This file is part of the RDKit. # The contents are covered by the terms of the BSD license # which is included in the file license.txt, found at the root # of the RDKit source tree. # """ Definitions for 2D...
jandom/rdkit
rdkit/Chem/Pharm2D/Gobbi_Pharm2D.py
Python
bsd-3-clause
1,931
[ "RDKit" ]
f2234b29c70330a63616abd1679a0acbb07a51aefa92c3d54d189a9b813f41ba
############################################################################### # TransientLogSpiralPotential: a transient spiral potential ############################################################################### import numpy from ..util import conversion from .planarPotential import planarPotential _degtorad=...
jobovy/galpy
galpy/potential/TransientLogSpiralPotential.py
Python
bsd-3-clause
4,764
[ "Gaussian" ]
75f937be93091fd77d553e815446ee0ca6b5d28a8f58da468d10cfe4922ac28d
import numpy as np import inspect from cStringIO import StringIO from _to_native_converter import to_native_class_converter from _inference_parameter_injector import \ _injectGenericInferenceParameterInterface from _inference_injector import _injectGenericInferenceInterface from _misc import defaultAccumulator imp...
ilastikdev/opengm
src/interfaces/python/opengm/_inference_interface_generator.py
Python
mit
29,835
[ "VisIt" ]
784766aec1171970edb539ba9b6ee4d94180545475548cdcda3c14fbe699776b
import vtk import time import numpy as np from ddapp.timercallback import TimerCallback class OrbitController(TimerCallback): def __init__(self, view): TimerCallback.__init__(self) self.view = view self.orbitTime = 20.0 def tick(self): speed = 360.0 / self.orbitTime de...
gizatt/director
src/python/ddapp/cameracontrol.py
Python
bsd-3-clause
3,247
[ "VTK" ]
e1d48274407bf932b5ec7078f74401ebe2e48221d2616dc8016aa9fbdd628076
# Standard library imports. from os.path import isfile # Enthought library imports. from enthought.pyface import FileDialog, OK # Local imports from enthought.mayavi.script import get_imayavi from enthought.mayavi.core.common import error from enthought.mayavi.action.common import WorkbenchAction, get_imayavi ######...
geodynamics/citcoms
visual/Mayavi2/original_plugins/plugins/OpenCitcomSFILES.py
Python
gpl-2.0
2,756
[ "Mayavi", "VTK" ]
3e0f4e5df63f837a62d54650771bee9c9891fcb49fb359ed4bcac69826e6c1ac
# -*- coding: utf-8 -*- from __future__ import unicode_literals import time # !! This is the configuration of Nikola. !! # # !! You should edit it to your liking. !! # # ! Some settings can be different in different languages. # ! A comment stating (translatable) is used to denote those. # ! There are two ways to...
sefk/sef-site
conf.py
Python
apache-2.0
40,645
[ "VisIt" ]
75584ca32436d53c46d5011f060871e723a820f358be07aef8e3f2bb818b726c
""" Project FPGA-Imaging-Library Design RankFilter Function Local filter - Rank filter, it always used for denoising with preserving edge. Module Software simulation. Version 1.0 Modified 2015-05-21 Copyright (C) 2015 Tianyu Dai (dtysky) <dtysky@outlook.com> This library is free software; you can redistribute i...
hj3938/FPGA-Imaging-Library
LocalFilter/ThresholdLocal/SoftwareSim/RankFilter.py
Python
lgpl-2.1
1,298
[ "MOE" ]
9ea11f98b1152b6bd4fa0140c89427f5d5c48609b6620e01b1fc818e7fa0c384
## Copyright (c) 2015 Ryan Koesterer GNU General Public License v3 ## ## 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 l...
rmkoesterer/uga
uga/RunMerge.py
Python
gpl-3.0
10,695
[ "pysam" ]
c767c7f372338a5f9102719db891e3db93b2a96a09e8dfe76566e69c5c883ca4
#---------written by Felix Oesterle (FSO)----------------- #-DESCRIPTION: # This is based on fabfile from Raincloud Project (simplified) # #-Last modified: Thu Jul 09, 2015 13:10 #@author Felix Oesterle #----------------------------------------------------------- from __future__ import with_statement, print_function...
jlandmann/oggm
deployment/fabfile.py
Python
gpl-3.0
41,370
[ "NetCDF" ]
8f9db7ca07a51372a6a6023b4532212da7ec89767ac1a2478a6e0483ded75fd7
from pymol import cmd from pymol.cgo import * # This example shows one way to create a plane behind the current # molecule. # # Note that because PyMOL's ray-tracer doesn't currently support # perspective, the plane will not look right if the edges are # showing. Thus, it is best to zoom the image so that the edges ca...
gratefulfrog/lib
python/pymol/pymol_path/examples/devel/cgo_plane.py
Python
gpl-2.0
2,566
[ "PyMOL" ]
d537117ee14f83a66ab500794a1816de86772b995002c72c723b307f5b2bec67
""" ======================================== Special functions (:mod:`scipy.special`) ======================================== .. module:: scipy.special Nearly all of the functions below are universal functions and follow broadcasting and automatic array-looping rules. Exceptions are noted. Error handling ==========...
Universal-Model-Converter/UMC3.0a
data/Python/x86/Lib/site-packages/scipy/special/__init__.py
Python
mit
19,011
[ "Gaussian" ]
0fc37f3135fc5924bf5bcbddcf7be7a98d2fc0aba5e1f516d133b1988cac71f0
# -*- coding: utf-8 -*- """ ORCA Open Remote Control Application Copyright (C) 2013-2020 Carsten Thielepape Please contact me by : http://www.orca-remote.org/ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as publish...
thica/ORCA-Remote
src/ORCA/interfaces/BaseInterfaceSettings.py
Python
gpl-3.0
24,195
[ "ORCA" ]
3dc18bf9886be9b43b18dcc12e46ae32d02323a39172719e695dead2b70e87a0
import numpy as np import matplotlib.pyplot as plt from astropy.table import Table # robust standard deviation def sigG(arr): return 0.741*(np.quantile(arr, 0.75)-np.quantile(arr, 0.25)) def printStats(arr): print(' ', np.min(arr), np.mean(arr), np.median(arr), np.max(arr), np.size(arr)) retur...
Karuntg/SDSS_SSC
Analysis_2020/ZItools.py
Python
gpl-3.0
7,967
[ "Gaussian" ]
28b07fdf56b3ff6a9d4a17793040aedc96c5d07f065cee9e4c611915838250ee
#!/usr/bin/env python # -*- coding: utf-8 -*- ################################################################################ # # RMG - Reaction Mechanism Generator # # Copyright (c) 2002-2017 Prof. William H. Green (whgreen@mit.edu), # Prof. Richard H. West (r.west@neu.edu) and the RMG Team (rmg_dev@mit.edu) ...
Molecular-Image-Recognition/Molecular-Image-Recognition
code/rmgpy/cantherm/gaussian.py
Python
mit
17,734
[ "Gaussian" ]
d0fc72995666c284cb23738d3726dc321d5b4c6e08bd8bf00267e8159d8b9b24
# -*- 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/meanfield/test/common.py
Python
gpl-3.0
22,472
[ "Gaussian" ]
acf2363ce1a100cb032b591b40fed56fd247b346e24dbdf26c016d1f2a8190c9
# -*- coding: UTF-8 -*- from setuptools import setup, find_packages import versioneer setup( name='bioconda-utils', author="Johannes Köster, Ryan Dale, The Bioconda Team", description="Utilities for building and managing conda packages", license="MIT", packages=find_packages(exclude=['test']), ...
bioconda/bioconda-utils
setup.py
Python
mit
1,092
[ "Bioconda" ]
d9d140bb378e1f6fad5c7687037ba4d08066742e80a64d8c2fa735c3dced2391
''' file name : convexhull.py Description : This sample shows how to find the convex hull of contours This is Python version of this tutorial : http://opencv.itseez.com/doc/tutorials/imgproc/shapedescriptors/hull/hull.html Level : Beginner Benefits : Learn to use cv2.convexHull() Usage : python convexhull.py Writ...
asrob-uc3m/rpc_rpi
src/python/opencv_python_tutorials/Official_Tutorial_Python_Codes/3_imgproc/convexhull.py
Python
gpl-3.0
1,437
[ "VisIt" ]
434eccac9809bf78cb624380b3203e0c82779f9b557cc108baedec0239c61d66
from __future__ import absolute_import, unicode_literals from ..serialization import ( TembaObject, SimpleField, BooleanField, IntegerField, DatetimeField, ObjectListField, ObjectField ) class Broadcast(TembaObject): id = IntegerField() urns = SimpleField() contacts = SimpleField() groups = Simpl...
system7-open-source/rapidpro-python
temba_client/v1/types.py
Python
bsd-3-clause
4,759
[ "VisIt" ]
6f70dd151f89543cab40cc610475f0d782b44444f19d5d0a07b4e2501c269f92
import pandas as pd from sklearn.ensemble import RandomForestRegressor from sklearn.ensemble import BaggingRegressor from sklearn.ensemble import ExtraTreesRegressor from sklearn.ensemble import AdaBoostRegressor from sklearn.ensemble import GradientBoostingRegressor from sklearn.ensemble import RandomTreesEmbedding fr...
rupakc/Kaggle-Compendium
World Cup 2010 - Take on Quants/cup-baseline.py
Python
mit
3,608
[ "Gaussian" ]
45ae67ef9da024312bb1cdaab7a22def2fe52064e23bfccb76ba737ba76ef43f
# -*- Mode: python; tab-width: 4; indent-tabs-mode:nil; coding: utf-8 -*- # vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 """ Module: Profile =============== """ from __future__ import print_function from .basic_observables import Number from .intrinsic_distance import IntrinsicDistance import numpy as np fro...
Marcello-Sega/pytim
pytim/observables/profile.py
Python
gpl-3.0
13,430
[ "MDAnalysis" ]
a34461562ee0aab8fd25ab7bb12d5760c5bb09a3a2e3f005d464fc1ba0178b31
""" Spatial diagnostics module """ __author__ = "Luc Anselin luc.anselin@asu.edu, Daniel Arribas-Bel darribas@asu.edu" from utils import spdot from scipy.stats.stats import chisqprob from scipy.stats import norm import numpy as np import numpy.linalg as la __all__ = ['LMtests', 'MoranRes', 'AKtest'] class LMtests: ...
spreg-git/pysal
pysal/spreg/diagnostics_sp.py
Python
bsd-3-clause
23,989
[ "COLUMBUS" ]
8bf4370d3f9820d9687a97b913da2a47c4cc93cee219f98140b5d03476a98b1b
# This file is part of cclib (http://cclib.sf.net), a library for parsing # and interpreting the results of computational chemistry packages. # # Copyright (C) 2006, the cclib development team # # The library is free software, distributed under the terms of # the GNU Lesser General Public version 2.1 or later. Yo...
Clyde-fare/cclib_bak
src/cclib/method/population.py
Python
lgpl-2.1
3,224
[ "cclib" ]
2a83d8a195f26b9ad4d810087d9e42420bc745f81c9fb77f8407e36d43d99578
# coding=utf-8 from __future__ import division import numpy as _np import scipy.stats as _stats from scipy.signal import gaussian as _gaussian, filtfilt as _filtfilt, filter_design as _filter_design, \ deconvolve as _deconvolve, firwin as _firwin, convolve as _convolve from matplotlib.pyplot import plot as _plot fr...
MPBA/pyHRV
pyphysio/filters/Filters.py
Python
gpl-3.0
20,241
[ "Gaussian" ]
f5402789aa80d5029e7717cb30ad71f69a7db320cc8e3ca442ad921b8e2d52ec
from __future__ import with_statement import logging import multiprocessing import re import sys import threading import time import unittest try: from StringIO import StringIO except ImportError: from io import StringIO try: from test.test_support import run_unittest except ImportError: from test.sup...
santegoeds/pythonfutures
test_futures.py
Python
bsd-2-clause
27,721
[ "Brian" ]
073654bcda284b0d4c72bafacdbbdaa3450cd4147b13e7712acb45e0710663c5
'''extractPairedReadsRegion.py Usage: extractPairedReadsRegion.py <region> <inbam> <outbam> [--threads=<th>] [--memory=<mm>] [--nosort] Options: --threads=<th> Number of threads to use in sort [default: 1]. --memory=<mm> GB of memory per sort thread [default: 6]. --nosort Input B...
adam-rabinowitz/ngs_analysis
scripts/BAM/extractPairedReadsRegion.py
Python
gpl-2.0
3,523
[ "pysam" ]
1814015131af9a0c8745c97949a1e47991f0ccea5a801caab08076f06294b500
"""Perform a simultaneous fit to two frequency distributions (= histograms) with common parameters with kafe2.MultiFit() This example illustrates another common use-case for multifits, where the same signal is measured under varying conditions, e.g. in different detector regions with different resolutions ...
dsavoiu/kafe2
examples/011_multifit/03_multifit2.py
Python
gpl-3.0
4,626
[ "Gaussian" ]
933501bfecc1ffdd726ff9f4045d699383bf5e5e748b2e8407646f030164d43b
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from django.conf import settings class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.Create...
cheelee/ChannelWorm
channelworm/ion_channel/migrations/0001_initial.py
Python
mit
15,404
[ "NEURON" ]
342cb0f43d8b04911ee25eea2597f1c7833ed9eefeba19fc817ab08ecee056cf
############################################################################### # Copyright 2016 - Climate Research Division # Environment and Climate Change Canada # # This file is part of the "EC-CAS diags" package. # # "EC-CAS diags" is free software: you can redistribute it and/or modify # it under...
neishm/EC-CAS-diags
eccas_diags/interfaces/geoschem_coards.py
Python
lgpl-3.0
10,919
[ "NetCDF" ]
54c2199fad05c8a4f2f9963de57ff8e0a6706b6091d6dd209e64c88f233367b3
""" pysteps.blending.clim ===================== Module with methods to read, write and compute past and climatological NWP model skill scores. The module stores the average daily skill score for the past t days and updates it every day. The resulting average climatological skill score is the skill the NWP model skill ...
pySTEPS/pysteps
pysteps/blending/clim.py
Python
bsd-3-clause
7,285
[ "NetCDF" ]
dc4b3efae363680b15e1e94460ddd104a2d3e3bfe1198e68b498f69a89a6ee14
# -*- coding: utf-8 -*- import inspect import sys from django.utils.translation import ugettext_lazy as _lazy from mpconstants import countries from mkt.constants import ratingsbodies from mkt.constants.ratingsbodies import slugify_iarc_name class REGION(object): """ A region is like a country but more con...
washort/zamboni
mkt/constants/regions.py
Python
bsd-3-clause
14,156
[ "BWA" ]
2fc396c337a74573de82c31346ffb53f962a875c6f3219e0fb481e57dcf411ed
import orca def add_dependent_columns(base_dfname, new_dfname): tbl = orca.get_table(new_dfname) for col in tbl.columns: print "Adding", col orca.add_column(base_dfname, col, tbl[col])
bhargavasana/activitysim
activitysim/defaults/models/util/misc.py
Python
agpl-3.0
211
[ "ORCA" ]
c6c391bf70e556081797cb8b6efcf2014f160b491fb3b1bcc7da1771fc9461be
#!/usr/bin/python #-*- coding: utf-8 -*- # Copyright (C) 2015, Nikolai Chernikov <nikolai.chernikov.ru@gmail.com> # # "convert2ugrid" is free software: you can redistribute it and/...
cdd1969/convert2ugrid
lib/process_mixed_data.py
Python
gpl-3.0
47,620
[ "NetCDF" ]
772d19d4b45205736f27435dcd5ef7fbb42a9ad2314a756614bb6ca25331e846
import collections import contextlib import os import shutil import subprocess import pytest import yaml from bcbio.pipeline.config_utils import load_system_config OUTPUT_DIR = "test_automated_output" def default_workdir(): return os.path.join(os.path.dirname(__file__), OUTPUT_DIR) @pytest.fixture def data_d...
brainstorm/bcbio-nextgen
tests/conftest.py
Python
mit
3,789
[ "Galaxy" ]
25d4d3924f317e79e362ae2b4110c779fef1ea196f0a7b5e5519d472fb6d4de9
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
0x0all/nupic
py/regions/ImageSensorFilters/GaussianBlur.py
Python
gpl-3.0
1,766
[ "Gaussian" ]
c61221614edb31808189d32a872c3efd22309efd414b6d842038842e5de9216b
from __future__ import absolute_import, division, print_function from textwrap import dedent import _pytest._code import py import pytest from _pytest.config import PytestPluginManager from _pytest.main import EXIT_NOTESTSCOLLECTED, EXIT_USAGEERROR @pytest.fixture(scope="module", params=["global", "inpackage"]) def ...
flub/pytest
testing/test_conftest.py
Python
mit
15,885
[ "VisIt" ]
252357138c5f5ea7dd8c6dd8c7caf3fff672f023e71cebffc60efb8fb3fe6d11
import ovito from ovito.io import * from ovito.vis import * import os import sys print("Hello, this is OVITO %i.%i.%i" % ovito.version) rs = RenderSettings( filename = '/tmp/image.png', size = (640,480), background_color = (1.0, 1.0, 1.0) ) rs.renderer.antialiasing = True def main(): in_dir = sys.ar...
jorgehog/Deux-kMC
scripts/extraneighbor_clusters/ovitoviz.py
Python
gpl-3.0
1,939
[ "OVITO" ]
1ebd87dbd20e45ec27757422e0823ec605def05ff98ade6f540752a36e648ac8
#!/usr/bin/env python # # Copyright 2007,2010 Free Software Foundation, Inc. # # This file is part of GNU Radio # # GNU Radio is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your opt...
levelrf/level_basestation
grextras/python/qa_noise_source.py
Python
gpl-3.0
1,991
[ "Gaussian" ]
ad85d5fd220e1bdd0fe1b7d97e4ba1fa848a70af168029629a38a851323e7610
# Copyright (C) 2010 Matthew McGowan # # Authors: # Matthew McGowan # # 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. ...
armikhael/software-center
softwarecenter/ui/gtk3/widgets/description.py
Python
gpl-3.0
48,326
[ "ADF", "DIRAC" ]
f2e8e39242d76d04dc110e046d47f293e85ea80dc79d4b42cdc3763545923675
# -*- coding:utf-8 -*- # # This file contains a class and main function to convert giellatekno xml # formatted files to pure text # # 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, eit...
unhammer/gt-CorpusTools
corpustools/ccat.py
Python
gpl-3.0
21,390
[ "VisIt" ]
ad2d00e9464eba3d1baac85d502aba061488cd42ee5cbe964752c535c557ae1a
from __future__ import print_function import sys import os from scipy.io import netcdf as nc import numpy as np import hashlib import pytest @pytest.mark.usefixtures('prepare_to_test') class TestDiagnosticOutput: def test_coverage(self, exp): """ Test that all available diagnostics can be dumped...
aidanheerdegen/MOM6-examples
tools/tests/test_diagnostic_output.py
Python
gpl-3.0
2,751
[ "NetCDF" ]
ccbba5d69cd7c0ab0c303fba049d1165b1a9d1eb84a0e14a7a8dda9f15de771f
#!/usr/bin/env python __author__ = 'Manuel Holtgrewe <manuel.holtgrewe@fu-berlin.de>' import os.path import re import clang.cindex as ci RULE_NAMING_CONSTANT = 'naming.constant' RULE_NAMING_STRUCT = 'naming.struct' RULE_NAMING_UNION = 'naming.union' RULE_NAMING_CLASS = 'naming.class' RULE_NAMING_ENUM = 'naming.enum...
bkahlert/seqan-research
raw/workshop11/workshop2011-data-20110925/trunk/util/py_lib/seqan/pyclangcheck/rules.py
Python
mit
6,359
[ "VisIt" ]
2f0c0907c0fb35aa04fc7b694cba0aa66331340ada32ae5fc2fcfc3649c4776e
# class generated by DeVIDE::createDeVIDEModuleFromVTKObject from module_kits.vtk_kit.mixins import SimpleVTKClassModuleBase import vtk class vtkExtractSelectedGraph(SimpleVTKClassModuleBase): def __init__(self, module_manager): SimpleVTKClassModuleBase.__init__( self, module_manager, ...
nagyistoce/devide
modules/vtk_basic/vtkExtractSelectedGraph.py
Python
bsd-3-clause
518
[ "VTK" ]
c78d1fee237f12b3a15f687d3a84e57e667af6ca2b0553ed8d92033594a5f370
# gcompris - world_explore_template.py # # Copyright (C) 2012 Beth Hadley # # 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 la...
keshashah/GCompris
src/explore-activity/explore.py
Python
gpl-2.0
20,482
[ "VisIt" ]
d0234e17d48e9b92b6d1697bf96ec3f47388840405f4741f57af47a288d76f35
"""Helper module to query vtk cell sizes upon importing.""" try: from vtkmodules import vtkCommonDataModel except: import vtk as vtkCommonDataModel vtkcell_types = [ ['VTK_EMPTY_CELL', 'vtkEmptyCell'], ['VTK_VERTEX', 'vtkVertex'], ['VTK_POLY_VERTEX', 'vtkPolyVertex'], ['VTK_LINE', 'vtkLine'], ...
akaszynski/vtkInterface
pyvista/utilities/cell_type_helper.py
Python
mit
2,937
[ "VTK" ]
ff8604ab02a6bd4233118fe27a2c5212d84a1501b668fc493a73b430c9705ab8
import os from deployos import call_in_dir from deploynpm import resolve_in_node_modules def _gulp_in_dir(working_dir, args): gulp_cmd = resolve_in_node_modules(working_dir, "gulp") call_in_dir(working_dir, gulp_cmd, args) def gulp(working_dir, *args): _gulp_in_dir(working_dir, list(args))
kostrse/coworkingmap
deploy/deploygulp.py
Python
mit
307
[ "GULP" ]
e28544283c8900e2b21fda88903e7519678b31a717754af6a6c845546b409b4f
# $Id$ # # Copyright (C) 2003-2006 greg Landrum and Rational Discovery LLC # # @@ All Rights Reserved @@ # This file is part of the RDKit. # The contents are covered by the terms of the BSD license # which is included in the file license.txt, found at the root # of the RDKit source tree. # """ unit testing code f...
ptosco/rdkit
rdkit/DataStructs/UnitTestBitEnsemble.py
Python
bsd-3-clause
4,181
[ "RDKit" ]
fe1ff6bac2d5dd60deac162b7840069f9bcf9faaa559ef7298a7db5db136f53a
# coding: utf-8 # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. import re from pymatgen.core.structure import Molecule from monty.io import zopen """ Module implementing an XYZ file object class. """ __author__ = "Shyue Ping Ong" __copyright__ = "Copyright 2012, The Mate...
dongsenfo/pymatgen
pymatgen/io/xyz.py
Python
mit
4,144
[ "pymatgen" ]
dd5eb554a2746f9d76e0217fafc3c43080348304517e639cbbd5f89c45a7eebf
### ### This script can be run with pvpython rather than pvbatch, as it does not ### need mpi. ### ### Purpose: ### ### Generate a static image dataset of volume rendering on the ne cooling data ### ### Example usages (assumes you are in directory with this script): ### ### 1) To run on the coarse mesh with ...
Kitware/cinema
scripts/data_generation/ne-cooling/volume-vorticity.py
Python
bsd-3-clause
9,252
[ "ParaView", "VTK" ]
8d9a459bbd3a78f4a314273eff5b9e8f2b0b2e11b0fcc1b24a5102d9924d1088
# This file is part of the myhdl library, a Python package for using # Python as a Hardware Description Language. # # Copyright (C) 2003-2008 Jan Decaluwe # # The myhdl 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 t...
gw0/myhdl
myhdl/conversion/_misc.py
Python
lgpl-2.1
7,168
[ "VisIt" ]
f2a19faeca88b9e0305e83e58c95c6fb84b77ce698fe915495ef9d269351f125
#!/usr/bin/env python ''' This example shows how to generate the 3-center integrals and the 2-center integral metric for the density-fitting method. ''' import scipy from pyscf import gto, df, lib mol = gto.Mole() mol.atom = ''' C 0. 0. 0. O 0. 0. 1.3 ''' mol.basis = 'ccpvdz' mol.build() # Defin...
gkc1000/pyscf
examples/df/10-access_df_integrals.py
Python
apache-2.0
1,545
[ "PySCF" ]
6eb24efabb3da1fe0c95dc023143b072351745c2cb96673af13145e631246986
#!/usr/bin/python import os, sys # low level handling, such as command line stuff import string # string methods available import re # regular expressions import getopt # comand line argument handling from low import * # custom functions, written by myself from Bio import SeqIO # biopython stuff, to parse fa...
lotharwissler/bioinformatics
python/openreadingframe/stats_predicted_orfs.py
Python
mit
3,848
[ "Biopython" ]
2eefadbca7c95f20a4515ec728724a0a49cfca0e5b4d9e35951c1fc140e4460a
#A* ------------------------------------------------------------------- #B* This file contains source code for the PyMOL computer program #C* copyright 1998-2000 by Warren Lyford Delano of DeLano Scientific. #D* ------------------------------------------------------------------- #E* It is unlawful to modify or remove ...
gratefulfrog/lib
python/chempy/gamess1.py
Python
gpl-2.0
22,588
[ "Amber", "ChemPy", "GAMESS", "PyMOL", "TINKER" ]
8339f69ac3b462be305997323cccbbcd3a6eca0e35a3cecb7e2bc6ea51405aea
#!/usr/bin/env python # -*- coding: utf-8 -*- """Example script for an automatically created colorbar for multiple plots This script is part of the nc2map Python module, version 0.0b. The nc2map.CbarManager allows you to control the colorbar settings (color map, bounds, etc.) for multiple plots at the same time. This ...
Chilipp/nc2map
demo/one_colorbar_demo.py
Python
gpl-2.0
3,173
[ "NetCDF" ]
c56233d32478a2064d9747b70a6fb1167ed507f5c1b2ab24564a358478db81b5
__author__ = 'stephen' import numpy as np import mdtraj as md import os, sys def get_subindices(assignments=None, state=None, samples=10): '''Get Subsamples assignments from same state''' assignments = np.array(assignments) if state is not None: indices = np.where(np.array(assignments) == state)[0...
stephenliu1989/HK_DataMiner
hkdataminer/utils/utils.py
Python
apache-2.0
1,695
[ "MDTraj" ]
57b6c38bfdaf5ae04a34ee1a2e7cf60d3056a17afb987f951429858017bd19d2
#!/usr/bin/env python # PySCUBA/src/PySCUBA/Tree_classes.py # Author: Gregory Giecold for the GC Yuan Lab # Affiliation: Harvard University # Contact: g.giecold@gmail.com; ggiecold@jimmy.harvard.edu """Classes for flow or mass cytometry data processing, modified from the outdated 'fcm' Python package by Jacob...
GGiecold/PySCUBA
src/PySCUBA/Tree_classes.py
Python
mit
6,533
[ "VisIt" ]
6cccca314517c879b91e71252028a1ef91dfb39125626a374cef7971ed538309
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Example Bowtie App. """ from bowtie.control import Nouislider from bowtie.visual import Plotly import numpy as np from numpy import random as rng import plotlywrapper as pw sigma = Nouislider(caption='Sigma', start=1, minimum=0.1, maximum=50) mainplot = Plotly() d...
softwaremechanic/Miscellaneous
bowtieEx.py
Python
gpl-2.0
711
[ "Bowtie" ]
c2d74def93df659e58786094e81e1ec3581f44cd7901ec972b06372f3795a4dd
"""Header value parser implementing various email-related RFC parsing rules. The parsing methods defined in this module implement various email related parsing rules. Principal among them is RFC 5322, which is the followon to RFC 2822 and primarily a clarification of the former. It also implements RFC 2047 encoded w...
yotchang4s/cafebabepy
src/main/python/email/_header_value_parser.py
Python
bsd-3-clause
105,218
[ "CRYSTAL" ]
82b8bf3e3cd9c9a2fe9a123e17010b8ae0fef8e03fb3acc07ebc4ede20203f2b
import cStringIO import numpy as np import theano.tensor as T from theano.tests import disturb_mem import warnings from pylearn2.costs.cost import Cost, SumOfCosts, DefaultDataSpecsMixin from pylearn2.devtools.record import Record, RecordMode from pylearn2.datasets.dense_design_matrix import DenseDesignMatrix from py...
KennethPierce/pylearnk
pylearn2/training_algorithms/tests/test_sgd.py
Python
bsd-3-clause
46,250
[ "VisIt" ]
0d4c4369a451d318b06d1c63e88cd0ca79941d04a5171582fb8126a572887cd5
# Copyright 2007 by Michiel de Hoon. 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. """Code to work with the sprotXX.dat file from SwissProt. http://www.expasy.ch/sprot/sprot-t...
updownlife/multipleK
dependencies/biopython-1.65/build/lib.linux-x86_64-2.7/Bio/SwissProt/__init__.py
Python
gpl-2.0
22,123
[ "Biopython" ]
f347542906bb44db0f66cc199aa2d7584622118e25954b5beb15aa7b3906d049
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
dmlc/tvm
tests/python/contrib/test_arm_compute_lib/infrastructure.py
Python
apache-2.0
11,014
[ "VisIt" ]
6e6d22253ba3959ac44b5ba8afc030553a83ea8c0cd75d4c246efa2bde1e23d3
""" This is only meant to add docs to objects defined in C-extension modules. The purpose is to allow easier editing of the docstrings without requiring a re-compile. NOTE: Many of the methods of ndarray have corresponding functions. If you update these docstrings, please keep also the ones in core/fromnum...
dato-code/numpy
numpy/add_newdocs.py
Python
bsd-3-clause
219,023
[ "Brian" ]
da5c332998479770f6285eaa1f18e61505706e84e7c26ebceb94e87012f52e19
# -*- coding: utf-8 -*- # module pyparsing.py # # Copyright (c) 2003-2019 Paul T. McGuire # # 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 # without limitatio...
sserrot/champion_relationships
venv/Lib/site-packages/pyparsing.py
Python
mit
273,365
[ "VisIt" ]
a315ff64ecfcb7e7aba2cf94598ee726071d5200fead0e770a4d2aa7bfefdc88
""" blast related classes and functions """ from .BlastTools import create_blast_map,get_blast_map from .Blast import Blast from .BlastMapper import BlastMapper from .ParallelBlast import ParallelBlast from .ParseBlast import ParseBlast from .ParseParallelBlast import ParseParallelBlast
ajrichards/htsint
htsint/blast/__init__.py
Python
bsd-3-clause
290
[ "BLAST" ]
9e1323814760c00a39538f2de610be38cf1eef3925fd2d0c177a2f8921e6a00f
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Jun 12 20:20:03 2018 @author: BallBlueMeercat """ import time import dnest4 import numpy as np import pandas as pd import numpy.random as rng import pickle #from numba import jitclass, int32 import datasim import results import tools #from scipy.special...
lefthandedroo/Cosmo-models
zprev versions/Models_py_backup/Models backup/Bfactor.py
Python
mit
13,227
[ "Gaussian" ]
00d1e908a6ee0ab82585cf253620b977d71de43da7892367338380394029b61f
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Copyright (c), 2016-2017, Quantum Espresso Foundation and SISSA (Scuola # Internazionale Superiore di Studi Avanzati). All rights reserved. # This file is distributed under the terms of the LGPL-2.1 license. See the # file 'LICENSE' in the root directory of the present...
QEF/postqe
tests/test_ase.py
Python
lgpl-2.1
1,643
[ "ASE", "Quantum ESPRESSO" ]
ae3b9cf63b2668ca4979ec203ec4b8880cb0bfb35306a4cff11d0ebb295a82f7
import logging from pylons import request, response, session, tmpl_context as c from zkpylons.lib.helpers import redirect_to from pylons.decorators import validate from pylons.decorators.rest import dispatch_on from formencode import validators, htmlfill, ForEach, Invalid from formencode.variabledecode import NestedV...
noisymime/zookeepr
zkpylons/controllers/person.py
Python
gpl-2.0
23,362
[ "VisIt" ]
5a591e4efdea17db58bf49b2b0cec0eaa8897cb548d62f41abf24cdee070e883
""" Simple focus detection methods for use with holograms. Change log: 2016/01/24 -- module started; nloomis@gmail.com """ __authors__ = ('nloomis@gmail.com',) import digitalholography as dhi import imageutils import scipy.ndimage try: from skimage import filters except ImportError: # handles the case wher...
nickloomis/loomsci-examples
python/holofocus.py
Python
mit
3,035
[ "Gaussian" ]
b73581ff5b2af4d879da02a1bcf4e72dee3fa9644e4778182e5a82938e9abbdd
############################################################################## # 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/r-affycontam/package.py
Python
lgpl-2.1
1,838
[ "Bioconductor" ]
0569942aef16cbc54a668bb1d6ad881cad93c461564c8d0b08ccfa20c4e95d20
# Copyright 2004, Magnus Hagdorn # # This file is part of GLIMMER. # # GLIMMER 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. # # G...
glimmer-cism/PyCF
PyCF/CF_createfile.py
Python
gpl-2.0
5,333
[ "NetCDF" ]
662b2b011b5132b248ca672ddc3d73dd905770b9ee72902843eb1cf12747745c
# coding: utf-8 # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. from __future__ import division, unicode_literals, print_function from pymatgen.util.testing import PymatgenTest from pymatgen.core.periodic_table import Element, Specie from pymatgen.core.composition import C...
tallakahath/pymatgen
pymatgen/core/tests/test_structure.py
Python
mit
50,592
[ "pymatgen" ]
1b8ff834565d21c769970c7514e3d7b804b70971545062188d69c6cc83e40eb6
from pkg_resources import resource_string from json import loads # Error codes are provided as a convience to Galaxy API clients, but at this # time they do represent part of the more stable interface. They can change # without warning between releases. UNKNOWN_ERROR_MESSAGE = "Unknown error occurred while processing ...
mikel-egana-aranguren/SADI-Galaxy-Docker
galaxy-dist/lib/galaxy/exceptions/error_codes.py
Python
gpl-3.0
1,064
[ "Galaxy" ]
d561678c3543918083c6b9e01545c2c611fc99d78ec14cf95db9eb9a15f4d87a
# def cutout(infile,mag,color='red'): import os, utilities ppid = str(os.getppid()) print ppid + 'a' #pylab.show() outfile = raw_input('name of output file?') color = raw_input('color of regions?') limits = ['lower_mag','upper_mag','lower_diff','upper_diff'] lim_dic...
deapplegate/wtgpipeline
non_essentials/s1.py
Python
mit
119,614
[ "Galaxy" ]
e1391edaa1caba687b7ed4e9d8bcbfe21d0ffac02d8c15e8a2f298000d56c2b9
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 2014-2021 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/li...
sunqm/pyscf
pyscf/dft/libxc.py
Python
apache-2.0
115,888
[ "DIRAC", "Gaussian", "NWChem", "Octopus", "PySCF" ]
441ed032ead085dd9cb61457208cc0953b7e85361f50e6c547b694c72a7b328c
# -*- coding: utf-8 -*- import re from .xn_parser import XNParserBase, safe_int, get_attribute from .xn_data import XNResourceBundle from . import xn_logger logger = xn_logger.get(__name__, debug=False) __doc__ = ''' Almost every page directly related to planet contains the display of planet's current resources and...
minlexx/xnovacmd
ui/xnova/xn_parser_planet_energy.py
Python
gpl-2.0
6,189
[ "Galaxy" ]
eace020b5a2bb4aee9e9b0ca20bafecd284b9455c1599a01768505336ead5e10
# -*- coding: utf-8 -*- # # Copyright (c) 2017, the cclib development team # # This file is part of cclib (http://cclib.github.io) and is distributed under # the terms of the BSD 3-Clause License. """A reader for XYZ (Cartesian coordinate) files.""" from cclib.io import filereader from cclib.parser.data import ccData...
cclib/cclib
cclib/io/xyzreader.py
Python
bsd-3-clause
2,436
[ "cclib" ]
a2fe1b0707e66fbd69b494700811fb66fabc455794885bb24830c3a3cc8dd281
from __future__ import print_function from __future__ import absolute_import from __future__ import division import sys import time from DIRAC import S_OK, S_ERROR from DIRAC.Core.Base import Script from DIRAC.Core.DISET.MessageClient import MessageClient Script.parseCommandLine() def sendPingMsg( msgClient, pingid =...
yujikato/DIRAC
docs/source/DeveloperGuide/Systems/Framework/stableconns/client.py
Python
gpl-3.0
1,533
[ "DIRAC" ]
46fe545cefad46d932681c0253eb72b3eb67599a4579ab729639ffe8111114fd
# Copyright 2008-2010 by Peter Cock. 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. """Bio.SeqIO support for the "tab" (simple tab separated) file format. You are expected to ...
BlogomaticProject/Blogomatic
opt/blog-o-matic/usr/lib/python/Bio/SeqIO/TabIO.py
Python
gpl-2.0
3,968
[ "Biopython" ]
f62971d590f5bfb121ca54a60b2e4ecd600265b472edef87a28ec89ae273ec2b
#!/usr/bin/env python ################################################## ## DEPENDENCIES import sys import os import os.path try: import builtins as builtin except ImportError: import __builtin__ as builtin from os.path import getmtime, exists import time import types from Cheetah.Version import MinCompatib...
MOA-2011/enigma2-plugin-extensions-openwebif
plugin/controllers/views/web/epgsimilar.py
Python
gpl-2.0
7,547
[ "VisIt" ]
56acbe7ac2ae0b211061a5ebdea4cd100500409b2e3aff64a70be244bcd16a60
# -*- coding: utf-8 -*- # # © 2015-2016 Krux Digital, Inc. # # # Standard libraries # from builtins import range import string from collections import Mapping # # Third party libraries # import boto.utils from enum import Enum # # Internal libraries # from krux.logging import get_logger class Error(Exception): ...
krux/python-krux-boto
krux_boto/util.py
Python
mit
4,773
[ "COLUMBUS" ]
72cfe82176d3474c67f91258d527e23717f53d20dcd472db83991a8d94e0f5db
#!/usr/bin/env python # coding: utf-8 """ This script identifies the boundaries of a given track using the Spectral Clustering method published here: Mcfee, B., & Ellis, D. P. W. (2014). Analyzing Song Structure with Spectral Clustering. In Proc. of the 15th International Society for Music Information Retr...
guiquanz/msaf
msaf/algorithms/scluster/segmenter.py
Python
mit
3,487
[ "Brian" ]
4d1b786f5c8945c2c063b387ec0e050a8b2c7b95a26e4eb2f75057e02309e3c7
import lb_loader import pandas as pd import simtk.openmm.app as app import numpy as np import simtk.openmm as mm from simtk import unit as u from openmmtools import hmc_integrators, testsystems pd.set_option('display.width', 1000) collision_rate = 10000.0 / u.picoseconds sysname = "ljbox" system, positions, groups, ...
kyleabeauchamp/HMCNotes
code/correctness/old/test_hmc_correctness_ljbox_converger.py
Python
gpl-2.0
2,651
[ "OpenMM" ]
774fafb2768ebd1edcbfb5d8d3d94e6005505412f601b7785cab18eb1151b533
# -*- coding: latin-1 -*- # Copyright (C) 2009-2014 CEA/DEN, EDF R&D # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later ...
FedoraScientific/salome-hexablock
src/TEST_PY/test_unit/test_perform.py
Python
lgpl-2.1
3,428
[ "VTK" ]
e6988cab2124bd4c1e97fee076f52dcab39ffdffc4bd6404e24f897af16cdd4e
""" This is only meant to add docs to objects defined in C-extension modules. The purpose is to allow easier editing of the docstrings without requiring a re-compile. NOTE: Many of the methods of ndarray have corresponding functions. If you update these docstrings, please keep also the ones in core/fromnum...
maniteja123/numpy
numpy/add_newdocs.py
Python
bsd-3-clause
225,018
[ "Brian" ]
bab90c311959076ce9230f7ed13270b94500816c0ec42830c5d306e5d8a18cf1