text
stringlengths
12
1.05M
repo_name
stringlengths
5
86
path
stringlengths
4
191
language
stringclasses
1 value
license
stringclasses
15 values
size
int32
12
1.05M
keyword
listlengths
1
23
text_hash
stringlengths
64
64
#!/usr/bin/env python ''' Fly ArduPlane in SITL AP_FLAKE8_CLEAN ''' from __future__ import print_function import math import os import signal import sys import time from pymavlink import quaternion from pymavlink import mavextra from pymavlink import mavutil from common import AutoTest from common import AutoTestT...
ArduPilot/ardupilot
Tools/autotest/arduplane.py
Python
gpl-3.0
143,785
[ "Firefly" ]
ff588dd1ea08035863e3b4a201aabb95a69dcac321c6fca0ff1f0a374f5aa681
#!/usr/bin/env python # Author: Andrew Jewett (jewett.aij at g mail) # http://www.chem.ucsb.edu/~sheagroup # License: 3-clause BSD License (See LICENSE.TXT) # Copyright (c) 2011, Regents of the University of California # All rights reserved. """ bonds_by_type.py reads a LAMMPS data file (or an excerpt of...
slitvinov/lammps-sph-multiphase
tools/moltemplate/src/bonds_by_type.py
Python
gpl-2.0
16,047
[ "LAMMPS" ]
c3e225d1f43215dc7c67c29281cbc6a6edaf4de14bad0be304316dea79cf7454
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages with open('README.rst') as readme_file: README = readme_file.read() with open('HISTORY.rst') as history_file: HISTORY = history_file.read() REQUIREMENTS = [ 'pyfaidx>=0.4.8.1', 'intervaltree>=2.1', 'tqdm>=4.7', 'to...
jrderuiter/pyim
setup.py
Python
mit
1,962
[ "pysam" ]
b1220e3ea770b0bd29ed52f46715f1d48488cd9c563cd9e98aaf044aef106d15
# Copyright (C) 2017,2018 # Max Planck Institute for Polymer Research # # This file is part of ESPResSo++. # # ESPResSo++ is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the Licen...
espressopp/espressopp
src/integrator/PIAdressIntegrator.py
Python
gpl-3.0
28,817
[ "ESPResSo", "Gromacs" ]
12e625c57e97ca1eb63a708a85a057a4bba9104f5fc20a4b8fdb29f76829d29c
# (C) 2016, Markus Wildi, wildi.markus@bluewin.ch # # 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, or (at your option) # any later version. # # This program is distr...
jerryjiahaha/rts2
scripts/u_point/u_point/script.py
Python
lgpl-3.0
16,314
[ "VisIt" ]
7eaec8ec3c4f1655841d541c22cf25ff2a788308df3dfc3985e9e52012d13bed
import csv def CommentStripper(iterator): for line in iterator: if line.startswith('# p'): continue if line.startswith('# GPAW'): continue if line.startswith(' 32'): continue if line.startswith(' 64'): continue yield li...
marcindulak/gpaw-on-aws
benchmark/plot.py
Python
bsd-2-clause
4,378
[ "GPAW" ]
bb8d9ed25db43bcb603be2814f9bdb3286bc552f7a45e1716b4ff7494472d5ce
import sys import glob import pkgutil import os import fnmatch from setuptools import setup from pycmm.settings import DNASEQ_SLURM_MONITOR_PIPELINE_BIN from pycmm.settings import DUMMY_TABLE_ANNOVAR_BIN from pycmm.settings import MUTREP_SLURM_MONITOR_PIPELINE_BIN from pycmm.settings import MUTREP_FAMILY_REPORT_BIN fro...
jessada/pyCMM
setup.py
Python
gpl-2.0
4,017
[ "pysam" ]
a4a7379daeb30fd06a642fb50d44153c97af00a21b5051671f37ccc62e7a18be
""" Caffe network visualization: draw the NetParameter protobuffer. .. note:: This requires pydot>=1.0.2, which is not included in requirements.txt since it requires graphviz and other prerequisites outside the scope of the Caffe. """ from caffe.proto import caffe_pb2 import pydot # Internal layer and ...
wangg12/caffe
python/caffe/draw.py
Python
bsd-2-clause
7,389
[ "NEURON" ]
714173d8da44bf5bb48f4b1d242b4fb020141534a5254e21dfd591a89e159065
import re import json import copy import datetime from shutil import copyfile from os import path from collections import defaultdict import click from moebot import MwApi import requests from pyquery import PyQuery as pq from .ship import ShipService from lib.common.log import debug from lib.common.config import CONF...
kcwikizh/kcwiki-scripts
lib/services/subtitle.py
Python
mit
22,348
[ "MOE" ]
7b262e059bb17d34fa9b61651cb802727ce996d6eba28f76e20057d7daf25cb1
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
jarifibrahim/climate
examples/knmi_to_cru31_full_bias.py
Python
apache-2.0
8,255
[ "NetCDF" ]
a134c686d5edf762e5fb93419982997fb280b62bc44b991073bf7fe49a3dc7f5
#!/usr/bin/env python # # federico dot ferri at cern dot ch, 01.08.2013 # import os from optparse import OptionParser import random from string import lowercase, uppercase import sys import time descr = """Fill up a fraction of the available disk space of a given mount point with binary files of random content. The s...
ferriff/space-occupy
space_occu.py
Python
gpl-2.0
4,069
[ "Gaussian" ]
411a4b0e7907874848e578718d48e482dfe0833f9013490294b46f8afbf0fa37
# -*- coding: utf-8 -*- # vim: autoindent shiftwidth=4 expandtab textwidth=120 tabstop=4 softtabstop=4 ############################################################################### # OpenLP - Open Source Lyrics Projection # # ------------------------------------------------------...
marmyshev/item_title
openlp/core/ui/maindisplay.py
Python
gpl-2.0
26,303
[ "Brian" ]
84e072a566e27767b6c2ed2ba53a0796ddcb641cbd56f68c2bc98fa93d4d68ba
# -*- coding: utf-8 -*- from datetime import datetime, timedelta from django.conf import settings from django.core import mail from django.core.files.storage import default_storage as storage from django.utils import translation import pytest from mock import Mock, patch from pyquery import PyQuery as pq from olymp...
harry-7/addons-server
src/olympia/reviewers/tests/test_utils.py
Python
bsd-3-clause
54,346
[ "VisIt" ]
34b878b301d63f9ef38c9052022e00feb4a24c7cf967ccb1f69da1009db1ec9b
""" Make the first figure. We show the following subfigures 1. Example of synthetic data 2. True transition matrix 3. True firing rates """ import os import numpy as np import matplotlib from matplotlib.colorbar import Colorbar matplotlib.rcParams.update({'font.sans-serif' : 'Helvetica', 'a...
slinderman/pyhsmm_spiketrains
experiments/make_figure1.py
Python
mit
4,617
[ "NEURON" ]
2457e913dc0061410279e92070e0103f1094ac49c9ccbd0d34613d148770e610
"""This file contains code for use with "Think Bayes", by Allen B. Downey, available from greenteapress.com Copyright 2012 Allen B. Downey License: GNU GPLv3 http://www.gnu.org/licenses/gpl.html """ """This file contains class definitions for: Hist: represents a histogram (map from values to integer frequencies). P...
jgibson5/SoftwareSystems
hw03/thinkstats2.py
Python
gpl-3.0
51,751
[ "Gaussian" ]
e777e6fdac62f354db5387c18fb95f9369b8c5c94ce6500aabf8c5453a4107c1
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
tlby/mxnet
python/mxnet/contrib/text/embedding.py
Python
apache-2.0
30,929
[ "VisIt" ]
c8851cd1e7c5ca8f3c2c0f86221c447dcf7c5b5482897cbbd33563b873fbba3f
"""Transform a string with Python-like source code into SymPy expression. """ from __future__ import print_function, division from .sympy_tokenize import \ generate_tokens, untokenize, TokenError, \ NUMBER, STRING, NAME, OP, ENDMARKER from keyword import iskeyword import ast import re import unicodedata im...
drufat/sympy
sympy/parsing/sympy_parser.py
Python
bsd-3-clause
32,979
[ "VisIt" ]
d69a429d8bea390a8a26e8076dee9fe5d79de386a70f3f90a88ac19d72320d9e
#!/usr/bin/env python import numpy as np from pylab import * from gpaw.test import equal output = True ############################# H2O ############################ filename = 'H2O' data = loadtxt(filename+'-td'+'.dat') be_t = data[:,0] f_t = data[:,1] data = loadtxt(filename+'-dos'+'.dat') be_d = data[:,0] f_d ...
qsnake/gpaw
gpaw/test/big/pes/PES_plot.py
Python
gpl-3.0
3,188
[ "GPAW" ]
c985cbb7fab54cd062a851a646ab596c545615a9ec4914c7367cc0c3ae769776
""" Train mnist, see more explanation at http://mxnet.io/tutorials/python/mnist.html """ import os import argparse import logging logging.basicConfig(level=logging.DEBUG) import mxnet as mx import numpy as np import pandas as pd import matplotlib.pyplot as plt def get_symbol_mlp(num_classes=10, **kwargs): data = m...
factzero/kaggle
DigitRecognizer/train_mxnet_dr.py
Python
apache-2.0
4,077
[ "Gaussian" ]
8b1d16ddc7e921a4a9ff9443a713f827b54c0513f9ba0ba563b3c63550cc3cbc
from enthought.mayavi.scripts import mayavi2 from enthought.tvtk.tools import mlab from enthought.tvtk.api import tvtk import scipy import numpy import thread from enthought.mayavi.sources.vtk_data_source import VTKDataSource from enthought.mayavi.filters.warp_scalar import WarpScalar from enthought.mayavi.filters.filt...
fabrice-lecuyer/QuantLib-SWIG
Python/examples/visualization/plotspace.py
Python
bsd-3-clause
2,969
[ "Mayavi" ]
37ce66b12a7d964941242025132e857afc6523dcca758eb630399fd8f1e2292c
import os import argparse import subprocess import shlex import pandas import string import progress.bar # ENHANCEMENT: use functionality from MultiQC for parsing. MultiQC is not currently written to allow convenient access. # FEATURE: add bwa mem aligner DEFAULT_THREADS = max(1, subprocess.os.cpu_count() // 2) cla...
BennerLab/atg
atg/util/align.py
Python
gpl-3.0
31,783
[ "BWA" ]
b418fd7112133e394b7e5b499120eca09af297d4520dbb4a15467a055c4b59c4
import os import sys from time import time try: from samcnet.mixturepoisson import * import samcnet.mh as mh from samcnet.lori import * except ImportError as e: sys.exit("Make sure LD_LIBRARY_PATH is set correctly and that the build"+\ " directory is populated by waf.\n\n %s" % str(e)) if ...
binarybana/samcnet
tests/poisson_synth.py
Python
mit
5,077
[ "Gaussian" ]
38c04dbe4794ec84cc9a85adf0e0d8e705b587a48e985650ed5bd950aa984814
""" network/conn.py Network class methods to create connections Contributors: salvadordura@gmail.com """ from __future__ import print_function from __future__ import division from __future__ import unicode_literals from __future__ import absolute_import from builtins import dict from builtins import range from b...
thekerrlab/netpyne
netpyne/network/conn.py
Python
mit
35,333
[ "NEURON" ]
b4e5426975aeae70a50fd15298bc29a28755213d7228687ad28e208c698a81da
#!/usr/bin/env python ########################################################################### ## ## ## Language Technologies Institute ## ## Carnegie Mellon University ...
leahrnh/ticktock_text_api
galbackend_cnn.py
Python
gpl-2.0
22,117
[ "Galaxy" ]
a3930e5200b9a085b9e153450affacca565a58d2b25fb80a7ad1dfca2f264775
import numpy as np from mot.lib.cl_function import CLFunction, SimpleCLFunction __author__ = 'Robbert Harms' __date__ = "2014-06-19" __license__ = "LGPL v3" __maintainer__ = "Robbert Harms" __email__ = "robbert@xkls.nl" class ParameterPrior(CLFunction): """The priors are used during model sample, indicating the...
cbclab/MDT
mdt/model_building/parameter_functions/priors.py
Python
lgpl-3.0
9,769
[ "Gaussian" ]
c0791504b229f14ef758805077f0deeb18bf59145527b26cc78fc9ae099ad174
# -*- coding: utf-8 -*- #----------------------------------------------------------------------------- # OpenModes - An eigenmode solver for open electromagnetic resonantors # Copyright (C) 2013 David Powell # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Gen...
DavidPowell/OpenModes
openmodes/simulation.py
Python
gpl-3.0
23,247
[ "Mayavi", "VTK" ]
2d61f2b081c086865786dc76cbc968a3d0093c32fe3b000244124acedfb63279
#!/usr/bin/env python # # $File: statAlleleFreq.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/statAlleleFreq.py
Python
gpl-2.0
1,762
[ "VisIt" ]
048c462e64213f8ab1e24de3c90e176052173a1a5ce87033d27531b72e1c56b0
# -*- coding: utf-8 -*- """ Unit tests for instructor.api methods. """ import datetime import ddt import functools import random import pytz import io import json import shutil import tempfile from django.conf import settings from django.contrib.auth.models import User from django.core import mail from django.core.fil...
itsjeyd/edx-platform
lms/djangoapps/instructor/tests/test_api.py
Python
agpl-3.0
224,188
[ "VisIt" ]
5a7294477f7b8a96aadd7455f1b5bdc812d0cb7ea43a04a0a19669b22f63ebd7
import mdtraj as md import mdtraj.io ass = md.io.loadh("./Data/Assignments.Fixed.h5")["arr_0"] # Get assignment data for first trajectory: a = ass[0] n_states = a.max() + 1 traj = md.load("./Trajectories/trj0.h5") traj_chunks = [traj[a == i] for i in range(n_states)] for i, t in enumerate(traj_chunks): t.save(...
kyleabeauchamp/Caliber
src/traj_by_state.py
Python
gpl-2.0
341
[ "MDTraj" ]
00cf3cb15fa372049b8a99d8d688b385e2d08c755b26d976cb7693a6d66ae11f
import os import shutil import pychemia import tempfile import unittest class MyTestCase(unittest.TestCase): def test_incar(self): """ Test (pychemia.code.vasp) [INCAR parsing and writing] : """ print(os.getcwd()) iv = pychemia.code.vasp.read_incar('tests/data/vasp_0...
MaterialsDiscovery/PyChemia
tests/test_code_vasp.py
Python
mit
5,254
[ "CRYSTAL", "VASP" ]
1827ed09928a6c1d0795b2ece771aa7415f6c2265a407f205d520c6897a8cf58
# Copyright 2013, Michael H. Goldwasser # # Developed for use with the book: # # Data Structures and Algorithms in Python # Michael T. Goodrich, Roberto Tamassia, and Michael H. Goldwasser # John Wiley & Sons, 2013 # # This program is free software: you can redistribute it and/or modify # it under the terms of...
consultit/Ely
ely/direct/data_structures_and_algorithms/ch08/euler_tour.py
Python
lgpl-3.0
6,011
[ "VisIt" ]
3c77198f37c5ac60210ccc041edbd40903663b6981915313a52ed27e81e73e39
#!/usr/bin/env python # -*- encoding: utf-8 -*- from __future__ import division import sys import pysam import BioClasses def main(): tabixfile = pysam.Tabixfile( "/home/paul/bioinf/Data/global_ribosome_profiles.1-based.bed.gz", "r" ) region = "chr1:1187065-1187832" region = "chr1:1190849-1190868" region = "chr1...
polarise/Code
test_TabixResult.py
Python
gpl-2.0
574
[ "pysam" ]
50683a46c8457aabfa76ab7bf974ef5679906054b32d02241e3c528e11f44b42
#!/usr/bin/python # -*- coding: utf-8 -*- # # --- BEGIN_HEADER --- # # securepyro - a secure version of the external pyro server and proxy # Copyright (C) 2003-2011 The MiG Project lead by Brian Vinter # # This file is part of MiG. # # MiG is free software: you can redistribute it and/or modify # it under the terms ...
heromod/migrid
mig/grsfs-fuse/fs/core/network/rpc/securepyro.py
Python
gpl-2.0
9,631
[ "Brian" ]
83a122b3bff1f851e35bddbf9c5b476da9cf329c8be26e9b875a93d4e415dae7
# -*- coding: utf-8 -*- # # Copyright (c) 2020, the cclib development team # # This file is part of cclib (http://cclib.github.io) and is distributed under # the terms of the BSD 3-Clause License. """Parser for Q-Chem output files""" import itertools import math import re import datetime import numpy from packaging....
cclib/cclib
cclib/parser/qchemparser.py
Python
bsd-3-clause
82,332
[ "Gaussian", "Q-Chem", "cclib" ]
6436fa8e20205503cfc1c7b17f2bea92268527ecb234ea94aed6ff572aa8e19e
"""Generate self-contained HTML reports from MNE objects.""" # Authors: Alex Gramfort <alexandre.gramfort@inria.fr> # Mainak Jas <mainak@neuro.hut.fi> # Teon Brooks <teon.brooks@gmail.com> # # License: BSD (3-clause) import base64 from io import BytesIO from mne.proj import read_proj import os impor...
kambysese/mne-python
mne/report.py
Python
bsd-3-clause
87,555
[ "Mayavi" ]
94b174f27fbdbcbb29b31d05e8256a16513a2bc6602cc792da69975bb1873c6d
''' Created on Jul 1, 2009 This module contains tests for the face recognition algorithms. @author: bolme ''' import unittest import pyvision as pv import numpy as np #from optic_flow import * from distance import * import cv import os.path class _TestNormalize(unittest.TestCase): def setUp(self): ...
tigerking/pyvision
src/pyvision/other/testsuite.py
Python
bsd-3-clause
9,261
[ "Gaussian" ]
5c3ccca1b76daf30c6d0466c126ccaab91ae03c1162f15044c7e9cf0a9b1752a
try: import scipy from scipy import optimize,sqrt from scipy.optimize import leastsq #from scipy.stats.stats import nanmedian,nanmean,_nanmedian except ImportError: print "Scipy cold not be loaded. Collapse_gaussfit may fail" import numpy from numpy import vectorize,zeros,exp,median,where,asarray,a...
dinossimpson/pyspeckit
pyspeckit/spectrum/collapse_gaussfit.py
Python
mit
20,185
[ "Gaussian" ]
5a3b63642b0abd44001684e25c82ce1d01f672e029f9623dd054be17638e9838
#!/usr/bin/env python3 # Copyright 2010-2021 Google LLC # Copyright 2015 Tin Arm Engineering AB # 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....
google/or-tools
ortools/constraint_solver/samples/vrpgs.py
Python
apache-2.0
6,542
[ "VisIt" ]
5e9fefa3b31288c386013e754eea5f170e3cf1be69c29a6d9ad8d9cf1a08b1ee
#coding=utf-8 import json from flask import Response from flask import Flask from flask import jsonify from flask_restful import Resource, Api from serializers import PageSerializer, ParaSerializer from lxml import etree from models import Book, Page,Paragraph # import xmltodict #flask app setup,and restfull ...
jjp9624022/indesignTeamWorker
server/app/views.py
Python
mit
2,418
[ "ParaView" ]
0024570c2f82eeb493b1e84ddd2b5854569f3e58f151562d7701f16bee5444d4
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
Huyuwei/tvm
python/tvm/hybrid/module.py
Python
apache-2.0
3,802
[ "VisIt" ]
b5d5327c1ef8024f44e106da25158639c56ad16afce5b5fafd204c375b672f9f
# # @BEGIN LICENSE # # Psi4: an open-source quantum chemistry software package # # Copyright (c) 2007-2021 The Psi4 Developers. # # The copyrights for code used from other parties are included in # the corresponding files. # # This file is part of Psi4. # # Psi4 is free software; you can redistribute it and/or modify #...
lothian/psi4
psi4/driver/util/__init__.py
Python
lgpl-3.0
913
[ "Psi4" ]
ca58b88f75666413e8a12fa3178e15097c2e4c1e9fb3c4b203df28afb7ad3468
## sPARTA: small RNA-PARE Target Analyzer public version ## Updated: version-1.26 08/19/2017 ## Author: kakrana@udel.edu ## Author: rkweku@udel.edu ## Copyright (c): 2016, by University of Delaware ## Contributor : Atul Kakrana ## Affilation : Meyers Lab (Donald Danforth Plant Science Cente...
BleekerLab/Solanum_sRNAs
snakepipelines/degradome/sPARTA.py
Python
mit
139,373
[ "Bowtie" ]
0e444278ed5bb18d356183941401481e4bfc0e744ec31a653cdb5943d7d86e6e
# This file is part of the myhdl library, a Python package for using # Python as a Hardware Description Language. # # Copyright (C) 2003-2013 Jan Decaluwe # # The myhdl library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License as # published by t...
j-marjanovic/myhdl
myhdl/conversion/_analyze.py
Python
lgpl-2.1
45,567
[ "VisIt" ]
70e1823bc473405b9286a8d20a0a412de5d151bfb0398e7f04fc1e5ff625233d
import time as ttime from ophyd import (PVPositioner, EpicsSignal, EpicsSignalRO, EpicsMotor, Device, Signal, PseudoPositioner, PseudoSingle) from ophyd.utils.epics_pvs import set_and_wait from ophyd.ophydobj import StatusBase, MoveStatus from ophyd import Component as Cpt from scipy.interpolate imp...
NSLS-II-SRX/ipython_ophyd
profile_xf05id1-noX11/startup/10-machine.py
Python
bsd-2-clause
13,262
[ "CRYSTAL" ]
9a4f135b4790ba10d52279f8feccc4569071e7fe05c28d9061779e612aae22a8
#!/usr/bin/env python """ Extract information from a SfePy multi-time-step results file (HDF5 format) and/or linearize results with stored higher order DOFs. For the linearization, the original input (problem description) file must be specified as the first argument. Use the option --linearization below to override li...
sfepy/sfepy
extractor.py
Python
bsd-3-clause
7,136
[ "VTK" ]
67cc54355f07919b7620a3393e1e0dd470ff97ce06b1529e533fbb7c36014123
# -*- coding: utf-8 -*- """ End-to-end tests for LibraryContent block in LMS """ import ddt import textwrap from nose.plugins.attrib import attr from ..helpers import UniqueCourseTest, TestWithSearchIndexMixin from ...pages.studio.auto_auth import AutoAuthPage from ...pages.studio.overview import CourseOutlinePage fro...
wwj718/edx-platform
common/test/acceptance/tests/lms/test_library.py
Python
agpl-3.0
13,611
[ "VisIt" ]
41b4da3e15ce36cb2b0f3e9065372b85b347fad55820bcfe44f8c4cbac080db4
#! /usr/bin/env python import nest import nest.voltage_trace import pylab from active_worker.task import task @task def neuron_noise_task(): ''' Task Manifest Version: 1 Full Name: neuron_noise_task Caption: One neuron with noise Author: nest-initiative.org Description: | ...
jakobj/UP-Tasks
NEST/neuron_noise_task/neuron_noise_task.py
Python
gpl-2.0
2,406
[ "NEURON" ]
e4bf2a489e68c4f0d6bd596e94dffc2be01f637f9e2076cf22bf697900dfc38b
# Imports import os import numpy as np from .mapped_class import MappedClass from .. import utils as bvpu from ..options import config try: import bpy is_blender = True except ImportError: is_blender = False pass class Action(MappedClass): """Layer of abstraction for armature-based actions (impor...
marklescroart/bvp
bvp/Classes/action.py
Python
bsd-2-clause
8,993
[ "VisIt" ]
c6bd17497c6137fde8599ff0af46cf87ee7c22b936218e321b724ea5ed644cd7
from __future__ import absolute_import from __future__ import print_function from typing import Any from django.conf import settings from django.core.management.base import BaseCommand from confirmation.models import generate_realm_creation_url class Command(BaseCommand): help = """Outputs a randomly generated, 1...
vikas-parashar/zulip
zerver/management/commands/generate_realm_creation_link.py
Python
apache-2.0
1,023
[ "VisIt" ]
aceb92a554935cde04ef48230fc61cafa655f12d6a20e04f2e05e1a9d90b5b19
# -*- coding: utf-8 -*- """ Created on Thu May 30 18:39:58 2013 @author: jpeacock-pr """ #============================================================================== import matplotlib.pyplot as plt import numpy as np import os import matplotlib.colorbar as mcb import matplotlib.colors as colors import mtpy.imagin...
MTgeophysics/mtpy
mtpy/imaging/plotpseudosection.py
Python
gpl-3.0
47,677
[ "Gaussian" ]
5045d58cb9cc64f2fe62070b45d095c789278da66a68de791a86353c1d7344d0
from dateutil.relativedelta import (MO, TH, TU) from pandas import (DateOffset, Timestamp, date_range) from pandas.tseries.holiday import (Holiday, nearest_workday, sunday_to_monday) from pandas.tseries.offsets import Day from pandas_market_calendars.market_calendar import (FRIDAY, MONDAY, THURSDAY, TUESDAY, WEDNESDAY...
rsheftel/pandas_market_calendars
pandas_market_calendars/holidays_us.py
Python
mit
12,148
[ "COLUMBUS" ]
b668c4bcf6f18d8baa285d6c4637fa3af9ed6009962c4783baa8c377534d9afc
#!/usr/bin/env python # # Xiao Yu - Montreal - 2010 # Based on googlemaps by John Kleint # # 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 Software Foundation, either version 3 of the License, or # (at your o...
mateuszmidor/GumtreeOnMap
src/pygeocoder/pygeocoder.py
Python
gpl-2.0
9,085
[ "VisIt" ]
41be48c32e515106d24c926447a52f1759f8af62daed88cdd8af918c4f96d32d
#!/usr/bin/env python from Bio import AlignIO import sys from optparse import OptionParser from pprint import pprint # Arguments # usage = """ %prog -i -o align_in align_out""" description = """Description: Use Biopython to convert the format of an alignment.""" epilog = """""" version = "0.1" parser = OptionParser(...
nyoungb2/misc_perl
blib/script/alignIO.py
Python
mit
1,041
[ "Biopython" ]
efb2d4618b309fa0f9c18ef56d5efa6dce45a975d6959360e60bad864fe7abc0
from test import test_support import unittest import codecs import locale import sys, StringIO def coding_checker(self, coder): def check(input, expect): self.assertEqual(coder(input), (expect, len(input))) return check class Queue(object): """ queue: write bytes at one end, read bytes from th...
gusai-francelabs/datafari
windows/python/Lib/test/test_codecs.py
Python
apache-2.0
76,808
[ "FEFF" ]
6063e4fdbe5a3c48187478c3f1c386724bcd6987ba3a373a1c341c514f716fd7
######################################################################## # $HeadURL$ # File: ReqProxyHandler.py # Author: Krzysztof.Ciba@NOSPAMgmail.com # Date: 2013/06/04 13:18:41 ######################################################################## """ :mod: RequestProxyHandler ========================= ...
avedaee/DIRAC
RequestManagementSystem/Service/ReqProxyHandler.py
Python
gpl-3.0
7,246
[ "DIRAC" ]
852b186a0854cf098477eeaece5d6a8f37c8b32a3aecae0089264a57c671d29f
r"""*Trivial fixture tests for* ``sphobjinv``. ``sphobjinv`` is a toolkit for manipulation and inspection of Sphinx |objects.inv| files. **Author** Brian Skinn (bskinn@alum.mit.edu) **File Created** 20 Mar 2019 **Copyright** \(c) Brian Skinn 2016-2022 **Source Repository** http://www.github.com/bsk...
bskinn/sphobjinv
tests/test_fixture.py
Python
mit
1,607
[ "Brian" ]
571355c6d8adf9e056f1a79c396cbaa49358a845eb5c386b8a053a5abc94dae1
#!/usr/bin/python # Comments and/or additions are welcome (send e-mail to: # robert.paton@chem.ox.ac.uk ##################################### # Hess_to_Freq.py # ##################################### ### Written by: Rob Paton ######### ### Last modified: Mar 27, 2017 ### ########################...
bobbypaton/Kinisot
kinisot/Hess_to_Freq.py
Python
mit
3,241
[ "Gaussian" ]
35146bb23b87c08934bb12f4ae01eec42a116ea53df68e0dcf6ca39c49249f8a
# coding=utf-8 import os import logging import inspect import webapp2 from webob import exc from blinker import signal from datetime import datetime, timedelta from urlparse import urlparse from google.appengine.api import namespace_manager from webapp2_extras.routes import RedirectRoute, PathPrefixRoute, MultiRoute fr...
LighthouseUK/jerboa
jerboa/app.py
Python
lgpl-3.0
66,222
[ "VisIt" ]
565bce9d498096b1e43f3918eeb7bfe043f7c9e040ec5d0e94cbd55de0b239be
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright (C) 2017-2018 CIRCL Computer Incident Response Center Luxembourg (smile gie) # Copyright (C) 2017-2018 Christian Studer # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public Li...
Rafiot/MISP
app/files/scripts/stix2/stix2misp.py
Python
agpl-3.0
71,253
[ "Galaxy" ]
8caf2edbdc5cb43f82cf8227febed83c21ceae2ac288e210f944d8a9cc986ec8
from __future__ import division, print_function import sys sys.path.append("../lib") import logging import theano import theano.tensor as T from theano import tensor from blocks.bricks.base import application, lazy from blocks.bricks.recurrent import BaseRecurrent, recurrent from blocks.bricks import Random, Initia...
drewlinsley/draw_classify
draw/draw_CL_WORKING.py
Python
mit
17,280
[ "Gaussian" ]
79c1235eac3eec01573be48c1ad7d32370c54686fb3605a2b010534753bbfecb
def makeRunBWAalnScript(fastqFileListFileName, numThreads, qualityLimit, outputFilePath, referenceGenomeFileName, outputFileNameSuffix, scriptFileName): # Make a script that will run bwn aln for paired-end sequencing data fastqFileListFile = open(fastqFileListFileName) scriptFile = open(scriptFileName, 'w+') fa...
imk1/IMKTFBindingCode
makeRunBWAalnScript.py
Python
mit
1,545
[ "BWA" ]
7908b838e1f00b5eceb5290178b2104cbd4c0712dc9b3a57fc04325d0b7cf8b2
""" pyLDAvis Prepare =============== Main transformation functions for preparing LDAdata to the visualization's data structures """ from __future__ import absolute_import from past.builtins import basestring from collections import namedtuple import json import logging from joblib import Parallel, delayed, cpu_count i...
napsternxg/pyLDAvis
pyLDAvis/_prepare.py
Python
bsd-3-clause
17,027
[ "scikit-bio" ]
551742854471d1e07c3b698b10396897b1c389368a9e9f0780d983f42ef6af41
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
larroy/mxnet
python/mxnet/ndarray/numpy/random.py
Python
apache-2.0
37,530
[ "Gaussian" ]
ceb0019427fc63f8e7f3ba7f1f69153ae19652d14fc0321a38cf8cde1505fdeb
#!/usr/bin/env python """ load SubjectAttribute into OSDF using info from data file """ import os import re from cutlass.SubjectAttribute import SubjectAttribute import settings from cutlass_utils import \ load_data, get_parent_node_id, list_tags, format_query, \ write_csv_headers, values_to_node_dict, write_out...
JAX-GM/osdf_submit
nodes/subjectattribute.py
Python
gpl-3.0
5,438
[ "VisIt" ]
d7cd5e3f72ead19625d399f778729d4e614b0f0a2b279965f933e5f1de8ddf9a
# -*- coding: utf-8 -*- from __future__ import unicode_literals import time # !! This is the configuration of Nikola. !! # # !! You should edit it to your liking. !! # # ! Some settings can be different in different languages. # ! A comment stating (translatable) is used to denote those. # ! There are two ways to...
wcmckee/hamiltoncomputerclub.org.nz
static/conf.py
Python
mit
28,871
[ "VisIt" ]
a6e6975e53bc466f801ecc688bb398255f475e6d019b55c0267f5187e863a952
#A* ------------------------------------------------------------------- #B* This file contains source code for the PyMOL computer program #C* copyright 1998-2000 by Warren Lyford Delano of DeLano Scientific. #D* ------------------------------------------------------------------- #E* It is unlawful to modify or remove ...
gratefulfrog/lib
python/chempy/tinker/realtime.py
Python
gpl-2.0
5,925
[ "Amber", "ChemPy", "PyMOL", "TINKER" ]
ff2375ed23e90a1bd64e153f73c0f3d8ae90d64729baacc9dbebd0f80c301f63
# # Copyright (C) 2004-2008 Greg Landrum and Rational Discovery LLC # # @@ All Rights Reserved @@ # This file is part of the RDKit. # The contents are covered by the terms of the BSD license # which is included in the file license.txt, found at the root # of the RDKit source tree. # import math import sys impor...
bp-kelley/rdkit
rdkit/Chem/Pharm3D/EmbedLib.py
Python
bsd-3-clause
40,989
[ "RDKit" ]
908d874689dd9916d62a738843953185291ea780aaa34705dc2acc62ce07d66d
# This file is part of the Minecraft Overviewer. # # Minecraft Overviewer is free software: you can redistribute it and/or # modify it under the terms of the GNU General Public License as published # by the Free Software Foundation, either version 3 of the License, or (at # your option) any later version...
kevinwchang/Minecraft-Overviewer
overviewer_core/textures.py
Python
gpl-3.0
202,267
[ "CRYSTAL" ]
51e8caf516d13d806a404ed23ee24ea63d86dda7994e3678cd388b96159b6591
# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use ...
kun--hust/libcloud_with_cn
libcloud/common/google.py
Python
apache-2.0
26,980
[ "VisIt" ]
d47365dcdbc49dcfeb4ab72efdacc862cce843727cee1522770f2f2a9f2c7c48
''' The MIT License (MIT) (c) Juergen Simon 2014 (juergen.simon@uni-bonn.de) 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, c...
meteo-ubonn/meanie3D
python/meanie3D/app/external.py
Python
mit
6,347
[ "VisIt" ]
e24eee7ec44f915c522768be5ca7ea5f28a8e07f5e01589d3d7536b7eac4b5ab
# Copyright 2011 Rackspace # Copyright (c) 2011 X.commerce, a business unit of eBay Inc. # Copyright 2013 IBM Corp. # 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 # # ...
afrolov1/nova
nova/tests/network/test_manager.py
Python
apache-2.0
139,452
[ "FEFF" ]
c181832b7002d75e96564d2ed2089ee69b64d373a99d3a9553cd9d5cb478b492
# # @BEGIN LICENSE # # Psi4: an open-source quantum chemistry software package # # Copyright (c) 2007-2021 The Psi4 Developers. # # The copyrights for code used from other parties are included in # the corresponding files. # # This file is part of Psi4. # # Psi4 is free software; you can redistribute it and/or modify #...
jturney/psi4
psi4/driver/procrouting/dft/dft_builder.py
Python
lgpl-3.0
19,692
[ "Psi4" ]
45e7ec02aa77f6c821edd74629ea6d35f180e0e70f2c39fca72d128e2aee29d2
""" Artificial Intelligence for Humans Volume 1: Fundamental Algorithms Python Version http://www.aifh.org http://www.jeffheaton.com Code repository: https://github.com/jeffheaton/aifh Copyright 2013 by Jeff Heaton Licensed under the Apache License, Version 2.0 (the "License"); ...
PeterLauris/aifh
vol1/python-examples/lib/aifh/error.py
Python
apache-2.0
1,418
[ "VisIt" ]
747d18213cd0d7bc5753d4ba1f0d50d657c9f8ccfd67574f547cf4726914e534
#!/usr/bin/python from setuptools import setup import sys, site, os setup(name='fasticlip', version='0.9.3', description='Fully Automated and Standardized iCLIP (FAST-iCLIP) is a fully automated tool to process iCLIP data.', #install_requires = ['numpy>=1.7', 'pandas>=0.14', 'matplotlib_venn>=0....
ChangLab/FAST-iCLIP
setup.py
Python
gpl-2.0
744
[ "Brian" ]
5d0e3dbe966639c99146f65f3d39477edf3bb011b6612822b8cb27d2c2be3a44
#!/usr/bin/env python # Copyright (c) 2001, Stanford University # All rights reserved. # # See the file LICENSE.txt for information on redistributing this software. # # Authors: # Brian Paul """ graph.py This module defines the GraphFrame class which is the top-level window for creating/editing Chromium graphs. """...
excid3/chromium
mothership/tools/graph.py
Python
bsd-3-clause
51,080
[ "Brian" ]
2bc1438304e8390db6c325392d609da881af2720a8d13344dd4aa10d20d7ce12
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Copyright 2012-2017 Romain Boman # # 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....
rboman/progs
apps/octree/octree.py
Python
apache-2.0
12,207
[ "VTK" ]
5f04dbea9e8795fdef159452823d32c5e0a47844cf8b5164ec1f9b5a5043ea6b
from django.core.urlresolvers import reverse from django.utils.translation import ugettext_lazy as _ from horizon import exceptions from horizon import forms from horizon import messages from crystal_dashboard.api import controllers as api from crystal_dashboard.dashboards.crystal import exceptions as sdsexception cl...
Crystal-SDS/dashboard
crystal_dashboard/dashboards/crystal/controllers/controllers/forms.py
Python
gpl-3.0
6,104
[ "CRYSTAL" ]
463de808c198d94c7a2788eb749253f22f91c02643d15b3d9a3aadc8d7e26626
from __future__ import print_function, division import collections from sympy.core.add import Add from sympy.core.basic import Basic, Atom from sympy.core.expr import Expr from sympy.core.function import count_ops from sympy.core.logic import fuzzy_and from sympy.core.power import Pow from sympy.core.symbol import Sym...
madan96/sympy
sympy/matrices/matrices.py
Python
bsd-3-clause
160,652
[ "DIRAC", "Gaussian" ]
b20f3c70eb368549a8a1c88abefe7b110f073668dc2284210165da7e68e7db0e
""" # LiveUtils, a collection of simple utility functions for controlling Ableton Live # Copyright (C) 2007 Rob King (rob@e-mu.org) # # 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; eithe...
jim-cooley/abletonremotescripts
remote-scripts/samples/Twister Ableton Script v1.2.2/_Mono_Framework/LiveUtils.py
Python
apache-2.0
7,425
[ "VisIt" ]
c63e9e4546f133bb2764e0982538975a3a5987a45a8e8f323c79670b7651df61
# $Id$ # # Copyright (C) 2006 greg Landrum # # @@ 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. # from rdkit import RDConfig import unittest,sys,os,ma...
soerendip42/rdkit
rdkit/Chem/FeatMaps/UnitTestFeatMap.py
Python
bsd-3-clause
10,817
[ "RDKit" ]
9835dc99fd27b7b359bca99fb5ae00859277ae7a4a4fa762cd48cb2987fd1344
import cryspy.const import cryspy.blockprint import cryspy.hash import cryspy.numbers import cryspy.geo import cryspy.crystal import cryspy.fromstr import cryspy.niceprint import cryspy.tables import cryspy.blender import cryspy.povray import cryspy.lab import cryspy.utils
tobias-froehlich/cryspy
cryspy/__init__.py
Python
gpl-3.0
274
[ "CRYSTAL" ]
c7eafdaa38d7a794d4d5c8f282fc42b23577bba687f8ae109ce5c90c6daeb441
"""Provide the Reddit class.""" import os try: from update_checker import update_check UPDATE_CHECKER_MISSING = False except ImportError: # pragma: no cover UPDATE_CHECKER_MISSING = True from prawcore import (Authorizer, DeviceIDAuthorizer, ReadOnlyAuthorizer, Redirect, Requestor, ...
voussoir/praw
praw/reddit.py
Python
gpl-3.0
18,566
[ "VisIt" ]
d70dd1ed802f53a6643eb19fb7907925c4810f3d6cdccb0f29cd991ee77904e1
import numpy as np import os.path import DataMorphing as dm import DataAnalysis as da def load_target_and_cg_rdf(target_filename, cg_filename, averaging='yes'): """ Loads two preprocessed rdf files (named rdf_* for the CG ones, and rdf.* for the target ones) and provides difference and squared difference values. ...
djgroen/FabSim
python/lib/LammpsIO.py
Python
lgpl-3.0
11,904
[ "LAMMPS" ]
4a0108046e4138e981d6d1dc01df3ff9e5dc599e842bd16440d8e334e7090505
# Copyright 2015 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...
meteorcloudy/tensorflow
tensorflow/python/ops/gradients_impl.py
Python
apache-2.0
44,676
[ "VisIt" ]
72ddcc4e9dbaeaa3b878e9733b57edc56bd953006fd1dcbacf4314d41f2385fd
#!/usr/bin/python # -*- coding: utf-8 -*- # --------------------------------------------------------------------- # Copyright (c) 2012 Michael Hull. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are m...
mikehulluk/morphforge
src/morphforge/core/mfrandom.py
Python
bsd-2-clause
2,492
[ "NEURON" ]
f49f151a6aa69c3beada9588eeafc1fef15fc094f905637932d1b1a66ae8e01b
# Copyright (c) 2012-2014, James Hensman # Licensed under the BSD 3-clause license (see LICENSE.txt) from .posterior import Posterior from ...util.linalg import jitchol, tdot, dtrtrs, dpotri, pdinv import numpy as np from . import LatentFunctionInference log_2_pi = np.log(2*np.pi) class DTC(LatentFunctionInference): ...
ptonner/GPy
GPy/inference/latent_function_inference/dtc.py
Python
bsd-3-clause
5,661
[ "Gaussian" ]
554d0ce2b0dbabe89bba8ff6089cb7c782ed1b9b7583746989baacffc50b8cbb
# -*- coding: utf-8 -*- # Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
googleapis/python-service-control
tests/unit/gapic/servicecontrol_v1/test_service_controller.py
Python
apache-2.0
55,629
[ "Octopus" ]
3d663d6714448a6fc43207fb04b9cf45c332ddd949fad27bcbb1ffd8f8f9490d
#!/usr/bin/env python3 # Copyright 2021 Stanford University # # 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...
StanfordLegion/legion
language/test.py
Python
apache-2.0
26,571
[ "VisIt" ]
09f00c128e445b25692dda9bc0c8aaac38493ee743b62124b8e191843268732f
# Copyright (c) 2012-2014, Max Zwiessele, James Hensman # Licensed under the BSD 3-clause license (see LICENSE.txt) __doc__ = """ Inference over Gaussian process latent functions In all our GP models, the consistency propery means that we have a Gaussian prior over a finite set of points f. This prior is math:: N(...
befelix/GPy
GPy/inference/latent_function_inference/__init__.py
Python
bsd-3-clause
4,148
[ "Gaussian" ]
e2693d6c6393f123135790999b1aa97270f7e9b6ff5f44688f5795907922650b
# Copyright 2015 Google Inc. 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 applicable law or a...
panmari/tensorflow
tensorflow/contrib/distributions/python/kernel_tests/gaussian_test.py
Python
apache-2.0
2,627
[ "Gaussian" ]
d484411f708425b6e794bf19ab77ae64e0dcfaf9411b7c53a835da993428b81b
# -*- coding: utf-8 -*- import glob as glob import os from natsort import natsorted import bibtexparser as bt def parse_bib(f): bib_database = bt.bparser.BibTexParser(common_strings=True).parse_file(open(f)) bd = bib_database.entries[0] s = "<span style=\"font-size:1.0em;\">**"+bd['title']+"**</span><br>...
delton137/delton137.github.io
build_bibliography.py
Python
mit
7,322
[ "Brian", "CRYSTAL" ]
720a0ef69e4bafa164a9297e9f2f1060d40ed4fa21e3d3cb683272d0a7428983
""" Project FPGA-Imaging-Library Design Threshold Function Convert gray-scales image to binary images. Module Software simulation. Version 1.0 Modified 2015-05-15 Copyright (C) 2015 Tianyu Dai (dtysky) <dtysky@outlook.com> This library is free software; you can redistribute it and/or modify it under the terms of...
jaechoon2/FPGA-Imaging-Library
Point/Threshold/SoftwareSim/sim.py
Python
lgpl-2.1
3,137
[ "MOE" ]
23ae5113a12aadb4e6e44b254767e1b26604208f4ac8df12dfe613246c2df279
def removeLFNs_subjobs(job,sublist): ds = LHCbDataset() if type(job.backend)==Dirac: for sjid in sublist: sj = job.subjobs(sjid) if sj.status == 'completed': for of in sj.outputfiles: try: the_lfn = of.lfn ...
pseyfert/gangascripts
removeremote.py
Python
gpl-2.0
2,951
[ "DIRAC" ]
02641d845c1fd4d70a652262db04f859aeeb881f8616ec91c024b3be37ab218e
"""Populate the database with fake data.""" import random from django.core.management import call_command from django.core.management.base import BaseCommand from django.db import transaction import profiles.models import users.models import visits.models from profiles.factory import StudentFactory, TutorFactory, Tu...
oser-cs/oser-website
core/management/commands/populatedb.py
Python
gpl-3.0
4,619
[ "VisIt" ]
53ad2f5d8c060e7e0063b908867908b24362343d0886befb7f26f6cf78b162ea
# Copyright 2008 Michiel de Hoon. # Revisions copyright 2009 Leighton Pritchard. # Revisions copyright 2010 Peter Cock. # All rights reserved. # This code is part of the Biopython distribution and governed by its # license. Please see the LICENSE file that should have been included # as part of this package. """Code t...
zjuchenyuan/BioWeb
Lib/Bio/Emboss/Primer3.py
Python
mit
5,455
[ "Biopython" ]
c9f5ddb00aac9785e062534351be2b2d685491ce019d4cbcea8428c23fc9f682
"""Need type, Plot() and ModelUpdate().""" import wx import vtk import numpy import os # from vtk.wx.wxVTKRenderWindowInteractor import wxVTKRenderWindowInteractor # use Enthought version copied from svn/enthought/src/lib/enthought/pyface/tvtk/wxVTKRenderWindowInteractor.py # which fixes bug crashing wxVTKRenderWindow...
cliburn/flow
src/plugins/visual/ThreeDFrame/Main.py
Python
gpl-3.0
17,406
[ "VTK" ]
0e96814912ddf04956b83726c55fe2ca70ffb9c2562fe392e2763c075b880414
# ============================================================================= # Federal University of Rio Grande do Sul (UFRGS) # Connectionist Artificial Intelligence Laboratory (LIAC) # Renato de Pontes Pereira - rppereira@inf.ufrgs.br # ============================================================================= ...
renatopp/liac
samples/models/samples_gmm.py
Python
mit
2,654
[ "Gaussian" ]
58813e46ca3a7e4bf39e2a6a033e9c9021c4ecf8f7a1009fdab648dfed1435ef
""" Unit page in Studio """ from bok_choy.page_object import PageObject from bok_choy.promise import EmptyPromise, Promise from . import BASE_URL from .container import ContainerPage class UnitPage(PageObject): """ Unit page in Studio """ def __init__(self, browser, unit_locator): super(Uni...
hkawasaki/kawasaki-aio8-1
common/test/acceptance/pages/studio/unit.py
Python
agpl-3.0
3,855
[ "VisIt" ]
caea710fd4b63231fe0a70083a54319c24b4b6ee01274113404668fa45bd3d7b
# # gaussInterp_slow routine -- Gaussian weighted smoothing in lat, lon, and time # # Based on Ed Armstrong's routines. Pure python implementation. # # # Gaussian weighting = exp( vfactor * (((x - x0)/sx)^2 + ((y - y0)/sy)^2 + ((t - t0)/st)^2 )) # # where deltas are distances in lat, lon and time and sx, sy, st are...
dataplumber/nexus
climatology/clim/gaussInterp_slow.py
Python
apache-2.0
6,365
[ "Gaussian" ]
5ab05a75254981af13339754d8657727f7b51069451e585aabe72ed77532a55c
#!/usr/bin/env python import sncosmo import numpy as np import scipy import sources import astropy.modeling import astropy.cosmology """ Introduce Galaxy and Universe classes that may exist elsewhere already but are included here for the demonstration of the proposed usage. Note that the galaxy and universe are re...
rbiswas4/SNsims
snsims_previous/snsims/testUniverse.py
Python
mit
14,004
[ "Galaxy" ]
430e5f85353f14c11f5f86357dee901b04f51542ec039a8fcac658df351cca42