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 time from itertools import product import emcee import matplotlib.patches as mpatches from pymultinest.solve import solve from scipy.cluster.vq import whiten, kmeans2 from scipy.optimize import leastsq, minimize from tqdm.auto import tqdm from dwelf import MPLSTYLE from dwelf.priors import * from dwelf.utils i...
dioph/dwelf
dwelf/model.py
Python
mit
28,643
[ "DIRAC" ]
d978ce90d49228e6dd78265ba1975298a126111db97597fb3b818f7e2f0df852
# Copyright (C) 2013, Thomas Leonard # See the README file for details, or visit http://0install.net. from __future__ import print_function import os, subprocess, sys from os.path import join, dirname, relpath, basename, abspath from xml.dom import minidom, Node import base64 from collections import namedtuple from ...
pombredanne/0repo
repo/build.py
Python
lgpl-2.1
5,915
[ "VisIt" ]
8e12f1230b9be5229064fbdfbd82b58001a846c9d2d979e4e0d2e158b4d4f972
# -*- Mode: python; tab-width: 4; indent-tabs-mode:nil; coding: utf-8 -*- # vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 """ Module: FreeVolume ================== """ from __future__ import print_function import numpy as np from scipy.spatial import cKDTree from MDAnalysis.core.groups import Atom, AtomGroup,...
balazsfabian/pytim
pytim/observables/free_volume.py
Python
gpl-3.0
5,361
[ "MDAnalysis" ]
cd6371622b65f4908d6fa68146e04c1c7a315ab75434beb1ba855727d507fef1
#!/usr/bin/env python3 # @property class C: def __init__(self): self._x = None @property def x(self): """ Get x value""" print('Get x value') return self._x @x.setter def x(self, new_value): """Set the x value""" print('Set x value') self....
jingwangian/tutorial
python/class/class_one.py
Python
gpl-3.0
982
[ "VisIt" ]
bc8e7fbd7a01de6d8908af93e1c3adfeacd39fb5079e0c07c47a5c3fe38f4a7b
# 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 (t...
apache/incubator-allura
Allura/allura/command/create_trove_categories.py
Python
apache-2.0
136,967
[ "CRYSTAL" ]
4581985540b62d7165e20fea7a6d992aab706d87ee18d213e0f70e371f1385c5
"""A setuptools based setup module. See: https://packaging.python.org/en/latest/distributing.html https://github.com/pypa/sampleproject """ # Always prefer setuptools over distutils from setuptools import setup, find_packages # To use a consistent encoding from codecs import open from os import path here = path.abspa...
BreizhGeek/wavedrompy
setup.py
Python
mit
6,921
[ "VisIt" ]
f8a3d6aa6946e33acc9bdea7d18c58e71df59a1650143639a998ebbc1d32fe83
from __future__ import division, print_function import numpy as np, scipy.ndimage, sys, fabio from ImageD11 import cImageD11, labelimage def gauss_1d( N, center, fwhm ): """ Normalised 1D gaussian peak """ sigma = fwhm / 2.35482 dx = (np.arange(0, N, 1, dtype=np.float32 ) - center)/sigma f = n...
jonwright/ImageD11
sandbox/sharpen_search.py
Python
gpl-2.0
4,894
[ "Gaussian" ]
be6ff0f1e5a943cf4a5702ff870fb97aec71de74c3351bdf2ad4d54b1961d1dc
############################################################################## # Copyright (c) 2013-2018, Lawrence Livermore National Security, LLC. # Produced at the Lawrence Livermore National Laboratory. # # This file is part of Spack. # Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. # LLNL-CODE-64...
mfherbst/spack
var/spack/repos/builtin/packages/r-annotationforge/package.py
Python
lgpl-2.1
2,123
[ "Bioconductor" ]
953a9b46d7c440c53d411287bcd95f53b40b7275de69d28d343bcedc2b962165
# -*- coding: utf-8 -*- from flask import request, jsonify, g, url_for, Blueprint, render_template, redirect, flash from flask.ext.login import login_required, current_user from project.application.entities import db, auth from project.application.entities.lessons.forms import CreateLessonForm, UpdateLessonForm, Visit...
Warprobot/diplom
project/application/entities/lessons/views.py
Python
cc0-1.0
7,434
[ "VisIt" ]
940d2888480bc810e7f7cc50accbf523f2f9a61ed788147534e2b80818d020f0
import parmed.unit as units from intermol.decorators import accepts_compatible_units from intermol.forces.abstract_angle_type import AbstractAngleType class CosineAngleType(AbstractAngleType): __slots__ = ['k', 'c'] @accepts_compatible_units(None, None, None, k=units.kilojoule...
shirtsgroup/InterMol
intermol/forces/cosine_angle_type.py
Python
mit
1,110
[ "LAMMPS" ]
c7b3fa67bbbbf31c1c2499308de54456a637197b340541d842b8483a397333c9
## Copyright (c) 2001-2009, Scott D. Peckham ## January 2009 (converted from IDL) ## September, October, November 2009 #----------------------------------------------------------------------- # # unit_test() # # class erosion_component # __init__() #----------------------------- # initialize(...
csdms-contrib/erode
erosion_base.py
Python
apache-2.0
76,564
[ "Gaussian" ]
060c27e629e7f94c96c6db43106d7d326f4a3eb47d1d0d82180d962d2c931a59
import warnings import joblib import numpy as np import pandas as pd import pymc3 as pm import pymc3.stats import pymc3.model import theano.tensor as tt import tqdm from .hotdists import * def _log_like_trace(trace, model, progressbar=False): """Calculate the elementwise log-likelihood for the sampled trace. ...
justinbois/bebi103_utils
bebi103/deprecated/pm.py
Python
mit
21,252
[ "Gaussian" ]
4b24f39b0f1158338c23493cd6b39e19b20c2dff775b9c439e509011f2a3d521
#!/usr/bin/env python ############################################################################### ############################################################################### ## Created on February 1st 2017 to remove singletons from paired-end BAM file ###########################################################...
ewels/NGI-ChIPseq
bin/bampe_rm_orphan.py
Python
mit
5,807
[ "pysam" ]
55a02dd9f9fb99ef228cba0f325455742cc6edf0265427ee9bd1dadaafd291ae
#!/usr/bin/env python3 import os import pickle import numpy as np import gzip import random from collections import defaultdict,OrderedDict from pysam import VariantFile from .Tools import log from .Variant import Variant from .Allele import Allele import pandas as pd class VCFHeader(OrderedDict): def __init__...
schae234/PonyTools
ponytools/VCF.py
Python
mit
15,893
[ "pysam" ]
29f5b7182c8a396854ab87ce4848c15907d5ec865b5d022da4704ff50b1009bc
#!/usr/bin/env python __author__ = 'Brian McKenna <bmckenna@asascience.com>' import json import os import tempfile import time import numpy as np from nose.plugins.attrib import attr from webtest import TestApp from gevent.event import Event from interface.services.coi.iservice_gateway_service import ServiceGatewaySe...
ooici/coi-services
ion/services/dm/test/test_uploads.py
Python
bsd-2-clause
22,188
[ "Brian", "NetCDF" ]
7d57fb61a2dd20f775378255ed1906df8c44dd147346e6f2256f73ff23e59c03
############################################################################## # Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC. # Produced at the Lawrence Livermore National Laboratory. # # This file is part of Spack. # Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. # LLNL-CODE-64...
skosukhin/spack
var/spack/repos/builtin/packages/moab/package.py
Python
lgpl-2.1
7,858
[ "NetCDF", "VTK" ]
9fd06fad35fdcb9aa70dda4cb706a89d1e6652449fde12b4ad88962d94ef67ff
# coding: utf-8 from __future__ import unicode_literals, division import glob import logging import shlex import socket import re import time from pkg_resources import parse_version """ This module implements basic kinds of jobs for QChem runs. """ import os import shutil import copy import subprocess from pymatgen...
xhqu1981/custodian
custodian/qchem/jobs.py
Python
mit
17,756
[ "pymatgen" ]
31fc87b1c3536f28772174b36d8386cc6de623112335e719ce4e78a971652201
# # Tree data structures # # Contains special features for representing phylogeny. # See compbio.phylo for more. # # # python libs import copy import sys import StringIO # rasmus libs try: from rasmus import util util except ImportError: import util try: from rasmus import textdraw except ImportError...
abhishekgahlot/compbio
rasmus/treelib.py
Python
mit
67,611
[ "VisIt" ]
6614cf507ffaa661924ef93ef10b9ca497f7a13ae4acc001c0a329eced635b9d
__author__ = 'tylin' __version__ = '2.0' # Interface for accessing the Microsoft COCO dataset. # Microsoft COCO is a large image dataset designed for object detection, # segmentation, and caption generation. pycocotools is a Python API that # assists in loading, parsing and visualizing the annotations in COCO. # Pleas...
plaidml/plaidml
mlperf/pycoco.py
Python
apache-2.0
18,967
[ "VisIt" ]
3f4bfb628fa971b9d95e7bd68f70bb2198d9568e8006b28a7d26d7589e5323f5
# Natural Language Toolkit: Corpus Reader Utilities # # Copyright (C) 2001-2013 NLTK Project # Author: Steven Bird <stevenbird1@gmail.com> # Edward Loper <edloper@gmail.com> # URL: <http://nltk.org/> # For license information, see LICENSE.TXT import os import bisect import re import tempfile from functools imp...
TeamSPoon/logicmoo_workspace
packs_sys/logicmoo_nlu/ext/pldata/nltk_3.0a3/nltk/corpus/reader/util.py
Python
mit
30,711
[ "VisIt" ]
e3fb6986d6953cbdb9d91612762540876d979013c7c33ed53059a07046d7497c
import wandb from wandb import data_types from wandb.sdk.data_types.base_types.media import _numpy_arrays_to_lists import numpy as np import pytest import PIL import os import six import sys import glob import platform from click.testing import CliRunner from . import utils from .utils import dummy_data import matplotl...
wandb/client
tests/test_data_types.py
Python
mit
37,169
[ "RDKit" ]
329c41714b849138f7da70880289a4cbb60adf88d542879c261441f509e0aae0
from setuptools import setup setup(description = 'Pileup', author = 'B. Arman Aksoy', url = 'https://github.com/armish/pileup', download_url = 'https://github.com/armish/pileup/releases', author_email = 'arman@aksoy.org', license = 'http://www.apache.org/licenses/LICENSE-2.0.html', ...
armish/pileup
setup.py
Python
apache-2.0
614
[ "pysam" ]
67949f837cb3bd78b142053382bb34fecefbcd38f02e84439a8db95fe8c54d10
from __future__ import print_function import sys import os from builtins import range sys.path.insert(1, "../../../") import h2o from tests import pyunit_utils from h2o.estimators.deeplearning import H2ODeepLearningEstimator class Test_PUBDEV_2980_deeplearning: """ PUBDEV-2980: deeplearning return the fiel...
mathemage/h2o-3
h2o-py/dynamic_tests/testdir_algos/deeplearning/pyunit_PUBDEV_2980_deeplearning_badfields_NOPASS.py
Python
apache-2.0
4,755
[ "Gaussian" ]
e661136f05b4268137b82d35618d708a75d71d7d9ee10491e2c145573fd06b95
# -*- coding: utf-8 -*- """ ============================== 1D Wasserstein barycenter demo ============================== This example illustrates the computation of regularized Wassersyein Barycenter as proposed in [3]. [3] Benamou, J. D., Carlier, G., Cuturi, M., Nenna, L., & Peyré, G. (2015). Iterative Bregman pro...
aje/POT
examples/plot_barycenter_1D.py
Python
mit
3,366
[ "Gaussian" ]
5f8396f1113c15d8f1268206436de967f5b02b402b38647094b2d16b51b88057
"""This module adds support to easily import and export NumPy (http://numpy.scipy.org) arrays into/out of VTK arrays. The code is loosely based on TVTK (https://svn.enthought.com/enthought/wiki/TVTK). This code depends on an addition to the VTK data arrays made by Berk Geveci to make it support Python's buffer protoc...
Wuteyan/VTK
Wrapping/Python/vtk/util/numpy_support.py
Python
bsd-3-clause
7,821
[ "VTK" ]
f996d73679c1ce6cf63ba5e1077fb765768c2077ce536070ea260a526795a5ad
""" Not actually tests, but benchmarks. """ from __future__ import print_function from PyOpenWorm.neuron import Neuron from PyOpenWorm.connection import Connection from PyOpenWorm import connect, disconnect def setup(): connect(configFile='tests/data_integrity_test.conf') def teardown(): disconnect() def ...
gsarma/PyOpenWorm
tests/ProfileTest.py
Python
mit
920
[ "NEURON" ]
f208c9d85f0b4f6596293f858e419bdcea22380c4d3feef35a68d135e7829455
import json from django.test import TestCase, RequestFactory from django.contrib.auth.models import AnonymousUser, User from django.contrib.contenttypes.models import ContentType from ..models import Like from ..views import like_toggle class LikeToggleTestCase(TestCase): def setUp(self): self.factory...
rizumu/pinax-likes
phileo/tests/test_views.py
Python
mit
4,608
[ "Brian" ]
d0c75c83b88034179d499addcc95d63841d260ce742a45504ead2012cd356adc
# 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
smug_saliency/utils.py
Python
apache-2.0
39,556
[ "NEURON" ]
2b15c91a113d2fb1eeb106094dbc60c0f72d4d33c47a74cc791480fe3223e3e7
#!python # -*- Python -*- # Copyright 2014-2015 Brian Olson # # 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 applicabl...
RobotWebTools/rosbridge_suite
rosbridge_library/src/rosbridge_library/util/cbor.py
Python
bsd-3-clause
13,915
[ "Brian" ]
c7c355b3793fe133d951e353d0240f8a97a808c30e24db62c8547ad2535d7ca6
import os import re from setuptools import find_packages, setup this_dir = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(this_dir, "README.md"), encoding="utf-8") as f: long_description = f.read() with open("megnet/__init__.py", encoding="utf-8") as fd: try: lines = "" f...
materialsvirtuallab/megnet
setup.py
Python
bsd-3-clause
2,200
[ "RDKit", "pymatgen" ]
d5a995f2210131852efaa4383a5f820ffc23f2166c6157473ce51461f6a5b570
# 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...
ghchinoy/tensorflow
tensorflow/contrib/learn/python/learn/estimators/__init__.py
Python
apache-2.0
12,738
[ "Gaussian" ]
1814a982d15fa201a6d7ab25d4e30a6f364739546b8acd2ca61b3523dc04f425
import numpy as np class RadialBasisFunctionNeurons(object): """ Abstract class for defining radial basis function neurons that populate the hidden layer of a radial basis function network. """ def __init__(self): # Intermediate values used during training self.c = None def ge...
bgalbraith/pyrbfn
pyrbfn.py
Python
apache-2.0
6,599
[ "Gaussian" ]
52d28ae8a48d59e18175ae3dcdccaf73af561ff01ba6e468fabf1bffc46c39a7
#!/usr/bin/env python import os import re import urllib import csv import datetime from string import Template from optparse import OptionParser username = 'xclaesse' upload_server = 'master.gnome.org' template = '''\ $name $version is now available for download from: $download $md5sums What is it? =========== $abo...
matrixise/empathy-with-import-gajim-account
release.py
Python
gpl-2.0
8,349
[ "VisIt" ]
fcbe1bb0c23b0adccaa8adc9d43fc5fdafe138f0765962d877250e4de6881fcc
""" Models for the shopping cart and assorted purchase types """ from collections import namedtuple from datetime import datetime from decimal import Decimal import pytz import logging import smtplib from boto.exception import BotoServerError # this is a super-class of SESError and catches connection errors from dja...
LearnEra/LearnEraPlaftform
lms/djangoapps/shoppingcart/models.py
Python
agpl-3.0
38,046
[ "VisIt" ]
04a66d6c05a5771e8140ba78fe16944f82ab02b55772260173e3ff795134277c
# EmphysemaViewerFrame by Corine Slagboom & Noeska Smit # Description # # Based on SkeletonAUIViewerFrame: # Copyright (c) Charl P. Botha, TU Delft. # All rights reserved. # See COPYRIGHT for details. import cStringIO from vtk.wx.wxVTKRenderWindowInteractor import wxVTKRenderWindowInteractor import wx # wxPython 2.8....
chrisidefix/devide
modules/user/EmphysemaViewer/EmphysemaViewerFrame.py
Python
bsd-3-clause
9,579
[ "VTK" ]
4b8629b7e421c5eee51fa891c3c25ef730838c86377738337bfa2fec86aa7a05
""" Module containing NetCDF file reading functions """ from cis.exceptions import InvalidVariableError from cis.utils import listify import logging def get_netcdf_file_attributes(filename): """ Get all the global attributes from a NetCDF file :param filename: The filename of the file to get the variables...
zak-k/cis
cis/data_io/netcdf.py
Python
gpl-3.0
11,992
[ "NetCDF" ]
81207fba26a3d8d4aa6a7769d51b7c8b987721820c8545179085fbfcf1702404
# -*- coding: utf-8 -*- ## ## ftp_ecmwf_download.py ## spt_compute ## ## Created by Alan D. Snow. ## Copyright © 2015-2016 Alan D Snow. All rights reserved. ## License: BSD-3 Clause import datetime from glob import glob import os from shutil import rmtree #local imports from .extractnested import ...
erdc-cm/spt_ecmwf_autorapid_process
spt_compute/imports/ftp_ecmwf_download.py
Python
bsd-3-clause
7,005
[ "NetCDF" ]
9e446e312980d8566824278f409cc277e81e794449581b24fb1f84dfaa408318
import unittest, json, os import numpy as np from pymatgen import Structure, Element from copy import deepcopy from veidt.elsie.spectra_similarity import * from pymatgen.analysis.xas.spectrum import XANES Al2O3_cif = os.path.join(os.path.dirname(__file__), 'alpha_Al2O3.cif') LiCoO2_cif = os.path.join(os.path.dirname(_...
czhengsci/veidt
veidt/elsie/tests/test_spectra_similarity.py
Python
bsd-3-clause
11,718
[ "pymatgen" ]
4f32da2e955f3a432a2d4416a2107ccd9345f313a37104392ab8fa5226d83b35
try: from setuptools import setup, Command except: from distutils.core import setup, Command import sys import os import glob import shutil import importlib bioservices_cache_linux = ".cache/bioservices/" bioservices_cache_darwin = "Library/Caches/bioservices/" bioservices_cache_win = "AppData/Lo...
daniaki/pyPPI
setup.py
Python
mit
4,189
[ "Biopython" ]
2a66cea9714ddb29218f7b80e704c39ee10bced7158e40ce71dc8b667d307d44
# this program corresponds to special.py ### Means test is not done yet # E Means test is giving error (E) # F Means test is failing (F) # EF Means test is giving error and Failing #! Means test is segfaulting # 8 Means test runs forever ### test_besselpoly ### test_mathieu_a ### test_mathieu_even_coef ##...
aarchiba/scipy
scipy/special/tests/test_basic.py
Python
bsd-3-clause
135,074
[ "Elk" ]
fce42191c9330fc52d3338bbcd9be3c8cdb631aed9d8611287759f3bd0163dd8
# 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...
npuichigo/ttsflow
third_party/tensorflow/tensorflow/contrib/learn/python/learn/estimators/__init__.py
Python
apache-2.0
12,396
[ "Gaussian" ]
ab09043b9824df738f9e81c16d0ec23d0fa42abce46af6cfedaae0e25097a542
#!/usr/bin/env python # -*- coding: utf-8 -*- """ easyguimenu.py demonstration of a game menu with easygui. The gamemenu can change resolution, call a pygame program (the screensaver), return values (the playtime), write and display a highscore list Url: http://ThePythonGameBook.com/en:part2:pygame:start Aut...
horstjens/ThePythonGameBook
en/pygame/024_easyguimenu.py
Python
gpl-3.0
5,465
[ "VisIt" ]
7547c570c13bb2e651551adc6a2db09ae87726e6cce6c3b123ea969f5cf0cccb
import unittest, os, shutil from datetime import datetime import numpy as np import SimpleITK as sitk from ContinuousRegistration.Source.metrics import tre, label_overlap from ContinuousRegistration.Source.util import warp_point_set, warp_image_simpleitk def tmp_file_name(output_directory, ext=".nii"): os.makedir...
kaspermarstal/SuperElastix
ContinuousRegistration/Source/test.py
Python
apache-2.0
5,613
[ "VTK" ]
0d3f20270b859fb525cb8a7e8c722572d8400eeb9feb858b2b1956f372ce5d2f
# Copyright (C) 2010-2011 Richard Lincoln # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish...
rwl/PyCIM
CIM14/IEC61968/AssetModels/DistributionWindingTest.py
Python
mit
3,001
[ "exciting" ]
c10a859e6e8f0da37b2f3a865229939e0074ee70263b4a84eac712dfb996ee59
############################################################################## # Copyright (c) 2017 Mark Olesen, OpenCFD Ltd. # # This file was authored by Mark Olesen <mark.olesen@esi-group.com> # and is released as part of spack under the LGPL license. # LLNL-CODE-647188 # # For details, see https://github.com/llnl/s...
lgarren/spack
var/spack/repos/builtin/packages/openfoam-com/package.py
Python
lgpl-2.1
29,536
[ "ParaView" ]
6d410c425ba698d53d34ed5c000abf5e20d709bb75cbbe33a89695b063783c1b
# $Id$ # # Copyright (C) 2003-2006 Rational Discovery LLC # # @@ All Rights Reserved @@ # This file is part of the RDKit. # The contents are covered by the terms of the BSD license # which is included in the file license.txt, found at the root # of the RDKit source tree. # """basic unit testing code for the Bon...
soerendip42/rdkit
rdkit/Chem/UnitTestChemBond.py
Python
bsd-3-clause
1,717
[ "RDKit" ]
c6cc06cea5908e62157214957e6031e33f68dbfbd8b6ae128edaeabdb105f23c
# pylint: disable=C0111 # pylint: disable=W0621 from __future__ import absolute_import from lettuce import world, step from lettuce.django import django_url from django.contrib.auth.models import User from django.core.urlresolvers import reverse from student.models import CourseEnrollment from xmodule.modulestore imp...
XiaodunServerGroup/ddyedx
lms/djangoapps/wechat/features/common.py
Python
agpl-3.0
6,519
[ "VisIt" ]
4ac391398304fcc0182ae3fcb8102d7b573c36b89440f267dfece0edbd217751
# -*- coding: utf-8 -*- # # Author: Travis Oliphant 2002-2011 with contributions from # SciPy Developers 2004-2011 # import warnings from collections.abc import Iterable from functools import wraps import ctypes import numpy as np from scipy._lib.doccer import (extend_notes_in_docstring, ...
grlee77/scipy
scipy/stats/_continuous_distns.py
Python
bsd-3-clause
297,829
[ "CRYSTAL", "Gaussian" ]
da102cd6fed721610e61c04a97e05cb9010c30611ae70a99463bb1f1a48f3f42
from tool_shed.base.twilltestcase import ShedTwillTestCase, common, os datatypes_repository_name = 'emboss_datatypes_0110' datatypes_repository_description = "Galaxy applicable data formats used by Emboss tools." datatypes_repository_long_description = "Galaxy applicable data formats used by Emboss tools. This reposit...
mikel-egana-aranguren/SADI-Galaxy-Docker
galaxy-dist/test/tool_shed/functional/test_0110_invalid_simple_repository_dependencies.py
Python
gpl-3.0
10,037
[ "Galaxy" ]
46f1eb670cfcb1d9669ab23b46be35d5a8e9e5aff313dfb8f87cbd45e9234687
"""Synthesize, plot, and play ripple sounds. """ import numpy as np import sounddevice as sd import matplotlib.pyplot as plt from scipy.interpolate import interp1d from scipy.io import wavfile a0 = 1e-5 # reference amplitude sr = 44100 # sample rate def ripple_sound(dur, n, omega, w, delta, phi, f0, fm1, l=70):...
sammosummo/sammosummo.github.io
assets/scripts/ripple-sounds.py
Python
mit
5,900
[ "VisIt" ]
db2be624cab66b7df6589413850b5da4cdb2d46714c9fe20be03c63ce91b1458
# pylint: disable=arguments-differ """ Models for the shopping cart and assorted purchase types """ import csv import json import logging import smtplib import StringIO from collections import namedtuple from datetime import datetime, timedelta from decimal import Decimal from io import BytesIO import analytics impor...
BehavioralInsightsTeam/edx-platform
lms/djangoapps/shoppingcart/models.py
Python
agpl-3.0
91,895
[ "VisIt" ]
b3c326f30a62b65ebca595abd15df438dd12b44e6d3a08c1d5014349e0adc7fb
# Copyright 2012, 2013 The GalSim developers: # https://github.com/GalSim-developers # # This file is part of GalSim: The modular galaxy image simulation toolkit. # # GalSim 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...
mardom/GalSim
tests/deprecated/test_ellipse.py
Python
gpl-3.0
9,002
[ "Galaxy" ]
dd04c317e192c6bb51f315feffad5ef5802770fcf736d1466a5071b69daa1020
"""Module managing picking events.""" import logging import weakref import numpy as np import pyvista from pyvista import _vtk from pyvista.utilities import try_callback class PickingHelper: """An internal class to hold picking related features.""" picked_cells = None picked_point = None picked_pa...
akaszynski/vtkInterface
pyvista/plotting/picking.py
Python
mit
25,790
[ "VTK" ]
9063d282f8ce82b98f96ac295a9313a3f12189cc44a72eb5b6721150aa9cb1da
# i really liked it # a python program to blast off a timeed bomb ;-) # an example of while stmnt # the flow of execution for a while stmnt is: # a. evaluate the condition, yielding True of False # b. if the condition is false, exit the while stmnt and continue execution at the next stmnt # c. if the condition is tr...
SurAnand/pyuthon
bomb.py
Python
gpl-2.0
431
[ "BLAST" ]
a3380c88c47031cad0b656249bb981e7869644bcc435d2ac7c35172391bd06aa
#!/usr/bin/env python from functions import * import argparse import datetime import time from Bio import SeqIO from Bio.Seq import Seq, translate from Bio.SeqRecord import SeqRecord from Bio.Alphabet.IUPAC import IUPACUnambiguousDNA from Bio.SeqFeature import FeatureLocation, SeqFeature parser = argparse.ArgumentPars...
pjtatlow/geneysis
python/geneysis.py
Python
mit
8,036
[ "BLAST" ]
e98dde5865b3c9e68865923b4fe38afc72b88266688ac0f46f5f1b3b7d741db4
#!/usr/bin/env python3 import os import sys import tempfile import vtk import fluidity.diagnostics.debug as debug import fluidity.diagnostics.filehandling as filehandling import fluidity.diagnostics.fluiditytools as fluiditytools import fluidity.diagnostics.vtutools as vtktools if not len(sys.argv) == 2: print("Us...
FluidityStokes/fluidity
tools/genpvtu.py
Python
lgpl-2.1
1,342
[ "VTK" ]
1f563aec2f6d9c3bbb7b0110baf0e7f93fce215bd722cbd5ff6ff7d5d33bfbdb
from __future__ import print_function, division, absolute_import import sys import os import pickle import numpy as np import mdtraj as md import itertools from pkg_resources import iter_entry_points from msmbuilder.reduce import tICA from msmbuilder.metrics import (RMSD, Dihedral, BooleanContact, ...
msmbuilder/msmbuilder-legacy
MSMBuilder/metrics/parsers.py
Python
gpl-2.0
13,078
[ "MDTraj" ]
457dfdd9047f44d29a8e62bfa703df180d6b533aeb4c5ffa8c563b9fd03d1ecc
from vtk import * from numeric import * # Define script parameters numbvert = 20 edgeprob = 0.50 # Create a random graph rgsource = vtkRandomGraphSource() degree = vtkVertexDegree() # Set number of vertices and the probability of an edge existing between any two vertices rgsource.SetNumberOfVertices(numbvert) rg...
arnaudgelas/VTK
Examples/Infovis/Python/variance.py
Python
bsd-3-clause
1,345
[ "VTK" ]
df827dc4779b0ffd1754c1641a0322400a4cc82862b106170b0e1a9a5ca7b9f2
# -*- coding: utf-8 -*- import copy import re from django.test import SimpleTestCase from corehq.apps.app_manager.const import APP_V2 from corehq.apps.app_manager.models import ( Application, AutoSelectCase, AUTO_SELECT_USER, AUTO_SELECT_CASE, LoadUpdateAction, AUTO_SELECT_FIXTURE, AUTO_SELECT_RAW, WORKFLOW_MOD...
puttarajubr/commcare-hq
corehq/apps/app_manager/tests/test_suite.py
Python
bsd-3-clause
51,834
[ "VisIt" ]
b3d196178f69a12c6557b0c39b3d1b692a9d09956182b0c86bff131cf950b058
import math import numpy as np from .searcher import Searcher from pychemia import pcm_log class FireFly(Searcher): def __init__(self, population, params=None, generation_size=32, stabilization_limit=10, target_value=None): """ Implementation fo the Firefly algorithm for global m...
MaterialsDiscovery/PyChemia
pychemia/searcher/firefly.py
Python
mit
8,231
[ "Firefly" ]
e29b65e4831a48c6a73b8b9ba551ee707c6a4753e31240eba9b5940f0d1cb1b2
#!/usr/bin/env python ''' mpirun -np 2 python 04-parallel_mol_hf.py ''' import numpy from pyscf import gto, scf from mpi4pyscf import scf as mpi_scf mol = gto.M(atom='''O 0. 0. 0. H 0. -0.757 0.587 H 0. 0.757 0.587''', basis='cc-pvtz') mf...
sunqm/mpi4pyscf
examples/04-parallel_mol_hf.py
Python
gpl-3.0
1,171
[ "PySCF" ]
78ed43e35260b14523123122302f7ed3dbb1a535bb2ec8bc6a5e1a6f70578bd2
#!/usr/bin/python # # Created on Aug 25, 2016 # @author: Gaurav Rastogi (grastogi@avinetworks.com) # Eric Anderson (eanderson@avinetworks.com) # module_check: supported # # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General...
kbrebanov/ansible
lib/ansible/modules/network/avi/avi_serviceengine.py
Python
gpl-3.0
5,740
[ "VisIt" ]
324a6d4a786e96d514f34fc7e5f6e70b1b902905ddabd91fa18148caab0b7d3f
# 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...
mkuron/espresso
testsuite/python/constraint_shape_based.py
Python
gpl-3.0
34,495
[ "ESPResSo" ]
9fb83116087873a01a6cea6450193d7fd0b00f44a8b00395a236e056178d7578
__all__ = ["OptimizationResults", "ParameterEstimation", "PSDParEst", "SamplingResults"] # check whether matplotlib is installed for easy plotting import matplotlib.pyplot as plt from matplotlib.ticker import MaxNLocator # check whether emcee is installed for sampling try: import emcee can_samp...
StingraySoftware/stingray
stingray/modeling/parameterestimation.py
Python
mit
71,252
[ "Gaussian" ]
411894213ae09be7660a3973731ab24e88f2bb2fcba2e7dff7af465e0ddd3c84
#!/usr/bin/env python # pmx Copyright Notice # ============================ # # The pmx source code is copyrighted, but you can freely use and # copy it as long as you don't change or remove any of the copyright # notices. # # ---------------------------------------------------------------------- # pmx is Copyright (C...
Alwnikrotikz/pmx
scripts/mutate_beta45.py
Python
lgpl-3.0
17,594
[ "Amber", "CHARMM" ]
cb2116c97d77680c5269c18b1d65469c8a649d28f7b2190fd4c524f9cd639d6e
#!/usr/bin/env python # # Author: Paul J. Robinson <pjrobinson@ucla.edu> # ''' IBO generation, cube generation, and population analysis of benzene ''' import numpy from pyscf import gto, scf, lo, tools from functools import reduce benzene = [[ 'C' , ( 4.673795 , 6.280948 , 0.00 ) ], [ 'C' , ( 5.90119...
gkc1000/pyscf
examples/local_orb/04-ibo_benzene_cubegen.py
Python
apache-2.0
2,223
[ "PySCF" ]
9e9644aadda7fc37f2161e8150c2ab4dac9cbd6ebca6b2d334907d127c013bc4
############################################################################## # Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC. # Produced at the Lawrence Livermore National Laboratory. # # This file is part of Spack. # Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. # LLNL-CODE-64...
wscullin/spack
var/spack/repos/builtin/packages/py-mdanalysis/package.py
Python
lgpl-2.1
2,740
[ "Amber", "Biopython", "CHARMM", "DL_POLY", "Gromacs", "LAMMPS", "MDAnalysis", "NAMD", "NetCDF" ]
e61c45596226bda0098424f85252292043069aab08f4a1fa1d9936c6b2b5a6fc
import os, glob, csv, shelve, datetime, subprocess as sp from Bio import SeqIO """ These values are the defaults that will be used. """ E_VALUE_THRESHOLD = 1e-10 """ These variables are internal to the library. """ TIME_STACK = [] LOCAL_CDS_DATABASE = dict() LOCAL_PEP_DATABASE = dict() def start_timing(): """ ...
q10/gene
geneutils.py
Python
bsd-3-clause
12,755
[ "BLAST" ]
06da80c897bedd0f6b41d196afe2821f0015c4855a6bd2d63c993ac8c2c85b53
"""Subtract background from ifu images.""" import argparse import os import numpy as np import astropy.io.fits as pf import sys import shutil import SEDMr.IO as IO from scipy.ndimage.filters import gaussian_filter def estimate_background(fine, infile, gausswidth=100, outname=None, outint=Fal...
scizen9/kpy
SEDMr/SubtractBackground.py
Python
gpl-2.0
5,209
[ "Gaussian" ]
0d587356b52fc415838b3b6e2e14cf6550f74d7b402d7163a89010b850c937cb
############################################################################### ## ## Copyright (C) 2011-2014, NYU-Poly. ## Copyright (C) 2006-2011, University of Utah. ## All rights reserved. ## Contact: contact@vistrails.org ## ## This file is part of VisTrails. ## ## "Redistribution and use in source and binary for...
Nikea/VisTrails
scripts/gen_vtk_examples/vtk_imposter.py
Python
bsd-3-clause
4,382
[ "VTK" ]
4d9d74a217cfd2258ed610d2f9140d86a2c98c5bcb4de558f125db6988beb5ba
#!/usr/bin/env python """ Code for extracting data about cities from NEX climate data. Performs the following pipeline: 1. Read the file netCDF file from S3 2. Run nex2json on the dataset 3. Upload result to the appropriate bucket """ import argparse import os import re import shutil import tempfile import logging f...
azavea/nex2json-ingest
chunker/process_dataset.py
Python
apache-2.0
3,546
[ "NetCDF" ]
52edd340bdabad4d9f6c7298aa0ea56876380b5cb3a9786877e59d1b2087846f
#!/usr/bin/python # -*- coding: utf-8 -*- import json import os import subprocess import sys import tempfile from six.moves import urllib # To be extracted to separate module class MicrosoftTranslator(object): def __init__(self, client_id, client_secret, language): self._name = "microsofttranslator" ...
sq6jnx/sr0wx.py
pl_microsoft/microsoft_translator_downloader.py
Python
apache-2.0
3,816
[ "VisIt" ]
0ffa177c075c860cc857d6d4750bf39d8a05dcea1f274d79108fc6e57c895360
#!/usr/bin/env python3 """ Created on 20 Feb 2017 @author: Bruno Beloff (bruno.beloff@southcoastscience.com) DESCRIPTION The led utility is used to control a two-colour (red / green) LED mounted on the South Coast Science free-to-air SHT board. On some Praxis device configurations, a free-to-air temperature and hum...
south-coast-science/scs_dev
src/scs_dev/led.py
Python
mit
3,246
[ "Amber" ]
225c7b54b3ce19eb7ddf8f938bf5ced00be450f449bcf735c68df8882e1a9da3
#!/usr/bin/env python import argparse import itertools import os import re import sys from collections import defaultdict from use_lldb_suite import lldb_root parser = argparse.ArgumentParser( description='Analyze LLDB project #include dependencies.') parser.add_argument('--show-counts', default=False, action='s...
google/llvm-propeller
lldb/scripts/analyze-project-deps.py
Python
apache-2.0
7,361
[ "VisIt" ]
b8180b708705f56ca8ded8fb45a6faf8aabef3ab7b0d2522fe278b9a3b9e1c0d
import moose from squid import * mean_injection_current = 0.1e-6 # in Ampere noise_variance = 0.1 # percentage of the mean class NoisySquid(moose.Neutral): """A model for recording from squid giant axon compartment with current injection that is white noise""" def __init__(self, *args): global mean_in...
BhallaLab/moose-thalamocortical
DEMOS/pymoose/ray_bhalla_2008/squid_fft/model.py
Python
lgpl-2.1
4,673
[ "MOOSE" ]
92dbe4e3d746fe66fc0984600b233ba4f5f19feb3a03e684c79d4a50ad4a7f26
# -*- coding: utf8 -*- """ This file contains configuration for Poloniex stock. """ __author__ = "Jan Seda" __copyright__ = "Copyright (C) Jan Seda" __credits__ = [] __license__ = "" __version__ = "0.1" __maintainer__ = "Jan Seda" __email__ = "" __status__ = "Production" import urllib.parse import sys from ... impo...
Honzin/ccs
ccs/poloniex/public/__init__.py
Python
agpl-3.0
27,719
[ "VisIt" ]
9afb6bd5925d1105f4384c26b952fde04dbd06eb532b76901ae1f1434ec0ab09
"""Next-gen sequencing alignment with Novoalign: http://www.novocraft.com For BAM input handling this requires: novoalign (with license for multicore) samtools """ import os import subprocess from bcbio import bam, utils from bcbio.ngsalign import alignprep, postalign from bcbio.pipeline import config_utils from ...
brainstorm/bcbio-nextgen
bcbio/ngsalign/novoalign.py
Python
mit
6,239
[ "Galaxy" ]
1f2c31b27bb1e3a8bb45b8b8fb61dc2a6d97b236360823dd101d189d219e47a0
# -*- coding: utf-8 -*- # Copyright (c) 2015-2022, Exa Analytics Development Team # Distributed under the terms of the Apache License 2.0 """ Basis Function Manipulation ################################ Functions for managing and manipulating basis set data. Many of the ordering schemes used in computational codes can ...
exa-analytics/exatomic
exatomic/algorithms/basis.py
Python
apache-2.0
23,605
[ "Gaussian", "MOLCAS", "NWChem" ]
c45be16f4ccaedc41063afcad4ddbe693bc0ea6e666e642cff7924b7e8080abf
#!/usr/bin/env python ######################################################################## # $HeadURL$ ######################################################################## """ Set the status of the replicas of given files at the provided SE """ __RCSID__ = "$Id$" from DIRAC.Core.Base import Script Script.setU...
Sbalbp/DIRAC
DataManagementSystem/scripts/dirac-dms-set-replica-status.py
Python
gpl-3.0
2,728
[ "DIRAC" ]
8cecba91eeb6f6bcdbac822e1cd91d90e2633066b448632e9ab393e4dec8feff
# -*- coding: utf-8 -*- # # Neo4j.rb documentation build configuration file, created by # sphinx-quickstart on Mon Mar 9 22:41:19 2015. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # ...
leviwilson/neo4j
docs/conf.py
Python
mit
10,890
[ "Brian" ]
47ec3d65ea2e411d81fdbfd45d252c65f1f5b9558012e5fa03a9c937591c9742
"""Install or upgrade a bcbio-nextgen installation. """ from __future__ import print_function import os import subprocess import sys import yaml from bcbiovm.docker import manage, mounts DEFAULT_IMAGE = "chapmanb/bcbio-nextgen-devel" def full(args, dockerconf): """Full installaction of docker image and data. ...
brainstorm/bcbio-nextgen-vm
bcbiovm/docker/install.py
Python
mit
5,693
[ "Galaxy" ]
35eb1a59feb9781c20674640f07af7655a5efb80044e9d3b342e7cc4e4a976a9
# 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/particle_slice.py
Python
gpl-3.0
16,230
[ "ESPResSo" ]
5029d1dc15b39992943620a7c70fae8595f3dfa9d5ce02b3083c1535a9d70271
# Copyright (c) 2012-2013, Philip A.D. Bentley # All rights reserved. # This software is made available under a BSD 3-clause license. # Please refer to the accompanying LICENSE.TXT file. """ A python parser for reading files encoded in netCDF-3 CDL format. The parser is based upon the flex and yacc files used by the nc...
rockdoc/cdlparser
cdlparser.py
Python
bsd-3-clause
37,174
[ "NetCDF", "VisIt" ]
a8dfd0ad432eaee9174c389f5c2b534a9f872b6e19213754965b30432a061839
import ast import sys class RemoveAnnotations(ast.NodeTransformer): """ Remove type annotations from source """ def __call__(self, node): if sys.version_info < (3, 0): return node return self.visit(node) def visit_FunctionDef(self, node): if hasattr(node, 'ret...
listyque/TACTIC-Handler
thlib/side/python_minifier/transforms/remove_annotations.py
Python
epl-1.0
2,463
[ "VisIt" ]
dbf00f262fef9114ad1ac5b66ac141dbea08fbdef8c9b5b5206acfb29523b8e2
import subprocess import struct import math class Particle: fmtstr = struct.Struct("dddddddddddd") def __init__(self, string="", x=0.0, y=0.0, z=0.0, vx=0.0, vy=0.0, vz=0.0, ax=0.0, ay=0.0, az=0.0, m=0.0, r=0.0, lastcollision=0.0): if len(string) > 0:...
xkxx/last-voyage
sim.py
Python
mit
12,675
[ "Gaussian" ]
ce7695093e3db7a524305b9103d8540746d1d8974f48c844bb40fa466025a9f6
# Copyright 2008-2015 Nokia Solutions and Networks # # 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 l...
snyderr/robotframework
src/robot/output/console/dotted.py
Python
apache-2.0
3,192
[ "VisIt" ]
5e59389b6c431afc3786e809ed50fe4c5f67507ee46b78fa557cd91319ed3d23
import os from datetime import datetime from hashlib import sha1 #from robot.api import ExecutionResult from robot.result.executionresult import CombinedResult from robot.api import ExecutionResult, ResultVisitor from robot.errors import DataError # suite_name #payload_folder # suite_test_count # test_names ...
Tallisado/pyrofactory
src/pyro_factory/robot_results_parser.py
Python
apache-2.0
6,210
[ "VisIt" ]
a33ec0380477da8884adaad037508685d78a2578f51fb8c687257fa8998c379b
# -*- coding: utf-8 -*- # notice: this module cannot be sanely written to take use of # unicode_literals, bc some of the arguments need to be str on # both python2 and 3 from __future__ import absolute_import, division, print_function import ast from ast import * from collections import Iterable import warnings from...
ztane/Tonnikala
tonnikala/languages/python/generator.py
Python
apache-2.0
23,550
[ "VisIt" ]
d76b9924591c07f9c20565ceccfd05f9004dd0166308c3bc8820f05ddc066a5a
""" This module defines the base class for accessing netCDF files and using them with Stride Search. """ from netCDF4 import Dataset from abc import ABCMeta, abstractmethod from Event import print_copyright from datetime import date, datetime, timedelta from IdentCriteria import MaxCriterion, MinCriterion from numpy im...
pbosler/StrideSearch
python/Data.py
Python
gpl-2.0
8,675
[ "NetCDF" ]
41482585479fdd1f160b473f9693286ce8907ae50d7061bd1774e5e71b6a7625
#!/usr/bin/env python3 from Bio.PDB.PDBParser import PDBParser from Bio.PDB.Polypeptide import three_to_one from Bio.PDB.Polypeptide import is_aa from Bio import pairwise2 from multiprocessing import Pool, cpu_count from functools import partial import scipy.cluster.hierarchy import numpy as np import sys, argparse, ...
gnina/scripts
clustering.py
Python
bsd-3-clause
15,787
[ "RDKit" ]
a4a2fa6be435a6f05649bdee0753c8ea2984fc702d65ec2b269a0dc046d2e676
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Service.code' db.add_column(u'clinics_service', 'code', ...
myvoice-nigeria/myvoice
myvoice/clinics/migrations/0007_auto__add_field_service_code.py
Python
bsd-2-clause
11,756
[ "VisIt" ]
92dbafc214944a8d60cef3f733748dcaec8726f7e2182fa89780424dd0f3c0ac
# # Copyright (c) 2015 nexB Inc. and others. All rights reserved. # http://nexb.com and https://github.com/nexB/scancode-toolkit/ # The ScanCode software is licensed under the Apache License version 2.0. # Data generated with ScanCode require an acknowledgment. # ScanCode is a trademark of nexB Inc. # # You may not use...
ened/scancode-toolkit
src/licensedcode/models.py
Python
apache-2.0
16,108
[ "VisIt" ]
bce1fb089acee36ecec5e3d7b8abf562a903440b304dc9574dfee3c30b07ddda
import plotly.plotly as py import plotly.figure_factory as ff data_table = [['Phases', 'Values'], ['Visit', 13873], ['Sign-up', 10553], ['Selection', 5443], ['Purchase', 3703], ['Review', 1708]] table = ff.create_table(data_table) py.iplot(tab...
useabode/redash
funnel.py
Python
bsd-2-clause
323
[ "VisIt" ]
646e9c950563c814a00dce1f52cc7ab77e0b27db9424b67341a6ae96244cdc9c
#!/usr/bin/env python # -*- coding: utf-8 -*- # pyresample, Resampling of remote sensing image data in python # # Copyright (C) 2010-2020 Pyresample developers # # This program 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 ...
pytroll/pyresample
pyresample/test/test_geometry.py
Python
lgpl-3.0
138,519
[ "NetCDF" ]
bd8947a3b8a1a03968871236a5e494bd965bef6739cbbadfd4fbee22fd609a85
import six import operator as op from functools import wraps from collections import Iterable from syn.base_utils import nearest_base, is_hashable, tuple_prepend, \ get_fullname, get_mod, get_typename, AttrDict, hasmethod, import_module, \ quote_string, iteration_length, escape_for_eval, compose, safe_vars #--...
mbodenhamer/syn
syn/types/a/base.py
Python
mit
13,391
[ "VisIt" ]
a59da7c5587c154f0f29ca8e4d51b0c8fa9d2b136718735e5aa51cce42b7c832
# -*- coding: utf-8 -*- # # hl_api_info.py # # This file is part of NEST. # # Copyright (C) 2004 The NEST Initiative # # NEST is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or...
SepehrMN/nest-simulator
pynest/nest/lib/hl_api_info.py
Python
gpl-2.0
12,714
[ "VisIt" ]
90cfcefa57aff8800c87305d7eb24852d9b2206484330e3ea27b5bfb2016e347
#!/usr/bin/env python # ===========================================================================================# # This script builds a set of models, saves the models into an XML file and loads the # models back into memory. # ========================================================================================...
cdeil/gammalib
test/example_model_xml_io.py
Python
gpl-3.0
2,064
[ "Gaussian" ]
0605d1d960de36b2ce53c0d9814eef844c40ef749bb806d937725aa1e72be6fc
# # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2000-2006 Donald N. Allingham # Copyright (C) 2008 Brian G. Matherly # Copyright (C) 2010 Jakim Friant # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as publi...
arunkgupta/gramps
gramps/plugins/tool/patchnames.py
Python
gpl-2.0
23,238
[ "Brian" ]
b6e1e0ab05ede99b80ac0bfdddae95507c6354daac03f8a9e9045dbace45836b
# 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...
nburn42/tensorflow
tensorflow/contrib/autograph/pyct/static_analysis/activity.py
Python
apache-2.0
14,162
[ "VisIt" ]
979fc046ccdeeba316095ef17a251112a94e9185543d6e7264507941f3bce003
#! /usr/bin/env python # # voltage_trace.py # # This file is part of NEST. # # Copyright (C) 2004 The NEST Initiative # # NEST is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, o...
gewaltig/cython-neuron
pynest/nest/voltage_trace.py
Python
gpl-2.0
6,758
[ "NEURON" ]
0cca9856ddb1b78284db175171adf298fb81083dbd0da28fff5c007992a9a705