text
stringlengths
12
1.05M
repo_name
stringlengths
5
86
path
stringlengths
4
191
language
stringclasses
1 value
license
stringclasses
15 values
size
int32
12
1.05M
keyword
listlengths
1
23
text_hash
stringlengths
64
64
import numpy import os, inspect from orbkit import read from orbkit.analytical_integrals import get_dipole_moment from orbkit.test.tools import equal from orbkit import options '''Reference dipole moments for 'h2o_rhf_cart' (2015-09-30): \tMolpro 2012 (.out): 0.00000000 0.00000000 0.81739430...
orbkit/orbkit
orbkit/test/analytical_properties/dipole.py
Python
lgpl-3.0
3,049
[ "Gaussian", "Molpro", "TURBOMOLE", "cclib" ]
8a11d270d8ca6c30452b335f7e53c2d03cac3e48378d2875a0fa9f7108511ab7
""" ================= Lorentzian Fitter ================= """ import numpy from numpy.ma import median from numpy import pi from pyspeckit.mpfit import mpfit from . import fitter class LorentzianFitter(fitter.SimpleFitter): def __init__(self,multisingle='multi'): self.npars = 3 self.npeaks = 1 ...
keflavich/pyspeckit-obsolete
pyspeckit/spectrum/models/lorentzian.py
Python
mit
2,204
[ "Gaussian" ]
ad0216cce1601fa939ad00c2212458735c941ef7fed27f3a0911a625658579d3
# Copyright 2010 The Closure Library 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 a...
gregrperkins/closure-library
closure/bin/build/jscompiler.py
Python
apache-2.0
3,423
[ "VisIt" ]
9d65f44fc60b95360379800a64c1bb69d65568b5e2393ab68d184915ae4c3c9e
import logging from copy import deepcopy from . import ModelChecker from indra.statements import * from indra.ontology.bio import bio_ontology from .model_checker import signed_edges_to_signed_nodes logger = logging.getLogger(__name__) class PybelModelChecker(ModelChecker): """Check a PyBEL model against a set o...
johnbachman/belpy
indra/explanation/model_checker/pybel.py
Python
mit
5,708
[ "Pybel" ]
3291310a8a640b10ed09ca37aa1652bf62f93dcc886a44f69fbc9d554c7559e4
from setuptools import setup from os import path # Get the long description from the README file here = path.abspath(path.dirname(__file__)) with open(path.join(here, "README.rst"), encoding="utf-8") as f: long_description = f.read() setup( name="CAI", packages=["CAI"], version="1.0.3", descriptio...
Benjamin-Lee/CodonAdaptationIndex
setup.py
Python
mit
1,021
[ "Biopython" ]
0e420a802d78172fab1982902fbccb5d48af6f6d3e3f466c49620bffb8e50da4
#!/usr/bin/env python3 # # Copyright (c) 2017 Weitian LI <liweitianux@live.com> # MIT license """ Calculate the coordinate of the emission centroid within the image. The image are smoothed first, and then an iterative procedure with two phases is applied to determine the emission centroid. """ import os import sys i...
liweitianux/chandra-acis-analysis
bin/calc_centroid.py
Python
mit
6,366
[ "Gaussian" ]
02973f0ae82d8de959d293f014241a5aece976c0555303bbe1951335f47db555
#!/usr/bin/env python # Copyright 2015 The Kubernetes 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 # # Unle...
caesarxuchao/contrib
hack/verify-flags-underscore.py
Python
apache-2.0
8,944
[ "VisIt" ]
67660fd7cae6cf1de9af6c069e8cdfa07f922b7c8ab0c5cf61463dfdbe2957af
# 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...
precedenceguo/mxnet
python/mxnet/contrib/onnx/onnx2mx/_op_translations.py
Python
apache-2.0
26,004
[ "Gaussian" ]
11481e034a3f028234330fd0d8809c75e9192466348b4b3a721ff379956ec41b
""" Tests for discussion pages """ import datetime from uuid import uuid4 from flaky import flaky from nose.plugins.attrib import attr from nose.tools import nottest from pytz import UTC from common.test.acceptance.fixtures.course import CourseFixture, XBlockFixtureDesc from common.test.acceptance.fixtures.discussio...
pepeportela/edx-platform
common/test/acceptance/tests/discussion/test_discussion.py
Python
agpl-3.0
64,335
[ "VisIt" ]
f4137748aef83566c0d65dfa2d456263227063edc079ef1e135cc4d0901265b3
import os from docker_build import __version__ from setuptools import setup, find_packages def read(*paths): """Build a file path from *paths* and return the contents.""" with open(os.path.join(*paths), 'r') as f: return f.read() setup( name='docker-build-tool', version=__version__, de...
brian-bason/docker-build-tool
setup.py
Python
mit
1,672
[ "Brian" ]
54573df71abcc327809d207022f380f4f610c6bf254fb1c0bab3076fff6953fd
# -*- coding: utf-8 -*- """Functions to plot evoked M/EEG data (besides topographies).""" # Authors: Alexandre Gramfort <alexandre.gramfort@inria.fr> # Denis Engemann <denis.engemann@gmail.com> # Martin Luessi <mluessi@nmr.mgh.harvard.edu> # Eric Larson <larson.eric.d@gmail.com> # C...
wmvanvliet/mne-python
mne/viz/evoked.py
Python
bsd-3-clause
110,933
[ "Gaussian" ]
088f41976e11ea4093237efbdb663ad7b98ba540b4a97429ac1c77c396a8546f
from __future__ import absolute_import from .walk import IRWalker class ConstantsCollection(object): '''Special collection that compares objects not just by equality but also by type. Hashing not used so that we can store unhashable objects. ''' def __init__(self, seq=None): self....
matthagy/Jamenson
jamenson/compiler/constants.py
Python
apache-2.0
1,678
[ "VisIt" ]
9e3c39e2db160ac169ad7ac011ede5a4e44ec62fa8f3a444168e80e2058b4d97
""" @name: Modules/Web/web_server.py @author: D. Brian Kimmel @contact: D.BrianKimmel@gmail.com @copyright: 2012-2020 by D. Brian Kimmel @note: Created on Apr 3, 2012 @license: MIT License @summary: This module provides the web server(s) service of PyHouse. This is a Main Module - always present. O...
DBrianKimmel/PyHouse
Project/src/Modules/Computer/Web/web_server.py
Python
mit
7,036
[ "Brian" ]
391378546aa883001fcce77710d7bae17b8ecde43c6cd3dff64a7676bda66283
## INFO ######################################################################## ## ## ## COUBLET ## ## ======= ...
petervaro/coublet
resources/artwork/source/loader/gif.py
Python
mit
1,821
[ "VisIt" ]
2604aae8b0acfabb987b1417dccccfaed4fce86c4d798813c2da39bbdf29409d
############################### # This file is part of PyLaDa. # # Copyright (C) 2013 National Renewable Energy Lab # # PyLaDa is a high throughput computational platform for Physics. It aims to make it easier to submit # large numbers of jobs on supercomputers. It provides a python interface to physical input, suc...
pylada/pylada-light
src/pylada/tools/makeclass.py
Python
gpl-3.0
22,192
[ "CRYSTAL", "VASP" ]
a59e0b8490a6c51115047f012462dc63755b0ce4368b12d9e579d92c343229a9
""" Actions for MayaVi2 UI """ #Author: Martin Weier #Copyright (C) 2006 California Institute of Technology #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 #an...
geodynamics/citcoms
visual/Mayavi2/citcoms_display/actions.py
Python
gpl-2.0
3,506
[ "Mayavi", "VTK" ]
ed4a85ea569697e42bc2953f170417dea1e236126a9493e6f94011fe2cd22d01
#!/usr/bin/env python2 # # Copyright (C) 2013-2018 # Max Planck Institute for Polymer Research # # This file is part of ESPResSo++. # # ESPResSo++ is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, eith...
MrTheodor/espressopp
testsuite/AdResS/ForceAdResS/test_AdResS.py
Python
gpl-3.0
16,081
[ "ESPResSo" ]
5a7786aa82a050ec41a89e9c2e4b06e1012aefe6a066da76bc59740615d5def7
'''This module implements classes for generating random data. ''' # Standard library imports import numpy as np # Intra-package imports from ..ensemble import _largest_power_of_2_leq from ..spectra.nonparametric import _plot_image class RandomSignal(object): '''A class for the creation of 1-dimensional rando...
emd/random_data
random_data/signals/random_signal.py
Python
gpl-2.0
21,850
[ "Gaussian" ]
dd0e9ca477fcf640a4064ab9e8f47538ce2a70a6d14cea011671c6d29683559a
from django.db import models import cms from cms.models.pluginmodel import CMSPlugin from django.utils.translation import ugettext_lazy as _ from filer.fields.image import FilerImageField class MBDAboutTeamBar(CMSPlugin): """ Plugin to describe the information stored for a Team Bar in the Template """ ...
ti3r/mbd-cms-template
mbd_cms_template/models.py
Python
mit
12,188
[ "VisIt" ]
320bc342c3849dff663e05bab1a5b548f624ab3eb78ffd993982cd64b966b9eb
import subprocess, time, requests, json name = "Linus Torvalds" # The name for the character, by default is ya pal Chuck restartSeconds = 30 # Seconds between each joke restartIfError = 120 # Seconds before a restart after an error color = '\e[92m' # For green, to see a list of colors visit http://misc.f...
Capuno/Cowsay-with-chuck-api
autoCow.py
Python
gpl-3.0
1,025
[ "VisIt" ]
3150c4aba192a8d13a3ee1db64ffbe0f33d235d3594e32ea41b4884ecdb6b804
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Changing field 'item.quantidade_excedente' db.alter_column(u'salesReport_item', 'quantidade_excedente', s...
akiokio/centralfitestoque
src/salesReport/migrations/0035_auto__chg_field_item_quantidade_excedente.py
Python
bsd-2-clause
8,389
[ "VMD" ]
000893e5d38a2520e5ac5c360e15ece5d6822f83d6a51c2d302bed332331c929
#!/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/fci/selected_ci_spin0_symm.py
Python
apache-2.0
6,419
[ "PySCF" ]
e44694dcee149a3f4beaee73ba1d9d4655d20a817a1c294d158835f5229e0f32
""" Tests which scan for certain occurrences in the code, they may not find all of these occurrences but should catch almost all. This file was adapted from NumPy. """ from __future__ import division, absolute_import, print_function import os import sys import scipy import pytest if sys.version_info >= (3, 4): ...
jamestwebber/scipy
scipy/_lib/tests/test_warnings.py
Python
bsd-3-clause
4,193
[ "VisIt" ]
d48f9bdaf638b8b6da0ebd64351169f07e0daf63e83b30096b3acdeafe8fbdec
#!/usr/bin/env python ''' Submit multi-thread upload/download jobs in client ''' import threading import time,os def addFile(m): timeStart = time.time() n = m + 0 #print 'Adding file100m-%04d' %n cmd = 'dirac-dms-add-file /cepc/stormtest/100M-files-10/file100m-%04d random100M IHEP-STORM' %n os.sy...
yan-tian/stormutils
stormutils/stressTesting/utils/client_submit.py
Python
gpl-2.0
1,742
[ "DIRAC" ]
5233b576ec0a12e9382f45915ebffa134ac4901d3390018de79d8580468677ac
#!/usr/bin/python ''' Create Video Statistics ''' import os, sys import csv import re import json import gsutil import bqutil import datetime import process_tracking_logs from path import path from collections import OrderedDict from collections import defaultdict from check_schema_tracking_log import schema2dict, ch...
CGNx/edx2bigquery
edx2bigquery/make_video_analysis.py
Python
gpl-2.0
25,478
[ "VisIt" ]
601ad1d1a4a8bb985f776edfa0d5a5fc4389a0b7647567ca1ccab83c2550610d
"""ndb model definitions Many of these are similar to models in models.py, which are Django models. We need these ndb versions for use with runtime: python27, which is required by endpoints. """ import collections import logging import math import os import webapp2 from google.appengine.api import search from google...
babybunny/rebuildingtogethercaptain
gae/room/ndb_models.py
Python
apache-2.0
45,574
[ "VisIt" ]
1283a78a20b76f3fb1821ddd5904cd5e014d1fd488fb49483e74528ec947892e
## This code is written by Davide Albanese, <albanese@fbk.eu>. ## (C) 2011 mlpy Developers. ## 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 op...
manhtuhtk/mlpy
mlpy/kernel_class.py
Python
unlicense
2,326
[ "Gaussian" ]
e27c2e517c0bc85159f616018d61b23f2baf4691fef376e7827f2b03fbd43f24
## OUTPUT FUNCTIONS # PART1: STORE DATA in netCDF4 file (output__nc_ini,output_nc,output_nc_fin) # PART2: STORE INFO in txt file (output_txt_ini, ... # PART3: STORE PARAMETERS IN .NPY FILE ## STORE DATA def output_nc_ini(): """ Initialise the netCDF4 file.""" param['output_j'] = 0 # output index # stor...
milankl/swm
swm_output.py
Python
gpl-3.0
6,697
[ "NetCDF" ]
acd3abb4c52f91410597aa2135fd90af937a5b742f91bd65a86b8fc7d7307099
from __future__ import print_function, division from sympy.core import S, sympify, Dummy from sympy.core.function import Function, ArgumentIndexError from sympy.core.logic import fuzzy_and from sympy.core.numbers import Integer from sympy.ntheory import sieve from math import sqrt as _sqrt from sympy.core.compatibili...
vipulroxx/sympy
sympy/functions/combinatorial/factorials.py
Python
bsd-3-clause
21,778
[ "VisIt" ]
d1cfbdd05f2cd65dd7a39a8e2bda902c2e8257bdd831d375b1d8f243c727f250
# Copyright (C) 2010-2018 The ESPResSo project # # This file is part of ESPResSo. # # ESPResSo is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later v...
hmenke/espresso
testsuite/python/lb_thermo_virtual.py
Python
gpl-3.0
3,198
[ "ESPResSo" ]
9a9922943bbdccdae0490c0ff8ae0032e7471e23932d5662a680e75d4d6dd259
# # Copyright 2015 James Kermode (Warwick U.) # 2015 Till Junge (EPFL) # # matscipy - Materials science with Python at the atomic-scale # https://github.com/libAtoms/matscipy # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as publ...
libAtoms/matscipy
matscipy/distributed_computation.py
Python
lgpl-2.1
10,625
[ "Matscipy" ]
6949b1f22186c56f196bd7e635c74439568e94b863d439d801f4c7ab619fecb6
import vtk import os def ensight2vtk(file_path, out_dir, file_name, vtu_out_1="wall_outfile_node.vtu", vtu_out_2="inlet_outfile_node.vtu", vtu_out_3="interior_outfile_node.vtu", wall=True, inlet=True, interior=True, interior_name="default_interior-1"): print(wall, ...
kayarre/Tools
vtk/ensight2vtk_single_encas_tcd.py
Python
bsd-2-clause
5,696
[ "VTK" ]
718ead34d116984b032ab2a684786e254c67366c201cd595f0dc2f88ae03d814
# -*- coding: utf-8 -*- # # test-aeif_cond_alpha_RK5.py # # This file is part of NEST. # # Copyright (C) 2004 The NEST Initiative # # NEST is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of th...
synergetics/nest
pynest/examples/test-aeif_cond_alpha_RK5.py
Python
gpl-2.0
3,520
[ "NEURON" ]
770a1c024ee963039591afa8c2e59133a744e5156883070e86f45f80f053e8cc
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
googleads/google-ads-python
google/ads/googleads/v10/common/types/targeting_setting.py
Python
apache-2.0
4,071
[ "VisIt" ]
aa9c3252088d5324d51f639304d410b3266a8ef000f216875053736810b004cc
# !usr/bin/env python # -*- coding: utf-8 -*- # # Licensed under a 3-clause BSD license. # # @Author: Brian Cherinka # @Date: 2018-06-21 17:01:09 # @Last modified by: José Sánchez-Gallego (gallegoj@uw.edu) # @Last Modified time: 2018-10-17 00:22:19 from __future__ import absolute_import, division, print_function im...
sdss/marvin
python/marvin/contrib/vacs/base.py
Python
bsd-3-clause
12,350
[ "Brian" ]
fe91facfbaab8b2a042fdd2c2ea832ae8d71251f9cf9c921cf36e03edb92da69
""" @name: Modules/House/Entertainment/pandora/pandora.py @author: D. Brian Kimmel @contact: D.BrianKimmel@gmail.com @copyright: (c)2014-2020 by D. Brian Kimmel @note: Created on Feb 27, 2014 @license: MIT License @summary: Controls pandora playback thru pianobar. When PyHouse starts initiall...
DBrianKimmel/PyHouse
Project/src/Modules/House/Entertainment/Pandora/pandora.py
Python
mit
28,349
[ "Brian" ]
cfbe714bd9875ee15a1eccc7c6ab50e3ad359cdeebb3c0b2bad087e6d15df3d2
########################################################################### # # This program is part of Zenoss Core, an open source monitoring platform. # Copyright (C) 2008-2010, Zenoss Inc. # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License ...
NetNow/wmi-samba
pysamba/composite_context.py
Python
gpl-2.0
2,396
[ "VisIt" ]
7747fd0e24ea5d7a3daccb921708faeccb2ef3384052e28b0edcf78903d5e4f5
#!/usr/bin/env python # File created on 09 Feb 2010 from __future__ import division __author__ = "Greg Caporaso, Jens Reeder" __copyright__ = "Copyright 2011, The QIIME Project" __credits__ = ["Greg Caporaso", "Daniel McDonald", "Jens Reeder", "Jose Antonio Navas Molina"] __credits__ = [ "Greg Capor...
josenavas/qiime
scripts/identify_chimeric_seqs.py
Python
gpl-2.0
22,016
[ "BLAST" ]
0ce63a521a1ad2e8f3fa98af3efa8d35a3bb2a8cd0924c74dca22276eeeb95fc
# -*- coding: utf-8 -*- import datetime from django.core.files.base import ContentFile from django.core.files.storage import default_storage try: from django.utils import lorem_ipsum except ImportError: # Support Django < 1.8 from django.contrib.webdesign import lorem_ipsum import os import random import re...
paulmouzas/blogodrone
autofixture/generators.py
Python
unlicense
20,906
[ "Brian" ]
6384c6c0d7f6e6a751a98295951168a436618fd288531d6199efdce8a444fc53
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function, absolute_import from setuptools import setup, find_packages import os import pbxplore here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.rst')) as f: readme = f.read() # Extras requirements ...
jbarnoud/PBxplore
setup.py
Python
mit
2,332
[ "MDAnalysis" ]
53a440f089971ef8e631608968f5c8960755b8fb5c82bf9e433d8fe0502dd124
# 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...
rabipanda/tensorflow
tensorflow/contrib/distributions/python/ops/autoregressive.py
Python
apache-2.0
7,870
[ "Gaussian" ]
ba45cfbbbca2c6e3e24a3a4ce1d2be16671bbac68925b992fae13ab1cdb185cd
#!/usr/bin/env python # # Restriction Analysis Libraries. # Copyright (C) 2004. Frederic Sohm. # # 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. # """Update the Rebase emboss files used by ...
updownlife/multipleK
dependencies/biopython-1.65/Scripts/Restriction/rebase_update.py
Python
gpl-2.0
4,208
[ "Biopython" ]
db716f55d6139aaf3863b7bb22bd2eaf8a706856bb717c4937940375bef4932d
# powerSpec1.py # test script for computing power spectrum # 2014-06-10 """ == Spectral analysis == 0. RADAR domain -> normalise to WRF domain tests to do - 1. average each 4x4 grid in RADAR then compare the spectrum of the resulting image to the original RADAR image 2. filter (gaussian with variou...
yaukwankiu/armor
tests/powerSpec1.py
Python
cc0-1.0
7,518
[ "Gaussian" ]
dd561b5a62b1174c05466a7990bc93338378ca5ef2338061e5fc03f0298e0362
# coding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals from boot_config import * import os, sys, re import gzip import json import shutil import webbrowser import subprocess import argparse import hashlib from datetime import datetime from functools import partial from colle...
noembryo/KoHighlights
main.py
Python
mit
134,224
[ "VisIt" ]
c2f3474769684765b26dadb4acd05a5e73712cc736975638270b890ed8bd47fc
# -*- coding: utf-8 -*- from django.contrib.auth.models import AnonymousUser, User from django.db import IntegrityError from mock import Mock, patch from nose.tools import eq_ from pyquery import PyQuery as pq import amo from amo.tests import TestCase from users.models import UserProfile from .backends import Session...
jbalogh/zamboni
apps/cake/tests.py
Python
bsd-3-clause
6,802
[ "VisIt" ]
416bae144983f156660b03274d4a428d9ad365555784f1ddfe95780041e980e9
#!/usr/bin/env python ''' File name: main_ripp_mod.py Author: Guillaume Viejo Date created: 16/08/2017 Python Version: 3.5.2 ''' import sys import numpy as np import pandas as pd import scipy.io from functions import * # from pylab import * # import ipyparallel from multiprocessing import Pool imp...
gviejo/ThalamusPhysio
python/main_make_ISOMAP_HD.py
Python
gpl-3.0
7,288
[ "Gaussian" ]
01be55d9a4a0a5ffd578bac0e82927440ace1f6639dbb7baae5d2a9ebf4a7436
../../../../../../../share/pyshared/orca/scripts/apps/nautilus/script.py
Alberto-Beralix/Beralix
i386-squashfs-root/usr/lib/python2.7/dist-packages/orca/scripts/apps/nautilus/script.py
Python
gpl-3.0
72
[ "ORCA" ]
c7b1cbb9f134fb83769040d299b8b5dac3c301446e2df3e1045dc0465f70bf52
import tkSimpleDialog import tkMessageBox #import p3d.protein #import p3d.geo from pymol.wizard import Wizard from pymol import cmd, util from pymol.controlling import mode_dict class Bond(object): def __init__(self,bond1,bond2,resid1,resid2): if bond2 > bond1: self.bond1=bond1 self...
tmorrell/SamStruct
inputs/selector.py
Python
gpl-2.0
14,445
[ "PyMOL" ]
b38aec23f83c72956e053dec76141a6a7b30d4323955b02c1dbb16daea638b54
__author__ = "Andre Merzky, Ole Weidner, Mark Santcroos" __copyright__ = "Copyright 2012-2015, The SAGA Project" __license__ = "MIT" """ PBSPro job adaptor implementation """ import threading import saga.url as surl import saga.utils.pty_shell as sups import saga.adaptors.base import saga.adaptors....
mehdisadeghi/saga-python
src/saga/adaptors/pbspro/pbsprojob.py
Python
mit
47,635
[ "Jaguar" ]
bbd2e85978cf89664a544ade5d52c6bb0605699455ecbf41fea0f3aa165a144a
#!/usr/bin/env python from __future__ import print_function, division import IMP import IMP.core import IMP.isd import IMP.isd.gmm_tools import IMP.algebra import IMP.test import numpy as np from math import cos, sin, pi, sqrt, exp, log from copy import deepcopy import itertools def create_test_points(mu, radii): ...
shanot/imp
modules/isd/test/medium_test_gaussian_em_restraint.py
Python
gpl-3.0
8,453
[ "Gaussian" ]
1d3eb54bb37acf3c75e455df29f309fa47d6b578cc3631a87890f48c1959d87d
import pymol from pymol import cmd; import sys pymol.finish_launching() import time ; time.sleep(1); cmd.load('2XPI.pdb') cmd.save('2XPI.fasta','chain A') cmd.quit()
smoitra87/mrfs
data/multicols/PF12569/get_fasta_from_pdb.py
Python
apache-2.0
166
[ "PyMOL" ]
c30483d7493c52cf792e95209370eb0b3df590a174ff34b34f68da8cb0c76fba
import nest import pong import numpy as np import pickle import time import os STDP_AMPLITUDE = 5.0 # arb. unit STDP_TAU = 20.0 # ms ONLY_CAUSAL = True EPSC = 90.0 EPSC_MAX = 200.0 EPSC_BG = 200.0 BG_RATE = 0.5 SYN_DICT = {'weight': EPSC} MEAN_RUNS = 5.0 # reward averaged over this no. of runs NEURON...
yungwundi/pang
pang.py
Python
gpl-3.0
12,926
[ "NEURON" ]
f873a04928e8fa6d4e42596f573c060a95105b674271285e2bbfc4f979cfb830
import pickle from io import BytesIO import numpy as np import scipy.sparse from sklearn.datasets import load_digits, load_iris from sklearn.model_selection import train_test_split from sklearn.model_selection import cross_val_score from sklearn.externals.six.moves import zip from sklearn.utils.testing import assert...
kashif/scikit-learn
sklearn/tests/test_naive_bayes.py
Python
bsd-3-clause
17,897
[ "Gaussian" ]
0af47f1a5293872d166557bc760fa67378f4e0f55709b9933207852391757ad2
#!/usr/bin/env python # # @file GeneralFunctions.py # @brief class to create general functions # @author Frank Bergmann # @author Sarah Keating # # <!-------------------------------------------------------------------------- # # Copyright (c) 2013-2018 by the California Institute of Technology # (California, USA...
sbmlteam/deviser
deviser/code_files/cpp_functions/GeneralFunctions.py
Python
lgpl-2.1
63,638
[ "VisIt" ]
fc80137bb23a0003afbb99f30a05580119a26d428ed3f64eb980b002b7ac87d7
from __future__ import absolute_import from __future__ import division from typing import Any, Dict, List, Tuple, Optional, Sequence, Callable, Union from django.db import connection from django.db.models.query import QuerySet from django.template import RequestContext, loader from django.core import urlresolvers from...
Vallher/zulip
analytics/views.py
Python
apache-2.0
28,082
[ "VisIt" ]
c4dbacdcda4fa57e8af82afe72694f9e5ed231a659dceedd27eaef89362a2ea2
# coding: utf-8 from __future__ import division, unicode_literals """ Created on Jul 24, 2012 """ __author__ = "Shyue Ping Ong" __copyright__ = "Copyright 2012, The Materials Project" __version__ = "0.1" __maintainer__ = "Shyue Ping Ong" __email__ = "shyuep@gmail.com" __date__ = "Jul 24, 2012" import unittest impo...
rousseab/pymatgen
pymatgen/transformations/tests/test_advanced_transformations.py
Python
mit
11,086
[ "VASP", "pymatgen" ]
17a93f81547fa6a127e74922941e420e65f960d4e3235b3723649af8b4c4539a
#!/usr/bin/env python # Python 2/3 compatibility from __future__ import print_function import sys PY3 = sys.version_info[0] == 3 if PY3: xrange = range import numpy as np from numpy import random import cv2 def make_gaussians(cluster_n, img_size): points = [] ref_distrs = [] for _i in xrange(cluster...
zzjkf2009/Midterm_Astar
opencv/samples/python/gaussian_mix.py
Python
mit
2,081
[ "Gaussian" ]
1cbc640509a6f03ac8c82113bb1145932c7e9467551bc9a0f758ad6f90be3619
""" DIRAC FileCatalog component representing a simple directory tree """ __RCSID__ = "$Id: $" import os import types from DIRAC import S_OK, S_ERROR from DIRAC.DataManagementSystem.DB.FileCatalogComponents.DirectoryTreeBase import DirectoryTreeBase class DirectorySimpleTree( DirectoryTreeBase ): """ Class managi...
andresailer/DIRAC
DataManagementSystem/DB/FileCatalogComponents/DirectorySimpleTree.py
Python
gpl-3.0
4,383
[ "DIRAC" ]
a7446a7c135c0e37d02815dfa964f2f85d97823c9ed7c0be7bdeed6b9a9ff910
# Copyright 2009 Brian Quinlan. All Rights Reserved. # Licensed to PSF under a Contributor Agreement. __author__ = 'Brian Quinlan (brian@sweetapp.com)' import collections import functools import logging import threading import time FIRST_COMPLETED = 'FIRST_COMPLETED' FIRST_EXCEPTION = 'FIRST_EXCEPTION' ALL_COMPLETED...
cnsoft/kbengine-cocos2dx
kbe/src/lib/python/Lib/concurrent/futures/_base.py
Python
lgpl-3.0
19,316
[ "Brian" ]
3db5a8d7353bf624187a623f78e60f5dc947410e31c8bc82a22023570052776a
# Orca # # Copyright 2006-2008 Sun Microsystems Inc. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # # This...
Alberto-Beralix/Beralix
i386-squashfs-root/usr/share/pyshared/orca/find.py
Python
gpl-3.0
14,205
[ "ORCA" ]
43a5e938d423a4cd5eb3454bbda069325c5bdf887fa2669f834dd128e0704fd6
""" ========================================= Density Estimation for a Gaussian mixture ========================================= Plot the density estimation of a mixture of two Gaussians. Data is generated from two Gaussians with different centers and covariance matrices. """ import numpy as np import matplotlib.py...
manhhomienbienthuy/scikit-learn
examples/mixture/plot_gmm_pdf.py
Python
bsd-3-clause
1,518
[ "Gaussian" ]
0c634ac657be44919216b8f244834615417a6256885539802c1f1f3994c0b43a
"""quodsite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-b...
ouh-churchill/quod
config/urls.py
Python
mit
2,234
[ "VisIt" ]
1b6508fdfcd60c56d78e3bdcd91046ecb903fcc5213cc29cb0f402bc837da179
#!/usr/bin/env python import vtk from vtk.test import Testing from vtk.util.misc import vtkGetDataRoot VTK_DATA_ROOT = vtkGetDataRoot() # This test checks netCDF reader. It uses the COARDS convention. renWin = vtk.vtkRenderWindow() renWin.SetSize(400,400) ##############################################################...
HopeFOAM/HopeFOAM
ThirdParty-0.1/ParaView-5.0.1/VTK/IO/NetCDF/Testing/Python/NetCDFCFSetOutputType.py
Python
gpl-3.0
5,422
[ "NetCDF", "VTK" ]
aaf52edba26445a60d271fec5c0ee6410248c4ed23342365963026bd4a338a1d
import os from tornado.web import StaticFileHandler, HTTPError from DIRAC import rootPath class StaticHandler(StaticFileHandler): def initialize(self, pathList, default_filename=None): # pathList: ['/opt/dirac/pro/WebAppExt/WebApp/static', ...] self.pathList = [os.path.abspath(path) + os.path.se...
DIRACGrid/WebAppDIRAC
src/WebAppDIRAC/Core/StaticHandler.py
Python
gpl-3.0
920
[ "DIRAC" ]
271e3d0790185f3e2c66e083ad1f7020cff02b23608d7fcd6c2ecf4aa484ea0a
import pickle import signal_processing as sig_proc import numpy as np import matplotlib.pyplot as plt import math from scipy import stats import copy #step phase analysis for each neuron and global dir_name = '../data/r448/r448_131022_rH/' img_ext = '.eps' save_img = True show = True trials = [2, 5, 6, 7] #signal fi...
scauglog/brain_record_toolbox
script_r415_snr_evolution.py
Python
mit
2,300
[ "NEURON" ]
d526a6b1963a84529346cd5208dab000ebde9ec10c07e668d2f78a1e11980cf8
""" Simulation-generated data can provide an external criterion to validate clustering methods. This module contains a set of command-line tools for performing simulations, clustering their output, and producing analaysis reports. """ import random import os import sys import string import operator import logging impo...
escherba/lsh-hdc
lsh_hdc/monte_carlo/strings.py
Python
bsd-3-clause
21,732
[ "Gaussian" ]
05659c5bffb44b07b2650497bf72d2a02025296e71ae8a3232b4c2a7a8a5f91e
__author__ = 'adeb' import numpy as np import theano from theano.tensor.signal import downsample from theano.tensor.nnet import conv, conv3d2d from theano.tensor.shared_randomstreams import RandomStreams from spynet.utils.utilities import share, get_h5file_data from spynet.models.max_pool_3d import max_pool_3d cl...
adbrebs/spynet
models/layer_block.py
Python
bsd-2-clause
12,434
[ "Gaussian" ]
987cdf7bc69c7a19ba22dd6507c434f84d8f5c68da5249bd219a0d3faf2d06da
######################################################################## # This example illustrates how a function can be used to control a reaction # rate. This kind of calculation is appropriate when we need to link # different kinds of physical processses with chemical reactions, for # example, membrane curvature...
dilawar/moose-core
tests/core/test_function_controls_reac_rate.py
Python
gpl-3.0
3,293
[ "MOOSE" ]
b9306124af3f27c2ad5babc84d4ddf37706d5698759bed95beffbc7b17f18ae5
# # @BEGIN LICENSE # # Psi4: an open-source quantum chemistry software package # # Copyright (c) 2007-2017 The Psi4 Developers. # # The copyrights for code used from other parties are included in # the corresponding files. # # This program is free software; you can redistribute it and/or modify # it under the terms of ...
kratman/psi4public
psi4/share/psi4/databases/NHTBH.py
Python
gpl-2.0
36,640
[ "Psi4" ]
d4717652ae1abc10ce23028b07844ba44d6158fbca124f46f9d9b0264ba43b0a
import FluidChannel as fc import numpy as np #overall channel dimensions aLx_p = 1.0 aLy_p = 1.0 aLz_p = 5.0 aNdivs = 21 #sphere position a_x = 0.5 a_y = 0.5 a_z = 2.0 r = 0.2 #create the obstruction object myObst = fc.SphereObstruction(r,a_x,a_y,a_z); #creat the fluid channel object myChan = fc.FluidChannel(Lx_p =...
stu314159/pyNFC
geom_demo1.py
Python
mit
551
[ "VTK" ]
2bb7663280ca8ad09ad4a661546457d8a909c90a3c5e8ebed48fd91e06bac3b0
""" Implements several extended-ensemble Monte Carlo sampling algorithms. Here is a short example which shows how to sample from a PDF using the replica exchange with non-equilibrium switches (RENS) method. It draws 5000 samples from a 1D normal distribution using the RENS algorithm working on three Markov chains bein...
csb-toolbox/CSB
csb/statistics/samplers/mc/multichain.py
Python
mit
55,707
[ "VisIt" ]
e65b53258145a227810fb6300d95e1b1fbe4373d3cd7666bc31aed25cd3b022a
import ovito from ovito.io import (import_file, export_file) from ovito.vis import * import os test_data_dir = "../../files/" node1 = import_file(test_data_dir + "LAMMPS/class2.data", atom_style = "full") node1.add_to_scene() node1.source.particle_properties.position.display.shape = ParticleDisplay.Shape.Square node1...
srinath-chakravarthy/ovito
tests/scripts/test_suite/povray_exporter.py
Python
gpl-3.0
481
[ "LAMMPS", "OVITO" ]
accbdc526370e97d69cecede569c7bb47d128abb096060c01db2960c11629708
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = 'stsmith' # easylist_pac: Convert EasyList Tracker and Adblocking rules to an efficient Proxy Auto Configuration file # Copyright (C) 2017-2020 by Steven T. Smith <steve dot t dot smith at gmail dot com>, GPL # This program is free software: you can redistr...
essandess/easylist-pac-privoxy
easylist_pac.py
Python
gpl-3.0
94,607
[ "VisIt" ]
c2fe474223f8646ebdea124e669d99fe32b41154447bfe9e75be18c60394bca0
from JumpScale import j import mongoengine from eve import Eve from eve_mongoengine import EveMongoengine from flask.ext.bootstrap import Bootstrap from eve_docs import eve_docs # create some dummy model class # default eve settings my_settings = { 'MONGO_HOST': 'localhost', 'MONGO_PORT': 27017, 'MONGO_...
Jumpscale/web
examples/test/start.py
Python
apache-2.0
968
[ "VisIt" ]
f07b3f5acac4f5d8d3457cd15745d144613fa8a6b1c764210aec64bce1c48651
import numpy as np import scipy.linalg as linalg np.set_printoptions(linewidth=200) #invSqrt2pi = np.sqrt(np.pi*2) #invSqrtPiHalf = 1/np.sqrt(np.pi*0.5) gauss_renorm0 = 1/( 4*np.pi * np.sqrt(np.pi*0.5) ) # =========================== Functions def applyH( f, ddfR, ddfT, V, k_h2m=0.1, bDebug=False ): Tf = -( ...
ProkopHapala/SimpleSimulationEngine
python/pyGaussAtom/GaussAtom.py
Python
mit
7,583
[ "Gaussian" ]
0cf3e11fea42172389f8500a2f570747805e72f966af85a0246cf72290fc1137
import json import pprint master_ingrd_dict = { 'spices' : ['paprika', 'cayenne pepper', 'chili powder', 'curry powder', 'vanilla extract', 'vanilla bean', 'kosher salt', 'bay leaf', 'bay leaves', 'crushed red...
mingtaiha/n.ai
scripts/get_ingredient.py
Python
mit
17,631
[ "ESPResSo" ]
5ffd13b05e4e1f31d2eff734286c68579f8e39c83fedc84e2a656dbf7375cc64
# (C) British Crown Copyright 2010 - 2018, Met Office # # This file is part of Iris. # # Iris 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 3 of the License, or # (at your option) any l...
duncanwp/iris
lib/iris/tests/__init__.py
Python
lgpl-3.0
45,786
[ "NetCDF" ]
537b24751a7fab0c969f88f17f2a5a85f96129917282859d54e23a10648bc67d
""" This sample demonstrates a simple skill built with the Amazon Alexa Skills Kit. The Intent Schema, Custom Slots, and Sample Utterances for this skill, as well as testing instructions are located at http://amzn.to/1LzFrj6 For additional samples, visit the Alexa Skills Kit Getting Started guide at http://amzn.to/1LG...
dashnash/breast-easier-lambdafunc
src/main.py
Python
mit
4,948
[ "VisIt" ]
2bcf9069f45db7d387e5a1f4898fab3aa7487264840b00dc41f69fb760b96f61
# Copyright (c) Charl P. Botha, TU Delft. # All rights reserved. # See COPYRIGHT for details. import config from install_package import InstallPackage import os import shutil import sys import utils # NB: for this module to build successfully, ITK has to be built with # ITK_USE_REVIEW=ON (until the itkFlatStructu...
nagyistoce/devide.johannes
install_packages/ip_itkvtkglue.py
Python
bsd-3-clause
5,230
[ "VTK" ]
be140ab318acb777b3674379d70ddd52a88828f0fefb0fdc6bdfdedc983a0719
#!/usr/bin/python """ Copyright (C) 2008 Andreas Engelbredt Dalsgaard <andreas.dalsgaard@gmail.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 Foundation, either version 3 of the License, o...
yzh89/pyuppaal
pyuppaal/ulp/compiler.py
Python
gpl-3.0
1,047
[ "VisIt" ]
d6fbd1722c43e3646d19dc9ee5f0deaab3f5b0036946e1a14ac2782f7fb83243
#!/usr/bin/env python # # DNATool - A program for DNA sequence manipulation # Copyright (C) 2012- Damien Farrell & Jens Erik Nielsen # # 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 vers...
dmnfarrell/peat
DNATool2/Prefs.py
Python
mit
11,106
[ "PyMOL", "RasMol", "VMD", "YASARA" ]
d59581cfade6395a2aa79926d514e3ba5a1376a78aabf764e8acfe43ae21dba3
#!/usr/bin/env python ## Copyright (C) 2005-2006 Graham I Cummins ## This program is free software; you can redistribute it and/or modify it under ## the terms of the GNU General Public License as published by the Free Software ## Foundation; either version 2 of the License, or (at your option) any later version. ##...
gic888/MIEN
nmpml/recording.py
Python
gpl-2.0
5,293
[ "NEURON" ]
7317185af36ea85998e7018c41b9d0945c7b6c5f69fd997bcf38091c829c4415
# Copyright (C) 2012,2013 # Max Planck Institute for Polymer Research # Copyright (C) 2008,2009,2010,2011 # Max-Planck-Institute for Polymer Research & Fraunhofer SCAI # Copyright (C) 2019 # Max Planck Computing and Data Facility # # This file is part of ESPResSo++. # # ESPResSo++ is free softwa...
govarguz/espressopp
src/storage/DomainDecompositionAdress.py
Python
gpl-3.0
4,205
[ "ESPResSo" ]
07e86e706bcc2632f5ac54630ad856e253bb80e959879c711732e320ce05284b
''' Example of a spike generator (only outputs spikes) In this example spikes are generated and sent through UDP packages. At the end of the simulation a raster plot of the spikes is created. ''' from brian import * import numpy from brian_multiprocess_udp import BrianConnectUDP number_of_neurons_total = 45 numbe...
ricardodeazambuja/BrianConnectUDP
examples/InputNeuronGroup_multiple_outputs.py
Python
cc0-1.0
1,929
[ "Brian", "NEURON" ]
5afb38fba155b2f53e3e76999963f6df77b21da74d770019de233587c42a1ac1
from numpy import c_, zeros, arange from traits.api import HasStrictTraits, \ true, false, Instance from mayavi.sources.vtk_data_source import VTKDataSource from mayavi.sources.array_source import ArraySource from mayavi.core.source import Source from mayavi.core.trait_defs import ArrayOrNone from tvtk.api impo...
dmsurti/mayavi
mayavi/tools/data_wizards/data_source_factory.py
Python
bsd-3-clause
8,298
[ "Mayavi", "VTK" ]
681117a93fb24671ee119148ae2c98c22912d07599db33244c3808136e57dfa8
from future import standard_library standard_library.install_aliases() import logging import pycurl import io import re import os import hashlib from biomaj.utils import Utils from biomaj.download.ftp import FTPDownload try: from io import BytesIO except ImportError: from StringIO import StringIO as BytesIO ...
horkko/biomaj-postgres
biomaj/download/http.py
Python
agpl-3.0
4,880
[ "BLAST" ]
0a698a51cbf25e94d7acd1eb91f125dbb5d8dd7433e946ebe3605ea96cffae0c
# # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2000-2006 Donald N. Allingham # Copyright (C) 2009 Brian G. Matherly # Copyright (C) 2009 Peter G. Landgren # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as pu...
arunkgupta/gramps
gramps/gen/constfunc.py
Python
gpl-2.0
3,813
[ "Brian" ]
2e37917801d40f25e6c1fcaee469fca697cdbe624e4ea973beb2e25c2fd456df
"""End-To-End Memory Networks. The implementation is based on http://arxiv.org/abs/1503.08895 [1] """ from __future__ import absolute_import from __future__ import division import tensorflow as tf import numpy as np from six.moves import range import code def position_encoding(sentence_size, embedding_size): """...
ZeweiChu/memn2n
memn2n/memn2n.py
Python
mit
12,164
[ "Gaussian" ]
88d2999379a2ec882d4150a861af822c24d01cd9982f0063085c42bc1c81ccba
# -*- coding=utf-8 -*- """functional testing for bioweb application""" import sys import os import time import unittest import re import subprocess from splinter import Browser from selenium.common.exceptions import NoAlertPresentException, NoSuchElementException ##find_by_type def findByType(browser, id...
mingless/bayesian_webclass
bioweb/functional_tests.py
Python
mit
6,935
[ "VisIt" ]
a5c90e970cbbda23cd8f4aff2f339cbb2e3ada5667a89375a37930953c2091bf
# Copyright (C) 2017 # Max Planck Institute for Polymer Research # # This file is part of ESPResSo++. # # ESPResSo++ is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, o...
espressopp/espressopp
src/interaction/ConstrainRG.py
Python
gpl-3.0
4,044
[ "ESPResSo" ]
edd0ddaee2d5ecbf0367c801bc55be630f63b1e04f03bd746a098e1b20a81ce5
import tensorflow as tf import numpy as np import math class MySimpleModel(object): def __init__(self, resize, label_size): # session init self.sess = tf.InteractiveSession() # variable self.x = tf.placeholder(tf.float32, shape=[None, resize*resize]) self.y_ = tf.placeholde...
lastone9182/flask
static/uploads/backup/mymodel.py
Python
mit
5,075
[ "NEURON" ]
c00352aee226f3065e868f81ae94b1bc4eee6692ee5a45cab315e64b4d57cd7e
#!/usr/bin/env python ######################################################################## # File : dirac-wms-get-wn # Author : Philippe Charpentier ######################################################################## """ Get WNs for a selection of jobs """ import datetime from functools import cmp_to_key ...
ic-hep/DIRAC
src/DIRAC/WorkloadManagementSystem/scripts/dirac_wms_get_wn.py
Python
gpl-3.0
7,583
[ "DIRAC" ]
784e4c4af2ae4d41f110cde836dcbc2b36c41df5749e1f0f845fbf27dd074d01
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Core scripts for the OrcaNet package. """ import os import toml import warnings import time from datetime import timedelta import keras as ks import orcanet.backend as backend from orcanet.utilities.visualization import update_summary_plot from orcanet.in_out import I...
ViaFerrata/DL_pipeline_TauAppearance
orcanet/core.py
Python
agpl-3.0
34,137
[ "ORCA" ]
d4da5b3cf3440a23835e3a6c32fd4ecb9173de742019957c0db61d0b6f8bf75b
from math import * import random # don't change the noise paameters steering_noise = 0.1 distance_noise = 0.03 measurement_noise = 0.3 class plan: # -------- # init: # creates an empty plan # def __init__(self, grid, init, goal, cost=1): self.cost = cost self.grid = grid ...
AKS1996/VOCOWA
segmented_cte.py
Python
mit
15,242
[ "Gaussian" ]
777cc560054b71be200cddd8a230032e81de8f3734323482844f8ba9bcd8f6ed
import cStringIO import logging import operator as op from antlr3.tree import CommonTree as AST from lib.typecheck import * import lib.const as C import lib.visit as v from .. import util from . import field_nonce, register_field import expression as exp import clazz class Field(v.BaseNode): def __init__(self, ...
plum-umd/pasket
pasket/meta/field.py
Python
mit
3,489
[ "VisIt" ]
d094501731bb4ef581730a247bef9939d166bd8fba46f4ccca1ab9b31c49006e
#!/usr/bin/env python # Copyright 2014-2020 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/tdscf/uks.py
Python
apache-2.0
10,463
[ "PySCF" ]
0557bd3c63d7bab1887edc1880c5df3210bc85aef77b417bf1bce3d64447e0de
""" IPOL SIFT """ from lib import base_app, build, http from lib.misc import app_expose, ctime from lib.base_app import init_app from cherrypy import TimeoutError import cherrypy import os.path import shutil ######## WARNING OVERLOADING EMPYT_APP ######### ######## WARNING OVERLOADING EMPYT_APP ######### ########...
juan-cardelino/matlab_demos
ipol_demo-light-1025b85/app_available/82/app.py
Python
gpl-2.0
22,321
[ "Gaussian" ]
182b3a8ee5e0fd03c4af716097bbdd9f69d2974df440c20a195aac7490885ec5
# this is a temporary python file that will help me to understand the likelhood and times of the minimisation import numpy def return_likelihood_list(path): """ the function returns the log-likelihood of the given file, the function does not check before/after and does not do anything smart with all the images ot...
davidwhogg/DeprojectAllGalaxies
scripts/times_and_likelihood.py
Python
mit
2,979
[ "Gaussian" ]
ddd7c96eace592c2a26acc4fef6d58db51c91c55df783f92eec1021d0dd05795
# coding=utf-8 # Copyright 2022 The Google Research 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 applicab...
google-research/google-research
es_optimization/policies.py
Python
apache-2.0
32,194
[ "Gaussian" ]
249839298c3f6b89be3d63b5a2710200300b69bd7fdbccd718c92917617e716b
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' ========================================================================= Program: Visualization Toolkit Module: TestNamedColorsIntegration.py Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www....
sumedhasingla/VTK
Rendering/Volume/Testing/Python/VolumePicker.py
Python
bsd-3-clause
9,002
[ "VTK" ]
9a002fd5cbce8229d2956b8245deb906a3821baf50fe7751285e557f6fb21d1a