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
""" This class brings together a L{solve.Solver} to choose a set of implmentations, a L{fetch.Fetcher} to download additional components, and the user's configuration settings. @since: 0.53 """ # Copyright (C) 2011, Thomas Leonard # See the README file for details, or visit http://0install.net. from zeroinstall impor...
michel-slm/0install
zeroinstall/injector/driver.py
Python
lgpl-2.1
6,862
[ "VisIt" ]
80f78c3c6ed81d11e7c1aae2fd5d81b63c8dc2b5c98c5d36374a5158e76f2748
""" Acceptance tests for Studio's Settings Details pages """ from unittest import skip from acceptance.tests.studio.base_studio_test import StudioCourseTest from ...fixtures.course import CourseFixture from ...pages.studio.settings import SettingsPage from ...pages.studio.overview import CourseOutlinePage from ...test...
mtlchun/edx
common/test/acceptance/tests/studio/test_studio_settings_details.py
Python
agpl-3.0
6,290
[ "VisIt" ]
7eb2220d9bfbf71b25c35d933c779f6cf8bf9a43c38262b198bf8e7a97327074
__author__ = 'Alexendar Perez' ##################### # # # Introduction # # # ##################### """compute specificity score, Hamming, and Levinstein distance neighborhoods for strings""" ################# # # # Libraries # # # ############...
lzamparo/crisprML
src/specificity_score_distance_neighbors.py
Python
bsd-3-clause
16,743
[ "Biopython" ]
c0a5dc374bc873a2e3ef4eef6c84f5971bcaabf94d3070620f4a3ecfe7e5900a
#!/usr/bin/env python # # $Id: check_pep8.py 9319 2011-06-10 02:59:43Z nathan_george $ # # Proprietary and confidential. # Copyright $Date:: 2011#$ Perfect Search Corporation. # All rights reserved. # import sys import os import subprocess buildscriptDir = os.path.dirname(__file__) buildscriptDir = os.path.abspath(os....
perfectsearch/sandman
code/buildscripts/codescan/check_pep8.py
Python
mit
6,192
[ "VisIt" ]
ae70ef269a3cb1c2b2025b558bee8b9c8d76446a90cf8bb38068738f8ea48b2b
#!/usr/bin/python2 # Copyright (C) 2016 Sixten Bergman # License WTFPL # # This program is free software. It comes without any warranty, to the extent # permitted by applicable law. # You can redistribute it and/or modify it under the terms of the Do What The # Fuck You Want To Public License, Version 2, as...
MaximeLapointeMajor/QuantumDot-AutomatedTuning
peakdetect.py
Python
mit
36,606
[ "TINKER" ]
35e37e2c223b7eb27977f104a797fb6f342b8f4d462a3f3b25fa4f67bcb8ccbf
#!/usr/bin/python """ Copyright 2017 Paul Willworth <ioscode@gmail.com> This file is part of Galaxy Harvester. Galaxy Harvester is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of th...
druss316/G-Harvestor
html/markUnavailable.py
Python
gpl-3.0
4,077
[ "Galaxy" ]
bad0526762ee3f58d126729f226858d828104ab55febd1f6ef8d952b88d409da
#!/usr/bin/env python import numpy sourceFileList = ['PyWindProfile/PyWindProfile.cpp',\ '../Gaussian.cpp',\ '../Utilities.cpp',\ '../OpticalDepth.cpp',\ '../Porosity.cpp',\ '../AnalyticOpticalDepth.cpp',\ '../SmoothA1.cpp',\ ...
mauriceleutenegger/windprofile
PyWindProfile/setup.py
Python
gpl-2.0
1,996
[ "Gaussian" ]
ebb309b921504806f577c24693cab5666cd28cb45d269fdaff9b55c67716c6f9
# Copyright 2016 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/py2tf/converters/decorators.py
Python
apache-2.0
2,071
[ "VisIt" ]
eabe9e56b90d0bdda2c5ee3e4d32f1abcfbe5b82ea2689a9226f422ba088175b
# -*- coding: utf-8 -*- # @Author: Zachary Priddy # @Date: 2016-05-03 08:06:32 # @Last Modified by: Zachary Priddy # @Last Modified time: 2016-06-26 16:21:46 import logging from core.models.command import Command as ffCommand from core.models.device import Device from core.models.event import Event as ffEvent from...
zpriddy/Firefly
Firefly/devices/ffEcobee/ffEcobee.py
Python
apache-2.0
5,833
[ "Firefly" ]
e2165da6365118916c5ef184bcf0861f3fa9ab5ab6da509bfe86a3d1570e451c
from parsimonious.grammar import Grammar from parsimonious.nodes import NodeVisitor class EntryParser(NodeVisitor): def __init__(self, grammar, text): self.entry = {} ast = Grammar(grammar).parse(text) self.visit(ast) def visit_name(self, n, vc): self.entry['name'] = ...
codeyash/plugins
PyPlugins/PhpParser/py/csv.py
Python
apache-2.0
797
[ "VisIt" ]
e94ab3c5b2b35a85d31ed3172728ed5129eb745d35431afb9dca46140380db68
# Copyright (c) 2003-2014 LOGILAB S.A. (Paris, FRANCE). # http://www.logilab.fr/ -- mailto:contact@logilab.fr # # This program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, o...
si618/pi-time
node_modules/grunt-pylint/tasks/lib/pylint/utils.py
Python
gpl-3.0
43,689
[ "VisIt" ]
239c5cb806f582e1e1b3b672c83d3cf61b93065a1b2072d36c40c874a408f9d3
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class RYarn(RPackage): """YARN: Robust Multi-Condition RNA-Seq Preprocessing and Normalization. ...
iulian787/spack
var/spack/repos/builtin/packages/r-yarn/package.py
Python
lgpl-2.1
1,808
[ "Bioconductor" ]
89f9170ac30e081c4515c0adac91266545611e5228b072dd8b5e606135f752d8
from django.db import models from edc_metadata_rules import MetadataRuleEvaluator from ...constants import KEYED, REQUISITION, CRF from ...metadata import Metadata, Destroyer, DeleteMetadataError from ...metadata import RequisitionMetadataGetter, CrfMetadataGetter class CreatesMetadataModelMixin(models.Model): "...
botswana-harvard/edc-meta-data
edc_metadata/model_mixins/creates/creates_metadata_model_mixin.py
Python
gpl-2.0
2,465
[ "VisIt" ]
77e306002546a4df8c3770eeb565645dc4dc0ae845e43a3538d508a8311a0809
#!/usr/bin/env python """PokerNet simulation suite""" from __future__ import print_function from train import run_simulation, get_parser # Initialize args with program defaults INIT_ARGS = vars(get_parser().parse_args()) def table_one(): """Table 1: Training results for different neuron numbers""" simulat...
huntrar/PokerNet
simulation_suite.py
Python
mit
6,558
[ "NEURON" ]
3a4739bdbf84e32fa65cc5af4c664e98bce08bfb9037b93422830a71c7b24605
from compiler import ast # XXX should probably rename ASTVisitor to ASTWalker # XXX can it be made even more generic? class ASTVisitor: """Performs a depth-first walk of the AST The ASTVisitor will walk the AST, performing either a preorder or postorder traversal depending on which method is cal...
nmercier/linux-cross-gcc
win32/bin/Lib/compiler/visitor.py
Python
bsd-3-clause
4,009
[ "VisIt" ]
34d7f8b5c8ba7e83fe3b3c4bdf93abd5b7735230ee1d759edd439ce44f6db77f
# ________________________________________________________________________ # # Copyright (C) 2020 Andrew Fullford # # 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.apa...
akfullfo/tools
ercotsum/__init__.py
Python
apache-2.0
13,217
[ "Octopus" ]
ea84c4e1bfae03728620d1c07df336dd56c38140a9b3c2b9e559be0fcb64de35
from django.conf import settings from django.shortcuts import render_to_response, get_object_or_404 from django.http import Http404 from django.http import HttpResponseRedirect, HttpResponseForbidden, Http404, HttpResponse from django.db.models import Q from django.contrib.auth import authenticate from django.contrib...
thehub/hubplus
apps/plus_wiki/views.py
Python
gpl-3.0
11,996
[ "VisIt" ]
f27b05937ce5a19fca0479be69f88d5630ab71aa1ccd2041909507493b20f9dc
#!/usr/bin/env python """ ================================================ ABElectronics IO Pi 32-Channel Port Expander Requires smbus2 or python smbus to be installed ================================================ Each MCP23017 chip is split into two 8-bit ports. Port 0 controls pins 1 to 8 while Port 1 contro...
abelectronicsuk/abelectronics-home-assistant-custom-components
abelectronicsiopi/custom_components/abelectronicsiopi/IOPi.py
Python
mit
30,408
[ "TINKER" ]
eaadde9ea1d6857798bcd7a78d3796902a0dc22abaeaea0b02ec1dd74b46e9d1
## INFO ######################################################################## ## ## ## COUBLET ## ## ======= ...
petervaro/coublet
models/api.py
Python
mit
7,249
[ "VisIt" ]
9f1c572a3864735cc2ab8b20f5164c193d9c4cf26d5a3bd5252fb836dfa87f7c
# Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. """ OpenBabel interface module, which opens up access to the hundreds of file formats supported by OpenBabel. Requires openbabel with python bindings to be installed. Please consult the `openbabel documentation <http://openbab...
vorwerkc/pymatgen
pymatgen/io/babel.py
Python
mit
13,371
[ "Open Babel", "Pybel", "pymatgen" ]
770c53a64b23eeac9253d16f1aa476508161412f40c62317da0c6dbaafb40ff2
#!/usr/bin/env python """ Script/functions for generating the SAGA master host list. (Initially written by Erik Tollerud, but you should always trust git commit logs over whatever you find in a comment at the top of the file!) Directions for use ------------------ Assuming you have git installed, here's the way to...
saga-survey/saga-code
masterlist/masterlist.py
Python
gpl-2.0
40,961
[ "Galaxy" ]
0cd014da3892357e1d63e58abf711aad7c644af437196f18a374018a7470356c
#!/usr/bin/python # -*- coding: utf-8 -*- """Test suit for the CP2K ASE calulator. http://www.cp2k.org Author: Ole Schuett <ole.schuett@mat.ethz.ch> """ from __future__ import division, print_function import os from ase.test import NotAvailable from ase.structure import molecule from ase.calculators.cp2k import CP2...
misdoro/python-ase
ase/test/cp2k/cp2k_H2_LS.py
Python
gpl-2.0
924
[ "ASE", "CP2K" ]
69dab6817e7e6c0824d602a408219ca13f5ec56518b5812eca29ace574d0affa
import numpy as np import scipy def gaussian(height, center_x, center_y, width_x, width_y, rotation): """Returns a gaussian function with the given parameters""" width_x = float(width_x) width_y = float(width_y) rotation = np.deg2rad(rotation) center_x = center_x * np.cos(rotation) - center_y * np...
woshialex/diagnose-heart
CNN_A/gaussian2d.py
Python
mit
2,304
[ "Gaussian" ]
dd7572464d3118df207dabb6c7ff77e3c98dd664265ba527c951005c4cfe4fc8
# -*- coding: utf-8 -*- """ Unit tests for instructor.api methods. """ import datetime import functools import io import json import random import shutil import tempfile import ddt import pytest import six from boto.exception import BotoServerError from django.conf import settings from django.contrib.auth.models imp...
mitocw/edx-platform
lms/djangoapps/instructor/tests/test_api.py
Python
agpl-3.0
237,194
[ "VisIt" ]
1db81e91dbba445e7e26227d866b7868ca8c3d44df952b79ae81e03d1e589166
#!/usr/bin/env python import argparse import os import sqlite3 from Bio import SeqIO, SeqRecord, Seq from Bio.Align.Applications import ClustalwCommandline from Bio.Blast import NCBIXML from Bio.Blast.Applications import NcbiblastnCommandline as bn from Bio import AlignIO AT_DB_FILE = 'AT.db' BLAST_EXE = '~/opt/ncbi...
Serulab/Py4Bio
code/ch20/estimateintrons.py
Python
mit
4,302
[ "BLAST" ]
abcd497d5aa58559b7090c80df7e5a8f9cc9222aaad49d8ebd0ab9011b989a3b
# -*- 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 o...
googleapis/python-vision
scripts/fixup_vision_v1p4beta1_keywords.py
Python
apache-2.0
7,202
[ "VisIt" ]
dd2b6baf80ce2d55f9c58089db3fe46fd39125d501a4941112b44ba8f9623565
from math import radians, sin, cos from ase import Atom, Atoms from ase.neb import NEB from ase.constraints import FixAtoms from ase.calculators.nwchem import NWChem from ase.optimize import QuasiNewton, BFGS from ase.visualize import view # http://jcp.aip.org/resource/1/jcpsa6/v97/i10/p7507_s1 doo = 2.74 doht = 0.95...
suttond/MODOI
ase/test/nwchem/nwchem_h3o2m.py
Python
lgpl-3.0
1,993
[ "ASE", "NWChem" ]
c0295d171bf19632502592264550b09e14f7bd0b21548bcb3b4e53324de10f56
# Copyright (c) 2013-2015, Rethink Robotics # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, # this list of conditio...
UCRoboticsLab/BaxterTictactoe
src/baxter_interface/src/baxter_interface/robot_enable.py
Python
apache-2.0
8,357
[ "VisIt" ]
4b8e888a334c1639cf53d26196cfbb16e4e6a4454e862ea1d19a1fa7820dfcac
import numpy as np import netCDF4 as ncd FILL_VALUE = None def new(filename): ''' Return the netcdf4-python rootgroup for a new netcdf file for writing. ''' return ncd.Dataset(filename, 'w', clobber=False) def add_coordinates(nc, dict_of_dims): ''' Create dimensions in netcdf file nc. ...
ocefpaf/paegan
paegan/cdm/writer.py
Python
gpl-3.0
1,983
[ "NetCDF" ]
fd4cb87b62f5e31e98a00b073cdfd724db026b639fd377a18d6c3aff1b16d6cd
# -*- coding: utf-8 -*- # This file is part of Invenio. # Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 CERN. # # Invenio 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 versi...
zenodo/invenio
invenio/legacy/websearch/webcoll.py
Python
gpl-2.0
56,283
[ "VisIt" ]
780a557433535f9bae20d4e379566e75533f5bab2325019d071eecb04cdeccab
# coding: utf-8 from __future__ import unicode_literals, division """ This module implements basic kinds of jobs for VASP runs. """ import subprocess import os import shutil import math import logging import numpy as np from pymatgen.io.vasp import VaspInput, Incar, Poscar, Outcar, Kpoints from monty.os.path import...
davidwaroquiers/custodian
custodian/vasp/jobs.py
Python
mit
16,637
[ "VASP", "pymatgen" ]
075ab48e716c6f069f03c176556c4e92e4c239f58cfe9fdde6c93220906e0880
# Module for the BNL image processing project # Developed at the NSLS-II, Brookhaven National Laboratory # Developed by Gabriel Iltis, Sept. 2014 """ This module contains test functions for the file-IO functions for reading and writing data sets using the netCDF file format. The files read and written using this funct...
tacaswell/scikit-beam
skbeam/core/tests/test_arithmetic.py
Python
bsd-3-clause
3,860
[ "NetCDF" ]
dc71600a7642313bd7aef819ac413a8b6ce15272226494696632a0599ac92572
#!/usr/bin/env python import vtk from vtk.test import Testing from vtk.util.misc import vtkGetDataRoot VTK_DATA_ROOT = vtkGetDataRoot() import sys class TestClip(Testing.vtkTest): def testImage2DScalar(self): planes = ['XY', 'XZ', 'YZ'] expectedNCells = [38, 46, 42] expectedNClip...
hlzz/dotfiles
graphics/VTK-7.0.0/Filters/General/Testing/Python/tableBasedClip.py
Python
bsd-3-clause
6,954
[ "VTK" ]
2157a2d299d4dedeaaffcfee55eca55bd4e39a7dacce83d1bd88a17594585c7b
# Licensed under a 3-clause BSD style license - see LICENSE.rst import copy import time import math from collections import OrderedDict import warnings import numpy as np from scipy.interpolate import InterpolatedUnivariateSpline as Spline1d from .photdata import photometric_data, select_data from .utils import Resu...
dannygoldstein/sncosmo
sncosmo/fitting.py
Python
bsd-3-clause
48,630
[ "Gaussian" ]
d43a0dec42fa7da8882bedfcc5f45d855f31cfe06d6c89738842334c4e8e5e90
# pylint: disable=I0011, C0111, C0302, too-few-public-methods, no-self-use, too-many-public-methods, invalid-name, unused-argument from parsimonious_ext.expression_nodes import ALTERNATION, OPTIONAL, LITERAL, REGEX from parsimonious.nodes import NodeVisitor def camxes_node(node, visited_children, name=None): no...
teleological/camxes-py
transformers/camxes_json.py
Python
mit
60,298
[ "VisIt" ]
932242b339a6fa08adc7418de21678d0bfd05b93b3d78c7f6044552987559ab8
# -*- coding: utf-8 -*- """ End-to-end tests for the main LMS Dashboard (aka, Student Dashboard). """ import datetime from nose.plugins.attrib import attr from common.test.acceptance.tests.helpers import UniqueCourseTest, generate_course_key from common.test.acceptance.fixtures.course import CourseFixture from common....
louyihua/edx-platform
common/test/acceptance/tests/lms/test_lms_dashboard.py
Python
agpl-3.0
12,909
[ "VisIt" ]
c534f10ee92814a97169cf96320dd93cdad841015037f38dc33c77271dfba0cb
import openvoronoi as ovd import ovdvtk import time import vtk import datetime import math import random import os import sys import pickle import gzip import truetypetracer as ttt def drawCircle(myscreen, c, r, circlecolor): ca = ovdvtk.Circle(center=(c.x, c.y, 0), radius=r, color=circlecolor, resolution=50) ...
aewallin/openvoronoi
python_examples/ma-pocket/ma_pocket_03_ttt.py
Python
lgpl-2.1
7,514
[ "VTK" ]
a99223358c4d7042fdde428983a5d0d53c3b9186ffab69a664d95617ea7ec83c
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.conf import settings from django.conf.urls import include, url from django.conf.urls.static import static from django.contrib import admin from django.views.generic import TemplateView urlpatterns = [ url(r'^$', TemplateView.as_view(templ...
willingc/mydash
config/urls.py
Python
bsd-3-clause
1,228
[ "VisIt" ]
79c76e3d80840881dd15fc3f26e95389455a94aa0f841669a7d98b5b291ac1c4
""" bpz_tools.py: Contains useful functions for I/O and math. TO DO: Include higher order interpolations """ from __future__ import print_function from __future__ import division #from Numeric import * from builtins import map from builtins import str from builtins import input from builtins import range fro...
boada/planckClusters
MOSAICpipe/bpz-1.99.3/bpz_tools.py
Python
mit
56,945
[ "Galaxy" ]
717c54a3604fc2666daf7ea37211b5d96940bc3d3933c3368bdc765e6ac9c411
#!/usr/bin/env python # coding=UTF-8 from cgi import escape import errno import sys import os import re import random import datetime import itertools import time import traceback import dateutil.parser as dateparser from tempfile import NamedTemporaryFile from optparse import OptionParser from common import tidy_stri...
spudmind/parlparse
pyscraper/sp/parse-official-reports-new.py
Python
agpl-3.0
36,571
[ "Brian" ]
77f1e494a36df4af48bb6e43418819a29c8c2645554d302355ea824d2aa8d3e5
""" Test the Studio help links. """ from flaky import flaky from bok_choy.web_app_test import WebAppTest from unittest import skip from common.test.acceptance.fixtures.course import XBlockFixtureDesc from common.test.acceptance.tests.studio.base_studio_test import StudioCourseTest, ContainerBase from common.test.acce...
tanmaykm/edx-platform
common/test/acceptance/tests/studio/test_studio_help.py
Python
agpl-3.0
48,787
[ "VisIt" ]
2719a8b473752764e226d4eecd7948e9c21e5a1d914dac7ece314ed812c361e8
import requests from flask import redirect, url_for, request, g, Config from flask_oauthlib.client import OAuth from flask.ext.login import LoginManager, login_required, \ login_user, logout_user from matchmaker import app from models import User, BotIdentity # Wire everything up login_manager = LoginManager() l...
gnmerritt/casino
matchmaker/login.py
Python
mit
2,601
[ "CASINO" ]
1a896ec8cc2e78b30fc596da63ac3d062be46961bd750c1817310c48855185f0
""" An full-blown application demoing a domain-specific usecase with Mayavi: interactive design of coils. This is example of electromagnetic coils design, an application is built to enable a user to interactively position current loops while visualizing the resulting magnetic field. For this purpose, it is best to use...
dmsurti/mayavi
examples/mayavi/interactive/coil_design_application.py
Python
bsd-3-clause
10,851
[ "Mayavi", "VTK" ]
956343ba6fbad5d45c3f39c6f1cb8847dc9b9b658fe635419dbe8b85b83616ca
import numpy as np from openpnm.io import GenericIO from openpnm.utils import logging logger = logging.getLogger(__name__) class Salome(GenericIO): r""" Writes a Salome .py script to generate a geometry. The exported .py file should be loaded from Salome with "load script". Notes ----- Visit...
PMEAL/OpenPNM
openpnm/io/_salome.py
Python
mit
5,482
[ "VisIt" ]
e7a5b3a1035708a7afd3d2b0149d606b638266c3075d817ff1972a28e9e10b98
#!/usr/bin/env python """ This script is used to map fastq files to the genome. The input is a comma separated list of fastq[.gz] files (or two lists if the input is paired-end). The output are bam files with the mapped reads, a table containing the number of reads mapped to each gene and a wiggle file with the covera...
asafpr/RILseq
bin/map_single_fragments.py
Python
mit
6,490
[ "BWA", "pysam" ]
dc42f87982262eebe19882a343163f718ad879f42fe3e1fc3de1763883433db9
""" @name: PyHouse/src/Modules.Core.Utilities.uuid_tools.py @author: D. Brian Kimmel @contact: D.BrianKimmel@gmail.com @copyright: (c) 2015-2019 by D. Brian Kimmel @license: MIT License @note: Created on Jun 22, 2015 @Summary: """ __updated__ = '2019-10-24' # Import system type stuff import os impo...
DBrianKimmel/PyHouse
Project/src/Modules/Core/Utilities/uuid_tools.py
Python
mit
2,322
[ "Brian" ]
68c9ec324e3adbe077292a0e3b6837dc6ddfe562dff483adc012b3f71a8e346e
""" NH3 fitter wrapper ================== Wrapper to fit ammonia spectra. Generates a reasonable guess at the position and velocity using a gaussian fit Example use: .. code:: python import pyspeckit sp11 = pyspeckit.Spectrum('spec.nh3_11.dat', errorcol=999) sp22 = pyspeckit.Spectrum('spec.nh3_22.dat',...
bsipocz/pyspeckit
pyspeckit/wrappers/fitnh3.py
Python
mit
10,023
[ "Gaussian" ]
d8bb748c1e4ecf703af35e73b1bda9610e9e8f68f8c74e60c16bb92732dceac1
#!/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. # r"""Print the results of restriction enzyme...
Ambuj-UF/ConCat-1.0
src/Utils/Bio/Restriction/PrintFormat.py
Python
gpl-2.0
14,068
[ "Biopython" ]
dbd4dd5eba0419898cb313272404bd995f8986dc446f3ccbdb3d82053b1bbbbd
"""Module level filter.""" from DIRAC.FrameworkSystem.private.standardLogging.LogLevels import LogLevels DOT = "." LEVEL = "__level__" class ModuleFilter(object): """Filter module to set loglevel per module. :: Resources { LogBackends { <backend> { ...
DIRACGrid/DIRAC
src/DIRAC/Resources/LogFilters/ModuleFilter.py
Python
gpl-3.0
3,161
[ "DIRAC" ]
bc9ff1dc68c9872913ef1a5d9a39c181d192dd2d0a68c80a19865c754ae2cb7d
#!/usr/bin/env python # # Author: Qiming Sun <osirpt.sun@gmail.com> # ''' X2c method use the uncontracted large component basis to construct the X matrix. The basis for X matrix can have a big impact to the total energy. X2c treatment is not variational. The total energy often increases when the quality of large compo...
gkc1000/pyscf
examples/x2c/02-basis_for_x.py
Python
apache-2.0
1,764
[ "PySCF" ]
f1cba36965f70bfd81aa2c94a9dcb37637d7df62f810b62b3be35d6fc54dde8c
#!/usr/bin/env python # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Filename: pounce.py # # Authors: Brian Tomlinson <darthlukan@gmail.com> # # URL: git@github.com:darthlukan/pounce.git # # Description: A s...
darthlukan/pounce
pounce/pounce.py
Python
gpl-2.0
6,747
[ "Brian" ]
a392517a7e0c5a5155b02f1c6cc4f649782ed6704daee0477c616ef16e96c195
import unittest from eachday import db from eachday.models import User, Entry from eachday.tests.base import BaseTestCase from datetime import date, timedelta import json class TestEntryResource(BaseTestCase): def setUp(self): super(TestEntryResource, self).setUp() user = User( email...
bcongdon/EachDay
eachday/tests/test_entry_resource.py
Python
mit
12,599
[ "MOE" ]
b3437b738404208e4c33cfec345c773e7e97b72aafe21683581cdd638381f74b
# Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. import os import unittest from monty.serialization import loadfn from pymatgen.core.lattice import Lattice from pymatgen.core.structure import Structure from pymatgen.symmetry.analyzer import SpacegroupAnalyzer from pymatge...
vorwerkc/pymatgen
pymatgen/symmetry/tests/test_kpaths.py
Python
mit
2,580
[ "pymatgen" ]
07ab234615cd8133e9bf23213bf8bf82dcc40265a13927ab312c84f592212403
""" De Sitter spacetime dimension and curvature estimator """ # Copyright (C) 2016 by # James Clough <james.clough91@gmail.com> # All rights reserved. # BSD license. __author__ = "\n".join(["James Clough (james.clough91@gmail.com)"]) __all__ = ['de_sitter_param_estimate'] import math import networkx as ...
JamesClough/dagology
dagology/algorithms/de_sitter_dimension.py
Python
mit
4,691
[ "Gaussian" ]
9d4c0756eefa9a2199015f71d337725958a6bbf979c43a4079d4083545c36173
#!/usr/bin/python """ Copyright 2010 Paul Willworth <ioscode@gmail.com> This file is part of Galaxy Harvester. Galaxy Harvester is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of th...
clreinki/GalaxyHarvester
getResourceByName.py
Python
agpl-3.0
4,352
[ "Galaxy" ]
0074e18dac71834b7372d032abd96c7073183f14bbda075a87bbaae5ecf08242
from __future__ import division import tensorflow as tf import numpy as np from utils import * class EncDec: """ Encoder-Decoder Model (for single sequence future prediction problem) Encoder could be arbitrarily complex passes the final state through non-linearity to initlize decoder state...
wangkua1/sportvu
sportvu/model/encdec.py
Python
mit
13,370
[ "Gaussian" ]
6ad8f58c358f3f8d0ca14586a2fe59eaba1151e746e8d473a7202a7afe5bf5ac
# This script configurates BRCA-analyzer import argparse,os import subprocess as sp thisDir=os.path.dirname(os.path.realpath(__file__))+'/' par=argparse.ArgumentParser(description='This script configures BRCA-analyzer') par.add_argument('--bwa','-bwa',dest='bwaDir',type=str,help='destination of BWA. If it can be sta...
aakechin/BRCA-analyzer
install.py
Python
gpl-3.0
2,506
[ "BWA" ]
fe5ffa0369eda02d881fa5022f0e414a5441e2311981f6543d5c8ae6b9a092e3
# -*- coding: utf-8 -*- #!/usr/bin/env python # # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2000-2007 Donald N. Allingham # Copyright (C) 2007 Johan Gonqvist <johan.gronqvist@gmail.com> # Copyright (C) 2007-2009 Gary Burton <gary.burton@zen.co.uk> # Copyright (C) 2007-2009 Stephane Charet...
Nick-Hall/gramps
gramps/plugins/webreport/repository.py
Python
gpl-2.0
12,590
[ "Brian" ]
7173c4ee7dc276cc95fe7469a7202222538604f5e2b8e751b6aa55a6145fa6c5
import os def bluecfd(folder): """Environment variables fo blueCFD. The variables are based on setvars.bat file for blueCFD source. """ bluecfd_env_base = { 'AddOns_ParaView_DIR': os.path.join(folder, r'AddOns\ParaView'), 'BLUECFDPATH': folder, 'USER': 'ofuser', 'USERN...
ladybug-analysis-tools/butterfly
butterfly/runmanagerenv.py
Python
gpl-3.0
4,806
[ "ParaView" ]
d35e42b4d150a439fecf5b7de697da13b61a835555714ab3872782243b72c50c
import os from ase import Atom, Atoms from gpaw import GPAW from gpaw.test import equal from gpaw.wannier import Wannier import numpy as np # GPAW wannier example for ethylene corresponding to the ASE Wannier # tutorial. a = 6.0 # Size of unit cell (Angstrom) ethylene = Atoms([Atom('H', (-1.235,-0.936 , 0 )), ...
ajylee/gpaw-rtxs
gpaw/test/wannier_ethylene.py
Python
gpl-3.0
2,209
[ "ASE", "GPAW", "NetCDF" ]
bc90cde68b2bc637342a675c2962d50d8fc71827a8edf71b0f6892f8449added
# encoding: 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): # Deleting field 'EphysPropSummary.num_nemds' db.delete_column('neuroelectro_ephyspropsummary',...
lessc0de/neuroelectro_org
neuroelectro/south_migrations/0030_auto__del_field_ephyspropsummary_num_nemds__add_field_ephyspropsummary.py
Python
gpl-2.0
20,591
[ "NEURON" ]
069e781e5cb167a7ca56f3005663382b805ffaeeea57e94d308c8132021964ca
import os import csv import numpy as np from netCDF4 import Dataset import logging from datetime import datetime as dt from typing import Union from hyo2.abc.lib.ftp import Ftp from hyo2.soundspeed.atlas.abstract import AbstractAtlas from hyo2.soundspeed.profile.profile import Profile from hyo2.soundspeed.profile.pro...
hydroffice/hyo_soundspeed
hyo2/soundspeed/atlas/woa13.py
Python
lgpl-2.1
17,462
[ "NetCDF" ]
bdf7b8c0d192222e2a4f7fafd05879ef01ef35adcb453e0e0de4f9d334bbaa25
import warnings from chempy.units import allclose from ..water_permittivity_bradley_pitzer_1979 import water_permittivity from chempy.util.testing import requires from chempy.units import linspace, units_library, default_units as u def test_water_permittivity(): warnings.filterwarnings("error") abs(water_pe...
bjodah/aqchem
chempy/properties/tests/test_water_permittivity_bradley_pitzer_1979.py
Python
bsd-2-clause
946
[ "ChemPy" ]
d370e84a33a7fabdd11a4f0f8e8de29fdc4b9d28c5f24a9dfc3595696eb00ba2
import molgenis session = molgenis.Session("https://molgenis56.target.rug.nl/api/") dir(session) session.get("ASE") print(session.get("ASE", q=[{"field":"SNP_ID", "operator":"EQUALS", "value":"rs12460890"}])) samples = session.get("SampleAse", q=[{"field":"SNP_ID", "operator":"EQUALS", "value":"rs12460890"}]) print(sa...
joerivandervelde/molgenis
molgenis-python/src/test/python/tutorial.py
Python
lgpl-3.0
746
[ "ASE" ]
77f0d042ce1f80160e4582878a593cc3dc307f6df5f83229c90c7c4fc4f8d550
# OpenMM-based potential energy term. # It can be added to any other force field. from MMTK.ForceFields.ForceField import ForceField, EnergyTerm from MMTK import ParticleScalar, ParticleVector, SymmetricPairTensor import simtk.openmm import simtk.openmm.app as OpenMM_app import numpy as np try: from Scientific._ve...
CCBatIIT/AlGDock
AlGDock/ForceFields/OpenMM/OpenMM.py
Python
mit
4,918
[ "OpenMM" ]
59293c7d6f7f9b1aec5bf47d08ee5cdcdc03d9ed25b01042139d1d17abc234df
#!/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
setup.py
Python
apache-2.0
22,020
[ "Octopus", "PySCF" ]
ad3de5dc1bac10a561f52fdb3b97c79b69a958b321147780a7b7b5f19b6b90d3
#!/usr/bin/env python """NetCDF Metadata module Author: Alex Ip (alex.ip@ga.gov.au) Written: 5/7/2016 """ # TODO: Check potential issues with unicode vs str import logging import os import re import netCDF4 from shutil import copyfile from _metadata import Metadata logger = logging.getLogger('root.' + __name__) ...
alex-ip/geophys2netcdf
geophys2netcdf/metadata/_netcdf_metadata.py
Python
apache-2.0
3,838
[ "NetCDF" ]
68be231bdd68db46674baa69e74f46c3dd7e07950c90a46ac08d8dd71d3dab5f
############################################################################# # Code for managing and training a variational Iterative Refinement Model. # ############################################################################# # basic python import numpy as np import numpy.random as npr from collections import ...
Philip-Bachman/Sequential-Generation
TwoStageModel.py
Python
mit
34,991
[ "Gaussian" ]
15c8211f1fda5ea093f47a21b72c02e35c5f40884cc4b421bfae56a0bfb773d9
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Abinit Post Process Application author: Martin Alexandre last edited: May 2013 """ #!/usr/bin/python # -*- coding: utf-8 -*- import sys,os,re #gui import button as Button #Reading import reading.read as Read #Utility import utility.analysis as Analysis import utili...
jmbeuken/abinit
scripts/post_processing/appa/gui/elasticConstant.py
Python
gpl-3.0
10,744
[ "ABINIT" ]
f3304ad94f5269708ceddbc17871bf4f32517f7ae0f0e1b3b510568714008b51
# -*- coding: utf-8 -*- """ sphinx_pypi_upload ~~~~~~~~~~~~~~~~~~ setuptools command for uploading Sphinx documentation to PyPI :author: Jannis Leidel :contact: jannis@leidel.info :copyright: Copyright 2009, Jannis Leidel. :license: BSD, see LICENSE for details. """ import os import soc...
BrainIntensive/OnlineBrainIntensive
resources/HCP/pyxnat/sphinx_pypi_upload.py
Python
mit
4,934
[ "VisIt" ]
3c086478082cc85bef3da0ce10e0df9b55140e56eb20077d4765dcabe1ef6a17
#!/usr/bin/env python # -*- coding: utf-8 -*- """ @package pyssw @brief Python standalone program for ssw alignment using the C library Complete-Striped-Smith-Waterman-Library Biopython module is require for fastq/fastq parsing @copyright [The MIT licence](http://opensource.org/licenses/MIT) @author Adrien Leger ...
philres/nextgenmap-lr
lib/Complete-Striped-Smith-Waterman-Library/src/pyssw.py
Python
gpl-3.0
10,946
[ "Biopython" ]
037044eb71214224101d5cb62325f78c8a6a686d84c12f6ceb7298aa9e38734d
""" @name: PyHouse/src/Modules/Computer/Internet/_test/test_inet_find_external_ip.py @author: D. Brian Kimmel @contact: D.BrianKimmel@gmail.com> @copyright: (c) 2014-2017 by D. Brian Kimmel @license: MIT License @note: Created on Jun 27, 2014 @Summary: Test finding an external IP address. Passed all...
DBrianKimmel/PyHouse
Project/src/Modules/Computer/Internet/_test/test_inet_find_external_ip.py
Python
mit
1,767
[ "Brian" ]
8a1ad272a36ccf214224771a2a6e4253aaa36bcff6c0a96213686b31b0216c23
# Copyright (c) 2011, Jimmy Cao All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # Redistributions of source code must retain the above copyright notice, this # list of conditions and the following...
billion57/lykos
src/wolfgame.py
Python
bsd-2-clause
375,835
[ "VisIt", "exciting" ]
0bfddbe571ab08c07ecf9612202239c76a08611bcd516bec4b86768895da9636
# Copyright 2001-2004 Brad Chapman. # Revisions copyright 2009-2013 by Peter Cock. # Copyright 2009 by Cymon J. Cox. All rights reserved. # This code is part of the Biopython distribution and governed by its # license. Please see the LICENSE file that should have been included # as part of this package. # ...
mengqvist/DNApy
src/external/muscle_wrapper.py
Python
gpl-3.0
63,005
[ "BLAST", "Biopython" ]
9e513a665cbf972135668d273c7b57018a07eb044fa982da541cab229eb1b9bf
""" .. See the NOTICE file distributed with this work for additional information regarding copyright ownership. 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....
Multiscale-Genomics/mg-process-fastq
tests/test_bwa_aligner.py
Python
apache-2.0
15,932
[ "BWA" ]
46d48334d13aba0278c249fa278f0e859d8cc61bd51c9cb0241a6750433ee948
from random import random from lmfit.lineshapes import gaussian import numpy as np def format_num(x, max_len=10, pre=5, post=5): if x > 10**pre or x < 10^-post: x = '%.{}e'.format(post) % x else: x = '%{}.{}f'.format(pre, post) % x return x dataset = [gaussian(i) for i in np.linspace(-1...
sameera2004/bluesky
examples/number_formatter.py
Python
bsd-3-clause
376
[ "Gaussian" ]
eaf983cdee5ceb06ee064f6c97c454ae571ab80f5030fe2eedcd0e810e168540
''' Some drivers for ASE (atomic simulation environment) tools. Some useful ASE routines: - Atoms.get_all_distances(mic=True): Get distance table, respecting periodic boundary conditions. ''' import ase import numpy as np def ase_from_crystal(crystaloutfn): ''' Create an ASE Atoms object by reading structure f...
bbusemeyer/mython
busempyer/ase_tools.py
Python
gpl-2.0
2,353
[ "ASE", "CRYSTAL" ]
528360a3d5c438e8f02d6cb0200d6d6ae30bd83385305b44e784a756ca976be8
#! /usr/bin/env python """ Module with detection algorithms. """ __author__ = 'Carlos Alberto Gomez Gonzalez, Valentin Christiaens' __all__ = ['detection', 'mask_source_centers', 'mask_sources', 'peak_coordinates'] import numpy as np import pandas as pn from hciplot import plot_frame...
carlgogo/vip_exoplanets
vip_hci/metrics/detection.py
Python
bsd-3-clause
22,340
[ "Gaussian" ]
61d192c1f53622720612cfd832ceef4e40f5dc692ccb967fc3e7cb3001564cb7
#!/usr/bin/env python # ---------------------------------------------------------------------------- # Copyright (c) 2013--, scikit-bio development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. # ---------------------...
JWDebelius/scikit-bio
skbio/tree/tests/test_tree.py
Python
bsd-3-clause
48,779
[ "scikit-bio" ]
a8601b380e684bfab5630c41fb40495e61d1c231f6b1894c491f5573bc40f0b9
# freeseer - vga/presentation capture software # # Copyright (C) 2011, 2013 Free and Open Source Software Learning Centre # http://fosslc.org # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundati...
Freeseer/freeseer
src/freeseer/plugins/output/rtmp_streaming/__init__.py
Python
gpl-3.0
31,198
[ "VisIt" ]
7340015fe17b2911ff40d3e3c4a187949612bcd6ce1b3ee339462d9f599029be
#!/usr/bin/env python import sys import subprocess from math import floor, ceil, log10 import numpy try: from pyx import * except: pass from ..hic import HiC from ..plotting import plot_compact_array, plot_upper_array, plot_diagonal_from_compact_array from ..plotting import plot_full_array, plot_diagonal_fro...
bxlab/hifive
hifive/commands/get_hic_interval.py
Python
mit
16,859
[ "Galaxy" ]
63d673a413c4b2dd8181e955be9cdf10378c852010b108c56aaa58ab86ec172e
############################################################################## # MDTraj: A Python Library for Loading, Saving, and Manipulating # Molecular Dynamics Trajectories. # Copyright 2012-2013 Stanford University and the Authors # # Authors: Robert McGibbon # Contributors: # # MDTraj is free software: y...
casawa/mdtraj
mdtraj/utils/validation.py
Python
lgpl-2.1
8,147
[ "MDTraj" ]
18a226b4c84ebe38b2e2d05b15fc82617a755b2072b1662ca7a119efae2ef6ea
""" """ import warnings import os import sys import posixpath import fnmatch import py # Moved from local.py. iswin32 = sys.platform == "win32" or (getattr(os, '_name', False) == 'nt') try: # FileNotFoundError might happen in py34, and is not available with py27. import_errors = (ImportError, FileNotFoundErro...
pytest-dev/py
py/_path/common.py
Python
mit
14,818
[ "VisIt" ]
102d7c3e5eb360618ccc790380635b2c2d96db76a3b43c073093a6de334c74e0
#!/usr/bin/python # # @author: Gaurav Rastogi (grastogi@avinetworks.com) # Eric Anderson (eanderson@avinetworks.com) # module_check: supported # Avi Version: 17.1.1 # # Copyright: (c) 2017 Gaurav Rastogi, <grastogi@avinetworks.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses...
hryamzik/ansible
lib/ansible/modules/network/avi/avi_applicationpersistenceprofile.py
Python
gpl-3.0
6,700
[ "VisIt" ]
820e3c0ae0b48a2a7fc7430ddb2fba4132a6dce9cca29e50f47036ca192c2d74
""" Python wrapper for Google web APIs This module allows you to access Google's web APIs through SOAP, to do things like search Google and get the results programmatically. Described U{here <http://www.google.com/apis/>} You need a Google-provided license key to use these services. Follow the link above to...
gdestuynder/Stupid-python-bot
modules/google.py
Python
gpl-3.0
21,716
[ "Brian", "VisIt" ]
ad507c2d9b7c837e37981a149352af0f33b4b49c22a6261f0973cc6eea818161
# Orca # # Copyright 2010 Informal Informatica LTDA. # Author: Jose Vilmar <vilmar@informal.com.br> # # 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, ...
Alberto-Beralix/Beralix
i386-squashfs-root/usr/share/pyshared/orca/notification_messages.py
Python
gpl-3.0
8,333
[ "ORCA" ]
4f48fbb6a934287ebaea76794ed8de57aa68d8baef19f9485f8994faad5a362b
# This file is part of Merlin/Arthur. # Merlin/Arthur is the Copyright (C)2009,2010 of Elliot Rosemarine. # Individual portions may be copyright by individual contributors, and # are included in this collective work with permission of the copyright # owners. # This program is free software; you can redistribute it an...
ellonweb/merlin
Arthur/views/search.py
Python
gpl-2.0
13,585
[ "Galaxy" ]
5c336ad1a77be33c73929c76c665cb545b8c1cc6e2a31e895954b76c15b66286
""" This module contain solvers for all kinds of equations: - algebraic or transcendental, use solve() - recurrence, use rsolve() - differential, use dsolve() - nonlinear (numerically), use nsolve() (you will need a good starting point) """ from __future__ import print_function, division f...
sunny94/temp
sympy/solvers/solvers.py
Python
bsd-3-clause
105,817
[ "Gaussian" ]
9c481625e608326e52208b9002d0b6686f6a57dc8069f5117a6666090200ca66
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('visit', '0050_auto_20150810_2027'), ] operations = [ migrations.AlterField( model_name='staff', name...
koebbe/homeworks
visit/migrations/0051_auto_20150810_2033.py
Python
mit
591
[ "VisIt" ]
c2833cd21da0a3c7393e3cb44dd3f2fa7676d95a9c0d09b1c3a15cfad35eb565
""" This is only meant to add docs to objects defined in C-extension modules. The purpose is to allow easier editing of the docstrings without requiring a re-compile. NOTE: Many of the methods of ndarray have corresponding functions. If you update these docstrings, please keep also the ones in core/fromnum...
mbayon/TFG-MachineLearning
venv/lib/python3.6/site-packages/numpy/add_newdocs.py
Python
mit
228,205
[ "Brian" ]
f0f89f56535d7a40ceea457786f8e6d846d14e9f5cb1baa9be4afadc5f3cf4e1
""" Data for Gaussian basis """ _SZ = { "H": 1, "He": 1, "Li": 5, "Be": 5, "B": 5, "C": 5, "N": 5, "O": 5, "F": 5, "Ne": 5, "Na": 9, "Mg": 9, "Al": 9, "Si": 9, "P": 9, "S": 9, "Cl": 9, "Ar": 9 } _DZ = { "H": 2, "He": 2, "Li": 9, "Be": 9, "B": 9, "C": 9, "N": 9, "O": 9, "F": 9, "Ne": 9, "Na": ...
hongzhouye/frankenstein
data/basis_data.py
Python
bsd-3-clause
2,794
[ "Gaussian" ]
e3c31176104b907d009129c7c5268466d16f27ac149864467171417d75e5d402
# -*- coding: utf-8 -*- # <nbformat>3.0</nbformat> from __future__ import absolute_import import sys, os, glob from datetime import datetime, timedelta import subprocess from lmatools.flashsort.gen_autorun import logger_setup, sort_files from lmatools.flashsort.gen_sklearn import DBSCANFlashSorter from lmatools.grid...
deeplycloudy/lmatools
lmatools/test/test_gen_autorun_DBSCAN.py
Python
bsd-2-clause
6,819
[ "NetCDF" ]
f3fc59f29770b1585a5757aa8985f6e394660469640d12252ef9a141728e7072
from datetime import datetime, timedelta from uuid import uuid4 import misaka from django.conf import settings from django.db import models from django.utils.translation import ugettext_lazy as _ from django.contrib.auth.models import User from django.core.urlresolvers import reverse DOMAIN = getattr(settings, 'DOM...
honza/wishlist-app
web/models.py
Python
bsd-2-clause
5,150
[ "VisIt" ]
4293153c7e0b8ded8091023a6adf5419052f857eb4e5ab9a7b43ac0b7ea1f627
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
chetan51/nupic
nupic/research/distributions.py
Python
gpl-3.0
5,926
[ "Gaussian" ]
776ea47c4de3831abbba811a676ebc8e3c95b2298f4e7153e2bc75a0f362fab6
# -*- coding: utf-8 -*- # Copyright(C) 2008-2010 Romain Bignon # # 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, version 3 of the License. # # This program is distributed in the hope that it w...
jocelynj/weboob
weboob/backends/aum/pages/profile.py
Python
gpl-3.0
18,887
[ "exciting" ]
b88e6a236183d3949b6ee4002d0bdc9fcd51ca3c8451358f57a7a258e0b0be21
#!/usr/bin/env python # # $File: locateFamilies.py $ # # This file is part of simuPOP, a forward-time population genetics # simulation environment. Please visit http://simupop.sourceforge.net # for details. # # Copyright (C) 2004 - 2010 Bo Peng (bpeng@mdanderson.org) # # This program is free software: you can redistri...
BoPeng/simuPOP
docs/locateFamilies.py
Python
gpl-2.0
2,058
[ "VisIt" ]
e8e24d33ec0734313666dc5e79c4287ecb981aadb04097f476cbede17266ad33
''' Created on 2012-09-29 A simple script that reads a WRF netcdf-4 file and displays a 2D field in a proper geographic projection; primary application is plotting the domain with topography. @author: Andre R. Erler ''' ## includes # matplotlib config: size etc. import numpy as np import matplotlib.pylab as pyl impo...
aerler/WRF-Projects
src/archive/plotOuterDomain.py
Python
gpl-3.0
4,956
[ "NetCDF" ]
0f673f76ed31cef46cd9a4830da4c828d792283404c4c82bf63d5642a3efb8fc
# This test requires Numpy. import sys import vtk from vtk.test import Testing try: import numpy as np except ImportError: print "WARNING: This test requires Numeric Python: http://numpy.sf.net" sys.exit(0) def GenerateCell(cellType, points): cell = vtk.vtkUnstructuredGrid() pts = vtk.vtkPoints() ...
berendkleinhaneveld/VTK
Filters/Core/Testing/Python/TestContourCases.py
Python
bsd-3-clause
4,312
[ "VTK" ]
53f6c6aa4f279455c645c9502f297444b970e1258ee3247f2855edf2628e420c
""" Basic functions for interacting with CS objects """ import os import DIRAC from DIRAC.Core.Utilities.ReturnValues import S_OK, S_ERROR from DIRAC.Core.Utilities import List from DIRAC.ConfigurationSystem.Client.Helpers.Path import cfgPath from DIRAC.ConfigurationSystem.Client.ConfigurationData import gConfigurat...
andresailer/DIRAC
ConfigurationSystem/private/ConfigurationClient.py
Python
gpl-3.0
7,755
[ "DIRAC" ]
d1306e8a8ee4678f9dc3f9b760205e8a01b0be0e82451cb06a3acf5a9051b48f
# -*- coding: utf-8 -*- { "'Cancel' will indicate an asset log entry did not occur": "' 취소 ' 자산 로그 항목을 표시합니다 발생하지 않았습니다.", "A location that specifies the geographic area for this region. This can be a location from the location hierarchy, or a 'group location', or a location that has a boundary for the area.": "위치 이...
schlos/eden
languages/ko.py
Python
mit
244,170
[ "VisIt" ]
05cfc5235ad88fdce9e16ab73281a979b1e04e0304434f0f5def28076ace14c1