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
#Main GWR classes #Offset does not yet do anyhting and needs to be implemented __author__ = "Taylor Oshan Tayoshan@gmail.com" import numpy as np import numpy.linalg as la from scipy.stats import t from kernels import * from diagnostics import get_AIC, get_AICc, get_BIC import pysal.spreg.user_output as USER from cra...
CartoDB/crankshaft
release/python/0.8.2/crankshaft/crankshaft/regression/gwr/base/gwr.py
Python
bsd-3-clause
39,271
[ "Gaussian" ]
80abd0451b98f549324b78d61ddbaa3adea6a5ee5cb684bb9a1a020bdbdf10fc
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
gunan/tensorflow
tensorflow/python/tpu/device_assignment.py
Python
apache-2.0
19,865
[ "VisIt" ]
16b43c18fad01b884bb5c68410f3ebe86610d3865b0b7723552958b3089cfbde
# # Copyright 2018 Analytics Zoo Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
intel-analytics/analytics-zoo
pyzoo/zoo/chronos/examples/auto_model/autoprophet_nyc_taxi.py
Python
apache-2.0
3,730
[ "ORCA" ]
b35c6fb52acac90e07b9fcd773c3ff59e1d69676ed6809ee11d2e199bc0629fc
from __future__ import division import abc import numpy as np from copy import deepcopy from menpo.landmark import LandmarkGroup from menpo.transform .affine import \ Scale, SimilarityTransform, AffineTransform from menpo.transform.modeldriven import OrthoMDTransform, ModelDrivenTransform from menpo.lucaskanade.res...
karla3jo/menpo-old
menpo/aam/fitter.py
Python
bsd-3-clause
24,957
[ "Gaussian" ]
fdad807b1bcf08d6da5880b779899693af66e010eea2a1e8bbe93f4915e8057e
# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. '''Base types for nodes in a GRIT resource tree. ''' from __future__ import print_function import ast import os import struct import sys from xml.sax i...
chromium/chromium
tools/grit/grit/node/base.py
Python
bsd-3-clause
25,049
[ "xTB" ]
1cacef87afcb9c87fd8397d8fb326a6511035b2e7ab32cfa58b6171637b6955d
#Copyright ReportLab Europe Ltd. 2000-2012 #see license.txt for license details #history http://www.reportlab.co.uk/cgi-bin/viewcvs.cgi/public/reportlab/trunk/reportlab/platypus/paraparser.py __version__=''' $Id$ ''' __doc__='''The parser used to process markup within paragraphs''' import string import re import sys im...
danimajo/pineapple_pdf
reportlab/platypus/paraparser.py
Python
mit
45,447
[ "VisIt" ]
a930175ccab789850e4085978187b4025a4734316927dac910cd31ffcd0abe78
# -*- coding: utf-8 -*- """ This module contains an `ApiAdapter` abstract class that acts as an adapter for different Twitter API implementations. It also contains `AsyncApi`, an asynchronous wrapper to `ApiAdapter` and a function to authorize `turses` to use a Twitter account obtaining the OAuth tokens. """ from ab...
battlemidget/turses
turses/api/base.py
Python
gpl-3.0
9,087
[ "VisIt" ]
583de2c5dc01e493022bc937e7ee7a24457aeefab4f9d4374201cb28f40760fe
#!/usr/bin/python # coding: utf-8 import os import argparse import getpass from deploy import ( prompt, confirm, config_path, create_virtualenv, install_requirements, create_env_file, create_user_config_file, delete_common_files, logger, setup_npm_tools, ) from deploy.settings import ENV_FILE, PR...
asyncee/django-project-template
bootstrap.py
Python
mit
2,194
[ "GULP" ]
dd058adae728a14b6f4acccc5cd271d18291773856872d23a16a335510717821
from __future__ import division import numpy as np import scipy import scipy.signal import scipy.optimize import scipy.special from scipy.misc import factorial __all__ = ['Morlet', 'Paul', 'DOG', 'Ricker', 'Marr', 'Mexican_hat'] class Morlet(object): def __init__(self, w0=6): """w0 is the nondimensional...
jeepsterboy/waveletanalysis
wavelets/wavelets.py
Python
mit
10,144
[ "Gaussian" ]
e13e6e0436ffe4ae7d4851e0b6c3d1565e5016bf0878b3553c585f1851cb623b
import sys import os import re from PyQt4 import QtGui, QtCore from Extensions.Dictionary import Dictionary from Extensions.Preferences import Preferences old_books = ["Genesis", "Exodus", "Leviticus", "Numbers", "Deuteronomy", "Joshua", "Judges", "Ruth", "1 Samuel", "2 Samuel", "1 Kings", "2...
fortharris/SpiritMeal
SpiritMeal.py
Python
gpl-3.0
34,730
[ "VisIt" ]
9d5198693e507d1bb3cb482407bb31cb261538a08ca953e09134f310c66411b3
from __future__ import print_function, division import os import random import h5py import numpy as np from astropy.table import Table from .. import voronoi_helpers as vh from ..voronoi_grid import VoronoiGrid DATA = os.path.join(os.path.dirname(__file__), 'data') # Helper functions. # Check that all non-wall ...
hyperion-rt/hyperion
hyperion/grid/tests/test_voronoi.py
Python
bsd-2-clause
3,944
[ "Gaussian" ]
1a4e44942f9af99ce3c5c6e7237462b724217b76250d9aae0277ad65fc428529
""" Feature overview ================ With kmos you can: * easily create and modify kMC models through GUI * store and exchange kMC models through XML * generate fast, platform independent, self-contained code [#code]_ * run kMC models through GUI or python bindings kmos has been developed in the cont...
mhoffman/kmos
kmos/__init__.py
Python
gpl-3.0
5,846
[ "ASE" ]
0221a712eb68dbea0efffce07f22d4dc2e0f9c1e70579240431591a41081e604
__all__ = ['Lattice1d', 'cell_structures'] from scipy.sparse import (csr_matrix) from qutip import (Qobj, tensor, basis, qeye, isherm, sigmax, sigmay, sigmaz) import numpy as np try: import matplotlib.pyplot as plt except: pass def cell_structures(val_s=None, val_t=None, val_u=None): """ Returns tw...
cgranade/qutip
qutip/lattice.py
Python
bsd-3-clause
50,788
[ "CRYSTAL" ]
eb0eb796d9fb40829446d3141da93e42c439cf72e556bb0632ac03d37ba1b23b
import catmap from catmap import ReactionModelWrapper from catmap.model import ReactionModel from catmap import string2symbols IdealGasThermo = catmap.IdealGasThermo HarmonicThermo = catmap.HarmonicThermo molecule = catmap.molecule np = catmap.np copy = catmap.copy class ThermoCorrections(ReactionModelWrapper): ""...
rybrogaard/catmap
catmap/thermodynamics/enthalpy_entropy.py
Python
gpl-3.0
21,470
[ "ASE" ]
df87d8b26996a3bf68a41b07ab7f8bcacf421f2f24f9300991d3036c5ddbc7de
# J. Pocahontas Olson June 2016 # Fibonacci generator import fibonacci_module as fb # Custom module made for this project import math # Math functions (log, pow, sqrt, etc.) import matplotlib.pyplot as plt # Plotting plt.style.use('ggplot') import pylab from scipy.optimize imp...
Aturen/Fibonacci
fibonacci.py
Python
apache-2.0
13,274
[ "Gaussian" ]
5690580948225705317cfa3e86c673e19d1824091a590c08a83cc2b9c00e5c82
#!/usr/bin/env python ######################################################################## # File : dirac-install-web-portal # Author : Ricardo Graciani ######################################################################## """ Do the initial installation of a DIRAC Web portal """ __RCSID__ = "$Id$" # from DI...
petricm/DIRAC
Core/scripts/dirac-install-web-portal.py
Python
gpl-3.0
1,001
[ "DIRAC" ]
555bd8729f985d3e40ffb680b72ab60a0d74e4fa6d338c2e205950d91e4bf900
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) import re import pytest import spack.repo from spack.cmd.url import name_parsed_correctly, url_summary, version_parsed_co...
LLNL/spack
lib/spack/spack/test/cmd/url.py
Python
lgpl-2.1
5,839
[ "NetCDF" ]
3b4377bb3437823c5c51cf9a24e4e606df058c9b740765675f03528b865e7d0a
# Zulip Settings intended to be set by a system administrator. # # See http://zulip.readthedocs.io/en/latest/settings.html for # detailed technical documentation on the Zulip settings system. # ### MANDATORY SETTINGS # # These settings MUST be set in production. In a development environment, # sensible default values w...
AZtheAsian/zulip
zproject/prod_settings_template.py
Python
apache-2.0
16,883
[ "VisIt" ]
2cd0d69f35bc57eb1e7b916d826c2286c08bfdb0e04f8f5ff2c4d81570e9fb02
# -*- coding: utf-8 -*- ## Description: class ChannelML for loading ChannelML from file or xml element into MOOSE ## Version 1.0 by Aditya Gilra, NCBS, Bangalore, India, 2011 for serial MOOSE ## Version 1.5 by Niraj Dudani, NCBS, Bangalore, India, 2012, ported to parallel MOOSE ## Version 1.6 by Aditya Gilra, NCBS, Ban...
dilawar/moose-core
python/moose/neuroml/ChannelML.py
Python
gpl-3.0
28,790
[ "MOOSE" ]
f331dd9a3b30d81c5bd74035c4a8cd1b60d621bf800ffbf9aeac742fa86700ea
import collections import gc import itertools import os import sys import tarfile import numpy as np from numpy.lib import recfunctions as nprf from scipy.stats import mstats import libio #============================================================================== # General-purpose MCMC diagnostic and summarizati...
awblocker/cplate
lib/cplate/summarise_mcmc.py
Python
apache-2.0
44,220
[ "Gaussian" ]
df5110aa0d23518a960ddbff8dbb0609aa739449da4726902d1ca4368ab445a2
# -*- coding: utf-8 -*- """ Created on Fri Jan 23 13:16:53 2015 @author: casey """ import praw import csv import time import os phrase_dict = { ' Extract revenge' : 'exact revenge', ' Nip it in the butt' : 'nip it in the bud', ' I could care less' : 'I couldn\'t care less', ' One in the same' : 'on...
monstermudder78/RedditScraper
reddit_scraper.py
Python
mit
3,475
[ "ESPResSo" ]
0fbaa64e0471febba4dc7635c863670aba3829a80922282edbdab6a27eb34f36
# # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2000-2007 Donald N. Allingham # Copyright (C) 2007-2012 Brian G. Matherly # Copyright (C) 2010 Jakim Friant # Copyright (C) 2009-2010 Craig J. Anderson # Copyright (C) 2014 Paul Franklin # # This program is free software; you can redistr...
prculley/gramps
gramps/plugins/drawreport/descendtree.py
Python
gpl-2.0
69,406
[ "Brian" ]
21d8db6a388d0079d9297213e2bfbe2a9acdde7317d59854c674dba09db5c8d0
#!/usr/bin/env python __description__ = \ """ Takes set of output files from calc_hbond.tcl and generates an R-readable file describing hydrogen bonds over all trajectories. """ __author__ = "Michael J. Harms" __date__ = "080506" __usage__ = "calcHbondProcessor.py vmd_output_dir" import sys, os def mergeAtoms(atom_li...
harmsm/md-analysis-tools
hbond-counter/hbond-counter.py
Python
unlicense
4,532
[ "VMD" ]
0da202e9de5ad3a5c4611a21b86d33287a5cd9a93096a4de2cabe6b6fc1f1e6a
#coding:utf8 ''' Created on 2013-7-31 @author: lan (www.9miao.com) ''' from firefly.dbentrust.dbpool import dbpool from firefly.dbentrust.madminanager import MAdminManager from firefly.dbentrust import mmode from firefly.dbentrust.memclient import mclient import time if __name__=="__main__": # CREATE TABLE...
yangdw/PyRepo
src/annotation/Firefly/firefly/test/test_dbentrust.py
Python
mit
1,250
[ "Firefly" ]
166eda1925f5ab8533d7b2bc439942e5030e860ad9f4b16a41d49c5864b62f94
""" blackjack.py (author: Anson Wong / git: ankonzoid) Solving the game of blackjack (no-usable ace, dealing with replacement). The learning method is Monte Carlo Exploring Starts with reward sample averaging. Refer to Chapter 5 (Monte Carlo Methods) of Richard Sutton's "Reinforcement Learning: An Introducion...
ankonzoid/Deep-Reinforcement-Learning-Tutorials
classical_RL/blackjack/blackjack.py
Python
mit
8,313
[ "VisIt" ]
718deea2a77bc5e453ddf8521f3ab265260c6be1af986b6e315139f10abf0fc7
from __future__ import unicode_literals import unittest import os import json from io import open from pymatgen.phonon.bandstructure import PhononBandStructure, PhononBandStructureSymmLine from pymatgen.util.testing import PymatgenTest test_dir = os.path.join(os.path.dirname(__file__), "..", "..", "..", ...
xhqu1981/pymatgen
pymatgen/phonon/tests/test_bandstructure.py
Python
mit
3,273
[ "pymatgen" ]
f5d72aea2157083b9bb5578d54f1c28d7e050c38f1caa7385a11ddc2984c6d75
# # Copyright (c) 2009-2015, Jack Poulson # All rights reserved. # # This file is part of Elemental and is under the BSD 2-Clause License, # which can be found in the LICENSE file in the root directory, or at # http://opensource.org/licenses/BSD-2-Clause # import El, time # TODO: Add noise so that the soft marg...
sg0/Elemental
examples/interface/SVMDense.py
Python
bsd-3-clause
2,917
[ "Gaussian" ]
da8e1b2623a0ca40e7988eb0f4e92339dbdf2f57852c9fbca4810076871b90cc
#!/usr/bin/python # # This source file is part of appleseed. # Visit http://appleseedhq.net/ for additional information and resources. # # This software is released under the MIT license. # # Copyright (c) 2012-2013 Jonathan Topf, Jupiter Jazz Limited # Copyright (c) 2014-2015 Jonathan Topf, The appleseedhq Organizati...
Vertexwahn/appleseed
scripts/rendernode.py
Python
mit
17,978
[ "VisIt" ]
4aebfd38d1e6d003a2af6fab5d431e3606ef8e931adde29044984e760f3c1039
# -*- coding: utf-8 -*- import os # find the inverse of a matrix using Gaussian elimination import numpy def inverse(AInput): """ return the inverse of AInput """ A = AInput.copy() N = len(A[:, 0]) # A is square, with each dimension of length N if not (A.shape[0] == A.shape[1]): prin...
NicovincX2/Python-3.5
Algèbre/Algèbre linéaire/Matrice/Matrice inversible/inverseGauss1.py
Python
gpl-3.0
2,966
[ "Gaussian" ]
4c271119ee561f982b7607bec7bcf9ff6fa5962a941addfa7f82acc85e405511
# Copyright (C) 2012,2013 # Max Planck Institute for Polymer Research # Copyright (C) 2008,2009,2010,2011 # Max-Planck-Institute for Polymer Research & Fraunhofer SCAI # # This file is part of ESPResSo++. # # ESPResSo++ is free software: you can redistribute it and/or modify # it under the terms of t...
capoe/espressopp.soap
src/Quaternion.py
Python
gpl-3.0
7,887
[ "ESPResSo" ]
999afce9f9212e0ba6b6388fa8221157621d2ba30e2d369d4977e989dbd10703
import pysal as ps import numpy as np import multiprocessing as mp import time from decomp_binning import binning, binning_map sf = ps.open(ps.examples.get_path("nat.shp")) #sf = ps.open(ps.examples.get_path("columbus.shp")) #sf = ps.open(ps.examples.get_path("sids2.shp")) bb = sf.bbox ncpus = mp.cpu_count() w = (bb...
pysal/pPysal
weights/contiguity_decomp_binning_mapasync.py
Python
bsd-3-clause
2,532
[ "COLUMBUS" ]
a8dc131d11bdbe01785790407bc6c406c06f2978c0d879d4960978f91a4a4e0d
import numpy as np import pandas as pd import random from sklearn.preprocessing import MinMaxScaler from copy import deepcopy from graphviz import Digraph import pydotplus import timeit from tqdm import tqdm #--------------------------------------------------------------------------------------------- def initializat...
mmoradik/PANNET
Utils_cv.py
Python
mit
24,461
[ "NEURON" ]
0cd504a936d7e0eefbc6aceea7aca5e2a90a873df119d5117ff5c993f1ff6f4b
import json import unittest from aptos import primitive from aptos.visitor import ValidationVisitor class StringTestCase(unittest.TestCase): def runTest(self): schema = json.loads(''' { "type": "string", "maxLength": 3 } ''') string...
pennsignals/aptos
tests/test_validation.py
Python
apache-2.0
10,188
[ "Amber" ]
808b1bb92af394a8e059dddebb5338edf4cdc9cb44e9e2d101a565b1cde18aa1
# Standard scientific modules: import numpy as np import matplotlib.pyplot as plt import pandas as pd from mpl_toolkits.basemap import Basemap import xarray as xray # My modules: import atmos as atm # ---------------------------------------------------------------------- # Read data from netcdf and unpack miss = u'm...
jenfly/atmos-tools
scripts/ncep2_prep.py
Python
mit
5,755
[ "NetCDF" ]
1f211416b934dca3ae64c95110e53b59c42cf0e8f57f51efa79d934d91fc0693
# This file is part of PyEMMA. # # Copyright (c) 2015, 2014 Computational Molecular Biology Group, Freie Universitaet Berlin (GER) # # PyEMMA 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 versi...
markovmodel/PyEMMA
pyemma/coordinates/clustering/tests/test_kmeans.py
Python
lgpl-3.0
20,252
[ "MDTraj" ]
265e593ca835f1426e4784dc41c380d2a78a9660e45db7e10577b4e42c1d8eb5
# Copyright (c) 2010 Howard Hughes Medical Institute. # All rights reserved. # Use is subject to Janelia Farm Research Campus Software Copyright 1.1 license terms. # http://license.janelia.org/license/jfrc_copyright_1_1.html from display.layout import Layout from math import sqrt import numpy as N class ForceDire...
JaneliaSciComp/Neuroptikon
Source/Layouts/force_directed.py
Python
bsd-3-clause
8,263
[ "NEURON" ]
ba3885fd24a770b088828b82e7d111a32172bc8fddfd349b8ca4ad9a33f24227
"""Test JIDT estimators. This module provides unit tests for JIDT estimators. Unit tests are adapted from the JIDT demos: https://github.com/jlizier/jidt/raw/master/demos/python/ """ import pytest import random as rn import numpy as np from scipy.special import digamma from idtxl.estimators_jidt import (JidtKrask...
pwollstadt/IDTxl
test/test_estimators_jidt.py
Python
gpl-3.0
35,227
[ "Gaussian" ]
964e857d14199c9fe42e20aef58331f54a7d1c8c82bfb61e0f5194c4bd5bf658
""" An estimator for a single multivariate latent factor. """ __all__ = ["SingleLatentFactorEstimator"] import logging import numpy as np import scipy.optimize as op from . import estimator logger = logging.getLogger(__name__) def _log_prior(sigma, a): r""" Return the natural logarithm of the prior. ...
andycasey/snob
snob/slf.py
Python
mit
12,143
[ "Gaussian" ]
dc6d95d08c9509b659481b8b8089bae2e53fc2b5a666be2f341460ae86931d62
from nose.tools import * from nose.plugins.attrib import attr import json import shutil import os import tempfile import logging import copy import stat import time from mock import patch from optparse import OptionParser from biomaj.bank import Bank from biomaj.session import Session from biomaj.workflow import W...
horkko/biomaj-postgres
tests/biomaj_tests.py
Python
agpl-3.0
41,673
[ "BLAST" ]
ebe87762d7578586b843e1ebc79bd3fdfb6bd49122de853ec7b78a30652c0883
from unittest import mock import sys import numpy as np import dask.array as da from numpy.testing import assert_array_equal, assert_almost_equal import pytest import numpy.testing as nt from hyperspy import signals from hyperspy.decorators import lazifyTestClass from hyperspy.signal_tools import SpikesRemoval from h...
francisco-dlp/hyperspy
hyperspy/tests/signal/test_tools.py
Python
gpl-3.0
45,642
[ "Gaussian" ]
930d02a89cbc8b305f433a194ede3623b4d9e4efe495b94cb6c5ff1a4f5afbf6
# Python test set -- part 1, grammar. # This just tests whether the parser accepts them all. # NOTE: When you run this test as a script from the command line, you # get warnings about certain hex/oct constants. Since those are # issued by the parser, you can't suppress them by adding a # filterwarnings() call to this...
tree-sitter/tree-sitter-python
examples/python2-grammar.py
Python
mit
30,981
[ "GULP" ]
5008d0357851f744321f0ec3e8c6568214d5dd88e251c9a861ad533b1557d92a
""" :mod: DErrno ========================== .. module: DErrno :synopsis: Error list and utilities for handling errors in DIRAC This module contains list of errors that can be encountered in DIRAC. It complements the errno module of python. It also contains utilities to manipulate these err...
arrabito/DIRAC
Core/Utilities/DErrno.py
Python
gpl-3.0
11,716
[ "DIRAC" ]
fdc02456f151bc3bf4d1096ec8804183d2262d2567df0e32c553fdcb82d01e0f
from behave import * use_step_matcher("parse") @when('I list groups') def step_impl(context): context.browser.visit(context.get_url('musicseaapp:group_list')) @then('I\'m viewing a list containing') def step_impl(context): group_links = context.browser.find_by_css('div#content ul li a') for i, row in enu...
julio77nz/MusicSea
musicsea/features/steps/list_groups.py
Python
gpl-3.0
545
[ "VisIt" ]
1ad090e448cc1f405362d78d8c4353af23f9e9f7ad64936f9ee2d85eed4ab908
#!/usr/bin/env python -i # preceding line should have path for Python on your machine # vizplotgui_pymol.py # Purpose: viz running LAMMPS simulation via PyMol with plot and GUI # Syntax: vizplotgui_pymol.py in.lammps Nfreq compute-ID # in.lammps = LAMMPS input script # Nfreq = plot data point and vi...
Pakketeretet2/lammps
python/examples/vizplotgui_pymol.py
Python
gpl-2.0
4,488
[ "LAMMPS", "PyMOL" ]
48af40c258e92b44a21900ff6a793281258c22803c72e9bbbb735b9177619dff
######################################################################## # $Id$ ######################################################################## """ DIRAC FileCatalog Database """ __RCSID__ = "$Id$" from DIRAC import gLogger, S_OK, S_ERROR fr...
calancha/DIRAC
DataManagementSystem/DB/FileCatalogDB.py
Python
gpl-3.0
33,800
[ "DIRAC" ]
eebadd899858d8669d80d22b03f74e295e8ad7743fd2b4fd0be216a6cea00af0
import pytest from .addons import using from .utils import * import math import numpy as np import qcelemental as qcel import psi4 from psi4.driver import qcdb pytestmark = pytest.mark.quick def hide_test_xtpl_fn_fn_error(): psi4.geometry('He') with pytest.raises(psi4.UpgradeHelper) as e: psi4.en...
lothian/psi4
tests/pytests/test_misc.py
Python
lgpl-3.0
4,285
[ "Psi4" ]
9487a7b919bbcd93cd9b1109d3ad6d012decb4e83b9c1f61d1ed3d38ae86bd8c
""" PilotsLoggingDB class is a front-end to the Pilots Logging Database. This database keeps track of all the submitted grid pilot jobs. It also registers the mapping of the DIRAC jobs to the pilot agents. Available methods are: addPilotsLogging() getPilotsLogging() deletePilotsLoggin() "...
DIRACGrid/DIRAC
src/DIRAC/WorkloadManagementSystem/DB/PilotsLoggingDB.py
Python
gpl-3.0
7,224
[ "DIRAC" ]
787d135fd861ea383e72b06dc0360c3314e104e8193bb3f754881d3d430095a0
""" spells.py Python recipes to solve frequently requested tasks with Stimfit. You can find a complete description of these functions in the Stimfit online documentation (http://www.stimfit.org/doc/sphinx/index.html) Check "The Stimfit Book of Spells" for details. Authors: Jose Guzman, Alois Schloegl and Christoph S...
JoseGuzman/stimfit
src/stimfit/py/spells.py
Python
gpl-2.0
18,106
[ "NEURON" ]
153cb23e280889c0d1b02221312fb769da506d6bc483474e9e7ffe7672df4947
#!/usr/bin/env python ''' @author Luke Campbell <My email is around here somewhere> @file ion/processes/data/transforms/qc_post_processing.py @date Tue May 7 15:34:54 EDT 2013 ''' from pyon.core.exception import BadRequest from pyon.ion.process import ImmediateProcess, SimpleProcess from interface.services.dm.idata_r...
ooici/coi-services
ion/processes/data/upload/upload_data_processing.py
Python
bsd-2-clause
7,397
[ "NetCDF" ]
8cb780dc756ab9e5f0fe6bce85ac56fb681e509940b88a984fa30b2eba161313
############################################################################## # Copyright (c) 2013-2018, Lawrence Livermore National Security, LLC. # Produced at the Lawrence Livermore National Laboratory. # # This file is part of Spack. # Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. # LLNL-CODE-64...
krafczyk/spack
var/spack/repos/builtin/packages/r-affycontam/package.py
Python
lgpl-2.1
1,786
[ "Bioconductor" ]
26d7b75c8d010db7555174d66adbb73722881cb8fee586d8d0720848a812c0f8
## Automatically adapted for numpy.oldnumeric May 17, 2011 by -c # Natural Language Toolkit: Feature Structures # # Copyright (C) 2003 University of Pennsylvania # Author: Edward Loper <edloper@gradient.cis.upenn.edu>, # Rob Speer (original code) # URL: <http://nltk.sourceforge.net> # For license information, ...
ronaldahmed/robot-navigation
neural-navigation-with-lstm/MARCO/nltk/featurestructure.py
Python
mit
59,199
[ "VisIt" ]
6ecf13d6d1143b167a115c06005eedc31a8c9e07d103c516c2b16bd4867eb1a1
#!/usr/bin/env python # -*- coding: utf-8 -*- """Universal feed parser Handles RSS 0.9x, RSS 1.0, RSS 2.0, CDF, Atom 0.3, and Atom 1.0 feeds Visit http://feedparser.org/ for the latest version Visit http://feedparser.org/docs/ for the latest documentation Required: Python 2.1 or later Recommended: Python 2.3 or lat...
henkelis/sonospy
web2py/gluon/contrib/feedparser.py
Python
gpl-3.0
130,078
[ "NetCDF", "VisIt" ]
63cdae158db64f12a384fb778a653be09b66313c7f7e264a51c2cb3643a58517
#!/usr/bin/python # -*- coding: utf-8 -*- from task import Task from bay import Bay from aggregator import Aggregator import random import checker class _Parameter(object): """ parameter class to hold all vessel related parameters """ @checker.func_arg_check def __init__(self, **kwargs): ...
CHEN-JIANGHANG/qcspgen
qcspgen/vessel.py
Python
mit
12,070
[ "Gaussian" ]
e2a5050ed4cfb5126e202ee11f32918a7935258291e4873c406b5a7ed778d77f
#!/usr/bin/env python # # Copyright 2008,2009,2011,2012 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 ...
levelrf/level_basestation
gr-uhd/apps/uhd_siggen_base.py
Python
gpl-3.0
16,768
[ "Gaussian" ]
ddae95d0de4ca0b18388b6e64bd23dd359a2d7a246de240070925239d18aa637
#!/usr/bin/env python # pmx Copyright Notice # ============================ # # The pmx source code is copyrighted, but you can freely use and # copy it as long as you don't change or remove any of the copyright # notices. # # ---------------------------------------------------------------------- # pmx is Copyright (C...
dseeliger/pmx
scripts/analyze_dhdl.py
Python
lgpl-3.0
35,612
[ "Gaussian", "Gromacs" ]
d4891017187f7cf039d684d7cd561e88aa6a1369e3988d77ecbf8da1b8981a5b
#=============================================================================== # LICENSE XOT-Framework - CC BY-NC-ND #=============================================================================== # This work is licenced under the Creative Commons # Attribution-Non-Commercial-No Derivative Works 3.0 Unported Li...
SMALLplayer/smallplayer-image-creator
storage/.xbmc/addons/net.rieter.xot.smallplayer/resources/libs/channelgui.py
Python
gpl-2.0
28,737
[ "VisIt" ]
0d3ae81b92afb7bf9e321aa93de46f66600ed4c489cafd86f3a2f97d1f0bd54c
import pandas as pd import numpy as np from functools import partial from ..api import expected from ..lib.io import read_expected_from_file import click from .util import validate_csv from . import cli @cli.command() @click.argument( "expected_path", metavar="EXPECTED_PATH", type=str, callback=parti...
open2c/cooltools
cooltools/cli/logbin_expected.py
Python
mit
5,729
[ "Gaussian" ]
4bcb009e19c3b2f3b02dc1b9c93bf195d8bc3e0f47b80908d2118baf7a06a4a2
"""Xcoin Alert Usage: """ import requests import json import time from datetime import datetime import logging from pyfetion import PyFetion #pyfection settings username = password = #google settings client_id = client_secret = #set alert price with xx$ btcLowPrice = 500 #$ btcHighPrice = 600 ltcLowPrice = 12 l...
arowser/xcoinalert
xcoinAlert.py
Python
gpl-3.0
6,706
[ "VisIt" ]
dfe3e7f002a386debfaccc30e7320589f0adeca43048e8838b28a65864416f5c
""" Acceptance tests for Studio related to the container page. The container page is used both for displaying units, and for displaying containers within units. """ from nose.plugins.attrib import attr from unittest import skip from ...fixtures.course import XBlockFixtureDesc from ...pages.studio.component_editor impo...
adoosii/edx-platform
common/test/acceptance/tests/studio/test_studio_container.py
Python
agpl-3.0
53,213
[ "VisIt" ]
bc2d02a6af77bb44bf2b5bdedd649a9eea9913c1ec01d6f3b6aacfe62c733580
#! /usr/bin/python import math import os def write_udi_clim(path,files): for city in files: if (city.rfind("epw")+3 == len(city)): f = open(path+"/"+city, "r") data = f.readlines() f.close() counter = 0 for line in data: ...
wolfris/radivity
radivity/scripts/py_modules/epw2udi_mod.py
Python
gpl-2.0
1,116
[ "EPW" ]
853cfed3a4d610f7558ef32e6e6f878ec92a2737e71c8fe0ff34913dd27e3460
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
eonpatapon/rally
tests/hacking/checks.py
Python
apache-2.0
19,447
[ "VisIt" ]
254923481bc82736348470a9aa612a371b9da3cc46e85b665fe4895703731aa0
# Orca # # Copyright (C) 2015 Igalia, S.L. # # Author: Joanmarie Diggs <jdiggs@igalia.com> # # 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 yo...
GNOME/orca
src/orca/scripts/apps/evolution/speech_generator.py
Python
lgpl-2.1
5,271
[ "ORCA" ]
598322eee598d0e48a27c8d1fe89c2da106a1f552dc7ba3a49249c4c169757a3
""" Testing for the forest module (sklearn.ensemble.forest). """ # Authors: Gilles Louppe, # Brian Holt, # Andreas Mueller, # Arnaud Joly # License: BSD 3 clause import pickle import math from collections import defaultdict import itertools from itertools import combinations from itertools ...
huzq/scikit-learn
sklearn/ensemble/tests/test_forest.py
Python
bsd-3-clause
57,368
[ "Brian" ]
9d9fc6ee08b75309ff329579b34277b9aa2f3f0483e70684a9449a0e66ba882c
############################################################################## # Copyright (c) 2013-2018, Lawrence Livermore National Security, LLC. # Produced at the Lawrence Livermore National Laboratory. # # This file is part of Spack. # Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. # LLNL-CODE-64...
matthiasdiener/spack
var/spack/repos/builtin/packages/dealii/package.py
Python
lgpl-2.1
17,742
[ "NetCDF" ]
672cf7a3b7691aed4ebe1c20d1fb194eb1c6144dd786b8dfbffe08d6ccd8a4c9
# Copyright 2015 by Raytheon BBN Technologies Corp. All Rights Reserved. import ast import meta import numpy as np from pyqgl2.ast_util import NodeError, expr2ast from pyqgl2.importer import NameSpaces from pyqgl2.importer import collapse_name from pyqgl2.lang import QGL2 from pyqgl2.quickcopy import quickcopy from ...
BBN-Q/pyqgl2
src/python/pyqgl2/inline.py
Python
apache-2.0
78,934
[ "VisIt" ]
e02471f50861085898a5f9c9b050b473b453ae93474f1f4f863c4d1fdd89348d
#!/usr/bin/env python import argparse from Bio import AlignIO #Convert a fasta file (aligned hopefully!) to phylip format. # Uses BioPython to do everything. # # Matt Gitzendanner # University of Florida # # fasta_to_phy.py -i file.fa -o file.phy # parser = argparse.ArgumentParser() parser.add_argument("-i", help="i...
Cactusolo/ToolBox
fasta_to_phy.py
Python
mit
689
[ "Biopython" ]
486ff4c276d13a6adc169ba26fe7d34f04572031e32cbb09334c070b2114cf58
#!/usr/local/bin/python import time, sys, os import numpy as np np.errstate(invalid='ignore') from prospect.models import model_setup from prospect.io import write_results from prospect.io import read_results as pr from prospect import fitting from prospect.likelihood import lnlike_spec, lnlike_phot, write_log, chi_s...
jrleja/bsfh
scripts/prospector_restart.py
Python
mit
7,080
[ "Gaussian" ]
8a997a22b60fbee184ef48a2032fe1ecaa3f9c6dc3d85fe99b8b09e00034b424
# (c) 2015, Brian Coca <bcoca@ansible.com> # (c) 2012-17 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = """ name: url author: Brian Coca (@bcoca) version...
privateip/ansible
lib/ansible/plugins/lookup/url.py
Python
gpl-3.0
7,798
[ "Brian" ]
54b47be4d367adf48d68761ffd9ce9365b5e5ee6ebf2d828f57edddeb40e2f8d
""" awot.io.read_uwka_lidar ======================= Scripts for reading NetCDF data files from the Wyoming Cloud Lidar, part of the University of Wyoming King Air Research Aircraft facility. http://flights.uwyo.edu/wcl/ """ # Load the needed packages from __future__ import print_function from netCDF4 import Dataset,...
adlyons/AWOT
awot/io/read_uwka_lidar.py
Python
gpl-2.0
5,496
[ "NetCDF" ]
7e1f37ef0c6bc0118354509f57ef332f17bc9cb7c1418e0be02488ea55073b1f
#################################################################################################### # # Musica - A Music Theory Package for Python # Copyright (C) 2017 Fabrice Salvaire # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as pub...
FabriceSalvaire/Musica
Musica/Midi/GeneralMidiSoundSet.py
Python
gpl-3.0
8,478
[ "CRYSTAL" ]
ad017bc78a2b9de29687695f0c2c0a95f46ad0d3b0a7cfc9e8b2d1814a337253
#!/usr/bin/env python3 """ 1.1-blast-V.py This script looks for raw NGS data files in the current folder and parses them into manageable chunks for searching with BLAST on the cluster. Each raw read that meets the length restrictions is assigned a unique 8 digit serial number and submitted to the cl...
scharch/zap
annotate/1.1-blast_V.py
Python
gpl-3.0
13,889
[ "BLAST" ]
94cefed5c3fdc423e6331ea0bf47eb9a39ef46dadb9b96fc05b7ed9ad6b82a6f
import os import wx import sys import time import __future__ from Bio.Blast import NCBIWWW from Bio.Blast import NCBIXML from Bio.Blast.Applications import * from Bio import SeqIO from xlrd import open_workbook from xlwt import Workbook from threading import Thread #GENe RNA Cataloger #Nathan Owen, ncowe...
newOnahtaN/Genie-GENe-Cataloger
GENe_Windows/GENe.py
Python
mit
20,146
[ "BLAST" ]
e35756de252d3acaa083f064fa4a2390ab36e29f250085874dc78458d4f249dc
import numpy as np from mayavi import mlab from tvtk.api import tvtk def mesh_as_vtk_actor(verts, tris, compute_normals=True, return_polydata=True, scalars=None): pd = tvtk.PolyData(points=verts, polys=tris) if scalars is not None: pd.point_data.scalars = scalars if compute_normals: normal...
tneumann/cmm
cmmlib/vis/mesh.py
Python
gpl-2.0
2,747
[ "Mayavi" ]
5ed75f629b6c8e9b44a1dadcdd923448cf313fc085c02bf75dda9d345a1de495
# # Copyright 2013 Quantopian, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
YuepengGuo/zipline
tests/test_perf_tracking.py
Python
apache-2.0
79,366
[ "COLUMBUS" ]
e09c2d03c60cbae37e76282688f8a6f1db6a6e36e0064285eb6c467afbf412fd
""" Gaussian Mixture Models. This implementation corresponds to frequentist (non-Bayesian) formulation of Gaussian Mixture Models. """ # Author: Ron Weiss <ronweiss@gmail.com> # Fabian Pedregosa <fabian.pedregosa@inria.fr> # Bertrand Thirion <bertrand.thirion@inria.fr> # Important note for the deprec...
asnorkin/sentiment_analysis
site/lib/python2.7/site-packages/sklearn/mixture/gmm.py
Python
mit
32,284
[ "Gaussian" ]
4a2838d9ed61a4126924c64a55fd00090be9be468cc1b8e47bf1d6d8072340e9
from Firefly import logging from Firefly.const import DEVICE_TYPE_WATER_SENSOR, SENSOR_DRY, SENSOR_WET, WATER from Firefly.helpers.device import * from Firefly.helpers.device.device import Device from Firefly.helpers.metadata.metadata import action_text, action_water_dry ALARM = 'alarm' COMMANDS = [] REQUESTS = [AL...
Firefly-Automation/Firefly
Firefly/helpers/device_types/water_sensor.py
Python
apache-2.0
2,538
[ "Firefly" ]
fbf40137fd94e1a1e348cdaa2afe9f3d62d82f977d73b3138ec78a3d5850880b
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class Ftk(CMakePackage): """FTK is a library that simplifies, scales, and delivers feature t...
LLNL/spack
var/spack/repos/builtin/packages/ftk/package.py
Python
lgpl-2.1
2,208
[ "NetCDF", "VTK" ]
a2368bcc995f7d90286689384b3b20032ebb57b838b91702c3ed05a6ede9a3d7
# This file is part of the pyMOR project (http://www.pymor.org). # Copyright Holders: Rene Milk, Stephan Rave, Felix Schindler # License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) from __future__ import absolute_import, division, print_function try: from pyvtk import (VtkData, Unstructure...
michaellaier/pymor
src/pymor/tools/vtkio.py
Python
bsd-2-clause
3,797
[ "VTK" ]
6f2afe88ddb820109a12a464e4243d5511887cc2847bbc663c3b2cf6618ca9d3
# 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 use ...
h2oai/sparkling-water
py/tests/unit/with_runtime_sparkling/test_glm.py
Python
apache-2.0
10,121
[ "Gaussian" ]
890d45241602dfcefd71d55b25ad42b8b2309f8f82d98df048f2b0f47b6c927a
# encoding: UTF-8 # # Copyright 2012-2013 Alejandro Autalán # # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License version 3, as published # by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, but #...
ArcherSys/ArcherSys
Lib/site-packages/pygubudesigner/properties.py
Python
mit
26,535
[ "FLEUR" ]
a36900b983399e4bd2b135a65805f6f99da7ee8106c824772621258c87b7b1e3
import numpy as np from gpaw.utilities import erf from gpaw.gaunt import gaunt as G_LLL from gpaw.spherical_harmonics import Y, nablarlYL as nablaY #XXX use gpaw.sphere.rsh from gpaw.sphere.rsh import intYY, intYY_ex, intYY_ey, intYY_ez def bilinear_concentric_potential(r_g, dr_g, f_g, ft_g, l1, l2, alpha, rfilt=Non...
robwarm/gpaw-symm
gpaw/sphere/bilinear.py
Python
gpl-3.0
5,937
[ "GPAW" ]
74c763900984dbea71cff668bef8b986b8a2eace3da30f64bef007f63f83614a
# Copyright 2008 Brian Boyer, Ryan Mark, Angela Nitzke, Joshua Pollock, # Stuart Tiffen, Kayla Webley and the Medill School of Journalism, Northwestern # University. # # This file is part of Crunchberry Pie. # # Crunchberry Pie is free software: you can redistribute it and/or modify # it under the terms of the GNU Gene...
brianboyer/newsmixer
pie/quips/models.py
Python
gpl-3.0
2,197
[ "Brian" ]
049818e044d23461c64767f7eabd3d75b55b00a37a5ddd554e6dd5c3651fa519
import sys PY3 = (sys.version_info[0] >= 3) if PY3: string_types = str, else: string_types = basestring, try: any = any except NameError: def any(iterable): for element in iterable: if element: return True return False from pybindgen.typehandlers.codesink...
gjcarneiro/pybindgen
pybindgen/utils.py
Python
lgpl-2.1
8,780
[ "VisIt" ]
6139dfa5511d22ba399b45bcf0239e866dbe192e57b1e6d87626a31b09751fc6
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 from numpy.core.numeric import ( ones, zeros, arange, concatenate, array, asarr...
chiffa/numpy
numpy/lib/function_base.py
Python
bsd-3-clause
148,193
[ "Gaussian" ]
af91b08875f10b5dd352abab8c202f297ae6cfa45d9e5afb50b823451988afdb
# ****************************************************************************** # pysimm.forcefield package # ****************************************************************************** # # ****************************************************************************** # License # ***********************************...
polysimtools/pysimm
pysimm/forcefield/__init__.py
Python
mit
1,714
[ "CHARMM" ]
192ccefaaffe2473e14d78075f9a9a73e16b19e17f076e4e9db20acbcbe77d15
""" ResourceManagementClient Client to interact with the ResourceManagementDB. """ __RCSID__ = '$Id$' from DIRAC.Core.Base.Client import Client def uppercase_first_letter(key): """ a method that makes the first letter uppercase only (and leaves the remaining letters unaffected) """ return key[0].upper() +...
andresailer/DIRAC
ResourceStatusSystem/Client/ResourceManagementClient.py
Python
gpl-3.0
25,387
[ "DIRAC" ]
a5cd3ad030d26a77f1c152d5d63a7a7f67599249eae911149f927265f85d0cd5
import json from collections import defaultdict from django.core.serializers.json import DjangoJSONEncoder from django.conf import settings from django.db import connection from django.http import HttpResponse, JsonResponse from django.utils import timezone from django.shortcuts import get_object_or_404 from rest_fr...
catsop/CATMAID
django/applications/catmaid/control/node.py
Python
gpl-3.0
32,041
[ "NEURON" ]
c3f2309ccbfeece7387901144c5544ea0c41de0abae787f856302e82ad5e13fd
#!/usr/bin/env python # # rePear, the iPod database management tool # Copyright (C) 2006-2008 Martin J. Fiedler <martin.fiedler@gmx.net> # # 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 ...
worstje/repear
repear.py
Python
gpl-2.0
71,425
[ "VisIt" ]
33d289be2514085ed995d631b4f9b11dfda2c5bd90042ead5488c1010c0327b2
#!/usr/bin/python # This file generated by a program. do not edit. import pycopia.XML.POM attribDirection_50741361576644121884686865416273322500 = pycopia.XML.POM.XMLAttribute(u'direction', pycopia.XML.POM.Enumeration((u'ltr', u'rtl', u'inherit')), 12, None) attribOnend_2245217001552764273737467841846343401 = pyc...
kdart/pycopia
XML/pycopia/dtds/svg11_flat_20030114.py
Python
apache-2.0
592,173
[ "Gaussian" ]
5e5f7d8a1f9afe307ecd289f95791f579f799b5d458d4acca1b88152e2e4cd55
import numpy as np class NeuralNet(): def __init__(self, num_nodes, weights_=[], classification=True, auto_encoder=False, penalty=0., learn_rate=0.01): self.num_nodes = num_nodes self.weights_ = weights_ self.is_fit = False self.classification = classification self.aut...
garnachod/SimpleDoc2Vec
NNet.py
Python
gpl-2.0
16,201
[ "NEURON" ]
70cc31ae6dea133e45a49bb35c47c0447669cac8641f3d55055c628a6bea9a8f
import json import math import operator import requests from collections import OrderedDict from django.conf import settings from .utils import get_ratio, get_division, SUMMARY_LEVEL_DICT class ApiClient(object): def __init__(self, base_url): self.base_url = base_url def _get(self, path, params=None...
sseguku/simplecensusug
censusreporter/apps/census/profile.py
Python
mit
47,058
[ "MOE" ]
96a594db1fea6c359aa2e28f4e04a56179cd70a9e035ccd799399de6b1738766
# -*- coding: utf-8 -*- """The Google Chrome history event formatters.""" from plaso.formatters import interface from plaso.formatters import manager class ChromeFileDownloadFormatter(interface.ConditionalEventFormatter): """Formatter for a Chrome file download event.""" DATA_TYPE = u'chrome:history:file_downlo...
ostree/plaso
plaso/formatters/chrome.py
Python
apache-2.0
1,270
[ "VisIt" ]
a4a4663881d62c956d77c70476dcb389c6c604c8337275acc403fe2b103c9d8c
from __future__ import absolute_import from __future__ import print_function from .base import NodeVisitor from .. import nodes from ..utils import stringutil #==============================================================================# class CSSFormatterVisitor(NodeVisitor): def __init__(self, stream): ...
colossalbit/cssypy
cssypy/visitors/formatters.py
Python
bsd-3-clause
9,096
[ "VisIt" ]
bae44a0265b98cae3f0774da5113e752e6e200a2b10267a6300e13652a0e90fc
#!/usr/bin/python # # Copyright (c) 2015 Galina Shubina # # This program computes optimal circular section out of Legos given diameter. # # Diameter is given in special units, such that the smallest standard lego # unit ("a pip") is 5 long and 2 high. Please note that this is a fitting # a "standing circle" rather than...
galinash/legoland
compute_optimal_circle.py
Python
gpl-2.0
12,561
[ "TINKER" ]
a2ec91474f6beeacccc1638d05572d5ff510c0776a97b0c0d5368302c0804d1f
#!/usr/bin/env python """ renumber the integers at the beginning of ever line in the file to make sure these numbers are contiguous. The file is read from sys.stdin. This program does not parse an entire LAMMPS data file. The text from the "Atoms" section (or "Bonds", or "Angles", or "Dihedrals", or...
SGenheden/lammps
tools/moltemplate/src/renumber_DATA_first_column.py
Python
gpl-2.0
1,944
[ "LAMMPS" ]
b52509c32bb58b5cc52ad2e659d44f7235c5d58077817c38a178742d164623a1
# Version: 0.18 """The Versioneer - like a rocketeer, but for versions. The Versioneer ============== * like a rocketeer, but for versions! * https://github.com/warner/python-versioneer * Brian Warner * License: Public Domain * Compatible With: python2.6, 2.7, 3.2, 3.3, 3.4, 3.5, 3.6, and pypy * [![Latest Version] (...
alisaifee/flask-limiter
versioneer.py
Python
mit
68,751
[ "Brian" ]
28f9a8d19852bedd73a7f4863a3c9aa9d25bc8032ea09244200c209779cb00ad
""" @name: Modules/House/Entertainment/entertainment.py @author: D. Brian Kimmel @contact: D.BrianKimmel@gmail.com @copyright: (c) 2013-2020 by D. Brian Kimmel @license: MIT License @note: Created on Jun 3, 2013 @summary: Entertainment component access module. Start up entertainment systems. Listen...
DBrianKimmel/PyHouse
Project/src/Modules/House/Entertainment/entertainment.py
Python
mit
9,498
[ "Brian" ]
a3bf108d61e5be785a4e95906847a7a319d2eaf26b86ba53bdc97dd72ab61b0a
""" Demodulation of a signal means convolving it with a sine and cosine at the 'carrier frequency'. The two resulting signals are usually low-pass filtered and called 'quadrature I' and 'quadrature Q'. Based on this simple idea, the IQ module of pyrpl can implement several functionalities, depending on the particular s...
lneuhaus/pyrpl
pyrpl/hardware_modules/iq.py
Python
gpl-3.0
24,910
[ "exciting" ]
fe8d334e4ad027a97164f59d3f4c2d84b00b4cae3dc0fcc51d7f5e30b2d33abb
#!/usr/bin/env python import os import sys from setuptools import setup, find_packages PY2 = False if sys.version_info < (3, 0): PY2 = True if sys.version_info < (2, 7, 7): imajor, minor1, minor2 = sys.version_info[:3] # makes sure we don't get the following bug: # Issue #19099: The struct module now...
saullocastro/pyNastran
setup.py
Python
lgpl-3.0
7,020
[ "VTK" ]
152c7a63f3d8655b81a41ede9b4af1a75de0f30950b2f3536c6b30281f395af1
#!/usr/bin/env python # Copyright 2014-2018 The PySCF Developers. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # U...
gkc1000/pyscf
pyscf/pbc/tddft/__init__.py
Python
apache-2.0
746
[ "PySCF" ]
0dccb64838fee2decbe77bda6a1ebe8452f0ef9cb8f393deffa7eda1ab9604db