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
# Copyright 2008-2014 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...
userzimmermann/robotframework-python3
src/robot/model/statistics.py
Python
apache-2.0
2,605
[ "VisIt" ]
4ca4a5d4b3e5f9c72a7a2307c00360cda0c69e0e619b6e1920614574ba13d7ad
# # Author: Travis Oliphant 2002-2011 with contributions from # SciPy Developers 2004-2011 # from __future__ import division, print_function, absolute_import import warnings from scipy.special import comb from scipy.misc.doccer import inherit_docstring_from from scipy import special from scipy import optim...
chaluemwut/fbserver
venv/lib/python2.7/site-packages/scipy/stats/_continuous_distns.py
Python
apache-2.0
106,333
[ "Gaussian" ]
ebf05778c3fc561a1b6a153d373957b04c86a2c12f19d573305871547a40c3c5
#! /usr/bin/env python # # @BEGIN LICENSE # # Psi4: an open-source quantum chemistry software package # # Copyright (c) 2007-2022 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 redistr...
psi4/psi4
psi4/versioner.py
Python
lgpl-3.0
14,572
[ "Psi4" ]
d3ca5dca960b4946fce2e6187aa6e4beb52ab8e151b423ec5815bdc10a696630
""" This is a test of the IntegrityDB It supposes that the DB is present. This is pytest! """ from __future__ import absolute_import from __future__ import division from __future__ import print_function # pylint: disable=invalid-name,wrong-import-position import time from DIRAC import gLogger from DIRAC.Co...
ic-hep/DIRAC
tests/Integration/DataManagementSystem/Test_DataIntegrityDB.py
Python
gpl-3.0
3,495
[ "DIRAC" ]
9a05863d8e86b8b09b1214707d3fef9e96542244945c60c5840b090dac6ee319
# Copyright Iris contributors # # This file is part of Iris and is released under the LGPL license. # See COPYING and COPYING.LESSER in the root of the repository for full # licensing details. """Integration tests for pickling things.""" # Import iris.tests first so that some things can be initialised before # importi...
bjlittle/iris
lib/iris/tests/integration/test_pickle.py
Python
lgpl-3.0
1,548
[ "NetCDF" ]
51b4fabb749789893a1aedd81c87bdbaddfe3eb927a2da287b68d2c76ccdd78d
from os.path import abspath, basename, join, exists from os.path import dirname from os.path import relpath from os import listdir, sep from re import findall from io import open from ..staging import COMMAND_VERSION_FILENAME from ..action_mapper import FileActionMapper from ..action_mapper import path_type from ..act...
jmchilton/pulsar
pulsar/client/staging/up.py
Python
apache-2.0
17,204
[ "Galaxy" ]
785d45c7558af4f6fa5d4ffe4349942c9a886e79e1ced47cbe615753b4528e76
import numpy as np class AdalineGD: ''' ADAptive LInear NEuron classifier. Parameeters --------------- eta : float Learning rate (0.0~1.0) n_iter : int Passes over the training dataset. Attributes --------------- w_ : ld-array Weights after fitting error...
stoneflyop1/py_machine_learning
ch02/adaline.py
Python
mit
1,649
[ "NEURON" ]
501928a40d36d2771bb8873500823fbcb210d54fc0ff584509608bf267ea6584
#!/usr/bin/env python """ Install.py tool to download, compile, and setup the kim-api library used to automate the steps described in the README file in this dir """ from __future__ import print_function import sys, os, subprocess, shutil from argparse import ArgumentParser sys.path.append('..') from install_helpers...
akohlmey/lammps
lib/kim/Install.py
Python
gpl-2.0
7,085
[ "LAMMPS", "OpenKIM" ]
c77328aa9f0845e398853ea300aff14edcc6c3b3797972f97b29708167f40edb
from __future__ import absolute_import # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: import numpy as np from .transform import Transform from .affine import apply_affine from ._register import _apply_polyaffine TINY_SIGMA = 1e-200 class PolyAffine(...
alexis-roche/nireg
nireg/polyaffine.py
Python
bsd-3-clause
4,605
[ "Gaussian" ]
fc56c784f8ae179a1d44ec0f4232b184a4a3c0549cf43c01b7cf91e0cd544117
#!/usr/bin/env python """ Artificial Intelligence for Humans Volume 3: Deep Learning and Neural Networks Python Version http://www.aifh.org http://www.jeffheaton.com Code repository: https://github.com/jeffheaton/aifh Copyright 2015 by Jeff Heaton Licensed under the Apache License, V...
PeterLauris/aifh
vol3/vol3-python-examples/lib/aifh/mnist.py
Python
apache-2.0
1,933
[ "VisIt" ]
4f6c220ac94162fe92f7e69e54dc60e235c9af3da6b0e7cdb22e9ead79bb420e
## @package shesha.config.PCENTROIDER ## @brief Param_centroider class definition ## @author COMPASS Team <https://github.com/ANR-COMPASS> ## @version 5.2.1 ## @date 2022/01/24 ## @copyright GNU Lesser General Public License # # This file is part of COMPASS <https://anr-compass.github.io/compass/> # # ...
ANR-COMPASS/shesha
shesha/config/PCENTROIDER.py
Python
gpl-3.0
9,634
[ "Gaussian" ]
c7ddf5dc274ba70e91918d9b485b755d5b7a1d8d10ec2ab974fa029c8545751a
""" Module with support functions for morphology """ from __future__ import division from __future__ import unicode_literals from __future__ import print_function from __future__ import absolute_import # Code adapted from https://github.com/ahwillia/PyNeuron-Toolbox under MIT license from builtins import zip from b...
Neurosim-lab/netpyne
netpyne/support/morphology.py
Python
mit
18,635
[ "NEURON" ]
a506323ff682655b0588615510a450f609d51fd54f601977f8ace5fba059472a
# This code is part of Ansible, but is an independent component. # This particular file snippet, and this file snippet only, is BSD licensed. # Modules you write using this snippet, which is embedded dynamically by Ansible # still belong to the author of the module, and may assign their own license # to the complete wo...
wenottingham/ansible
lib/ansible/module_utils/basic.py
Python
gpl-3.0
95,220
[ "VisIt" ]
ef181d2a3e826c194de948d258f7a0c8fae26a4481a32c06be62c2d2c5f8d70e
# Copyright 2018 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...
kevin-coder/tensorflow-fork
tensorflow/tools/compatibility/tf_upgrade_v2_test.py
Python
apache-2.0
65,711
[ "Gaussian" ]
de848678cb97b66a14d148f2623bc39322948ceb56ee015f16d5a4ba5973d22a
#!/usr/bin/env python3 """ Copyright 2020 Paul Willworth <ioscode@gmail.com> This file is part of Galaxy Harvester. Galaxy Harvester is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 ...
pwillworth/galaxyharvester
html/getSchematicList.py
Python
gpl-3.0
7,494
[ "Galaxy" ]
99a776dc6ea11029129f9c33a1a38b6f0b0f4dc8afd05840f4c17a4b806df620
import types_g import hextools import logging import os import re import shlex import subprocess TYPE_SIM = 0 TYPE_USIM = 1 #TODO: try to use types.fidFromPath(self.simFiles.findFileFromName('EF_ARR')) EF_ARR_MF = 0x2F06 EF_ARR = 0x6F06 INVALID_RECORD_NUMBER = 0 DEFAULT_APP_AID = [0xA0,0x00,0x00,0x00,0x87,0x10,0x09...
kamwar/simLAB
util/types.py
Python
gpl-2.0
22,188
[ "ADF" ]
2ce4dbd676cb835eac2a2ca2a12e466795e8836dd60e060945525e5e5fb9252e
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/websecurityscanner_v1alpha/proto/crawled_url.proto import sys _b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as ...
dhermes/google-cloud-python
websecurityscanner/google/cloud/websecurityscanner_v1alpha/proto/crawled_url_pb2.py
Python
apache-2.0
4,916
[ "VisIt" ]
95913c7f4f5bccc8fcd767be670e050bab4ddb55f0d2ba1f3b810f495e192c87
# class generated by DeVIDE::createDeVIDEModuleFromVTKObject from module_kits.vtk_kit.mixins import SimpleVTKClassModuleBase import vtk class vtkParticleReader(SimpleVTKClassModuleBase): def __init__(self, module_manager): SimpleVTKClassModuleBase.__init__( self, module_manager, vtk...
chrisidefix/devide
modules/vtk_basic/vtkParticleReader.py
Python
bsd-3-clause
484
[ "VTK" ]
5901b9de031e5c8691ff397c2e329d7cb3c4ddccc45071c377580f91b0d57001
""" =========================== Compare normalization types =========================== This example illustrates the effect of the different implemented normalizations. First, the true PAC is estimated, then this is the surrogate distribution that is estimated (i.e the PAC that could be obtained by chance). Finally, t...
EtienneCmb/tensorpac
examples/pac/plot_compare_normalizations.py
Python
bsd-3-clause
3,134
[ "Gaussian" ]
419809f923e413bc13f64e5a5951432c5f65512b1dcea6dc050d4f6a5835af94
#!/usr/bin/env python # Copyright (C) 2004 CCLRC & NERC( Natural Environment Research Council ). # This software may be distributed under the terms of the # Q Public License, version 1.0 or later. http://ndg.nerc.ac.uk/public_docs/QPublic_license.txt """ cdms_to_na.py ============= Holds the class CDMS...
eufarn7sp/egads-eufar
egads/thirdparty/nappy/contrib/aircraft/old_na_to_nc_with_aircraft.py
Python
bsd-3-clause
31,533
[ "NetCDF" ]
cb821766d8bb7799b78890fc68177dfc1221593283fb179649941cea530f574f
# -*- coding: utf-8 -*- """ Acceptance tests for Video. """ from nose.plugins.attrib import attr from unittest import skipIf, skip from ..helpers import UniqueCourseTest, is_youtube_available, YouTubeStubConfig from ...pages.lms.video.video import VideoPage from ...pages.lms.tab_nav import TabNavPage from ...pages.lms...
beni55/edx-platform
common/test/acceptance/tests/video/test_video_module.py
Python
agpl-3.0
36,624
[ "VisIt" ]
879c4fdfa571ca84fc4020ae00f03d7f91489ca4af338115f894e2168321b36a
# # 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...
vinodpanicker/scancode-toolkit
tests/scancode/test_utils.py
Python
apache-2.0
3,178
[ "VisIt" ]
c9b0330f75a0c3c69c839e06d0195590a1591171e707840620e4e8a0888dc959
import pickle import gzip import os, sys, errno import time import math import glob import struct # numpy & theano imports need to be done in this order (only for some numpy installations, not sure why) import numpy # we need to explicitly import this in some cases, not sure why this doesn't get imported with numpy ...
bajibabu/merlin
src/work_in_progress/oliver/mdn_synth.py
Python
apache-2.0
30,030
[ "Gaussian", "NEURON" ]
d3dd589dc0ccb97233b6a456b3221100a124c2e32b3b4634af3956f1c106af3b
######################################################################## # File : SiteDirector.py # Author : A.T., F.S. ######################################################################## """ The Site Director is an agent performing pilot job submission to particular sites/Computing Elements. .. literalincl...
chaen/DIRAC
WorkloadManagementSystem/Agent/SiteDirector.py
Python
gpl-3.0
59,280
[ "DIRAC" ]
08e16d631accd554e9c3b7750b5199416082b8e749052f16bc30082a7c40f98e
''' Created on 2017. 5. 17. @author: Byoungho Kang - (3,4) matrix, (4,6) matrix를 feed 받아 matrix multiply 하는 model 생성하기 - feed 값은 Gaussian Distribution에서 Random 추출하기 (numpy.random.randn(d0, d1, ..., dn)) ''' import numpy as np import tensorflow as tf ''' Initialize Tensors ''' x1 = tf.placeholder(tf.f...
medit74/DeepLearning
MyTensorflow/MyTensorBasic/mytensor_quiz.py
Python
apache-2.0
717
[ "Gaussian" ]
7639014245ed6a892d17029034a5bb81f1802a3108c2c3deee7dada5365fb411
# coding: utf8 { '': '', ' Quotas: %(quotas)s x%(quota_amount).2f': ' Quotas: %(quotas)s x%(quota_amount).2f', ' Transaction number: %s': ' Transaction number: %s', '"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"update" is an optional expression lik...
reingart/erplibre.app
languages/es-es.py
Python
agpl-3.0
34,259
[ "VisIt" ]
ac29d6404e1e664560c9b523b16402f6d68d08119d7e7040c76504d9eb087448
#!/usr/bin/env python3 #* This file is part of the MOOSE framework #* https://www.mooseframework.org #* #* All rights reserved, see COPYRIGHT for full restrictions #* https://github.com/idaholab/moose/blob/master/COPYRIGHT #* #* Licensed under LGPL 2.1, please see LICENSE for details #* https://www.gnu.org/licenses/lgp...
nuclear-wizard/moose
python/peacock/Execute/ConsoleOutputViewerPlugin.py
Python
lgpl-2.1
2,332
[ "MOOSE" ]
eb74b8c13f4d485736f5d12924f26cf2358b0ff6ca09cbe5a4dbebbdb19e1233
""" This is our testing framework. Goals: * it should be compatible with py.test and operate very similarly (or identically) * doesn't require any external dependencies * preferably all the functionality should be in this file only * no magic, just import the test file and execute the test functions, that's it * po...
Mitchkoens/sympy
sympy/utilities/runtests.py
Python
bsd-3-clause
79,087
[ "VisIt" ]
7e4ff277b8e72e66d8d4796ff37ad566aa4c54cc7f7383d11063c198090b8a3f
class a: """float division of arr1 by arr2. returns lim instead of yeilding a zero error""" class b: """replaces elements set to lim in arr with a value set as being an order of magnitude higher than the square of the maximum value of arr. converts all elements of arr to numpy.float64 dtype""" class c: """di...
janhui/test_engine
release/rastercalc/DocStrings.py
Python
lgpl-2.1
1,417
[ "NetCDF" ]
3f438676a7bcc2c7fe8977c5460e3ab9990d297ab721a0cad3644a7a52b54539
# 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...
jalexvig/tensorflow
tensorflow/contrib/autograph/converters/control_flow.py
Python
apache-2.0
11,455
[ "VisIt" ]
01c9e2ac699586dd7a49a4c7ad9deed34f3de9447676e54d8ec223251886eb43
# ============================================================================ # # Copyright (C) 2007-2012 Conceptive Engineering bvba. All rights reserved. # www.conceptive.be / project-camelot@conceptive.be # # This file is part of the Camelot Library. # # This file may be used under the terms of the GNU General...
jeroendierckx/Camelot
camelot/model/authentication.py
Python
gpl-2.0
3,959
[ "VisIt" ]
264e93aba1c37ddf1de15395b90e4b0dbc3d90c3cfe966462cc918fd0786262a
"""Functionality to query and extract information from aligned BAM files. """ from __future__ import print_function import collections import os import signal import subprocess import numpy import pybedtools import pysam import toolz as tz from six.moves import zip_longest from bcbio import broad, utils from bcbio.ba...
vladsaveliev/bcbio-nextgen
bcbio/bam/__init__.py
Python
mit
26,181
[ "BWA", "pysam" ]
a5857ca0de362f690ddfd807d4823720cb4f4020829e38217560246f18f27d75
# ---------------------------------------------------------------------------- # Copyright (c) 2013--, scikit-bio development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. # --------------------------------------------...
demis001/scikit-bio
skbio/io/format/tests/test_clustal.py
Python
bsd-3-clause
10,849
[ "scikit-bio" ]
800fefead63d87df94be26499f8053918041ddb37f9d328e5d1790ba342829b3
"""Attempt to generate templates for module reference with Sphinx XXX - we exclude extension modules To include extension modules, first identify them as valid in the ``_uri2path`` method, then handle them in the ``_parse_module`` script. We get functions and classes by parsing the text of .py files. Alternatively w...
pacoqueen/ginn
extra/install/ipython2/ipython-5.10.0/docs/sphinxext/apigen.py
Python
gpl-2.0
16,793
[ "VisIt" ]
3a79a79c518cbb59c66cb5944b9326686120328c1f9ec3a1e588a7af69ea4e89
''' Created on Jan 24, 2016 @author: Dan ''' import random import galaxy class Universe(object): ''' classdocs ''' def __init__(self, seed=None): ''' Constructor ''' self.seed = seed self.galaxies = [] self.cre...
JackAnansi/WorldBuilder
src/universe.py
Python
gpl-3.0
1,038
[ "Galaxy" ]
c7dedc3e4ecad5326f9628be80f9816127fe7a83f4ce518c4e4639a0fc3b2b6e
# -*- coding: utf-8 -*- # Copyright (C) Brian Moe (2013-2014), Duncan Macleod (2014-) # # This file is part of LIGO CIS Core. # # LIGO CIS Core 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 ...
lscsoft/cis.server
cisserver/tests.py
Python
gpl-3.0
832
[ "Brian", "MOE" ]
df5920119ba0dfed7a3adb6c3c4d1eb99aa4ead4eebda96600349248487149fd
# Copyright (c) 2015-2018 by the parties listed in the AUTHORS file. # All rights reserved. Use of this source code is governed by # a BSD-style license that can be found in the LICENSE file. import re from toast.op import Operator import toast.rng as rng import toast.timing as timing class OpGainScrambler(Operat...
tskisner/pytoast
src/python/tod/gainscrambler.py
Python
bsd-2-clause
3,193
[ "Gaussian" ]
e53650bcd220b8b3ce06e7cbf7d16bb16b9c3faab0dc3d4c34c210953de3b865
# -*- coding:utf-8 -*- import os from error import configure_errorhandlers from . import blueprint from schedule import CelerySchedule from koushihime.utils import Env env = Env() basedir = os.path.abspath(os.path.dirname(__file__)) class Config(CelerySchedule): SECRET_KEY = env.get('SECRET_KEY') or 'the answe...
ethe/KoushiHime
koushihime/config/__init__.py
Python
artistic-2.0
2,020
[ "MOE" ]
b49d36d6da3d7cf81dd6005f9e2e9a6991dfc47a57543382762d4826283f5805
"""setuptools.command.bdist_egg Build .egg distributions""" from distutils.errors import DistutilsSetupError from distutils.dir_util import remove_tree, mkpath from distutils import log from types import CodeType import sys import os import re import textwrap import marshal import warnings from setuptools.extern imp...
openprivacy/.emacs.d
elpy/rpc-venv/lib/python3.8/site-packages/setuptools/command/bdist_egg.py
Python
gpl-2.0
18,482
[ "VisIt" ]
a5563de7e9ec334535fd098ad3578b45e763583c3daee130ad9c4169ef05c990
import os from dateutil import parser from django.conf import settings from hs_core.models import ResourceFile from hs_core.hydroshare import add_resource_files from hs_core.views.utils import create_folder, move_or_rename_file_or_folder, zip_folder, \ unzip_file, remove_folder from hs_core.views.utils import run...
FescueFungiShare/hydroshare
hs_core/testing.py
Python
bsd-3-clause
35,732
[ "NetCDF" ]
83325520321907e9ea768cc1267ad37d3867e7b493f389d4534fdb13f683c46a
import math import matplotlib matplotlib.use('Agg') from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas from matplotlib.figure import Figure import matplotlib.pyplot as plt from matplotlib import colors import StringIO import numpy from os import listdir from os.path import basename import json ...
sostenibilidad-unam/geo-value-function
server.py
Python
gpl-3.0
29,783
[ "Gaussian" ]
fe0190285fe7810fbeda42dfe09f82f98ed4fdf7bfa53fac13710958746ffd6b
import os import os.path import sys sys.path.insert(0, os.path.abspath('lib')) from ansible.release import __version__, __author__ try: from setuptools import setup, find_packages except ImportError: print("Ansible now needs setuptools in order to build. Install it using" " your package manager (usua...
napkindrawing/ansible
setup.py
Python
gpl-3.0
3,727
[ "Galaxy" ]
612b0d348c5a755cc2ae5d029374b90259b069a7a337d9718678bc58333dd223
import numpy as np import os try: import netCDF4 as netCDF except: import netCDF3 as netCDF import matplotlib.pyplot as plt import time from datetime import datetime from matplotlib.dates import date2num, num2date import pyroms import pyroms_toolbox import _remapping class nctime(object): pass def remap_clm(...
kshedstrom/pyroms
examples/Palau_HYCOM/remap_clm.py
Python
bsd-3-clause
4,939
[ "NetCDF" ]
df8041b29ced40503e11a2fbb8f39b4e8cf502d785d5f3814b4e9e0c2dd96d1c
# -*- coding: utf-8 -*- """ ORCA Open Remote Control Application Copyright (C) 2013-2020 Carsten Thielepape Please contact me by : http://www.orca-remote.org/ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as publish...
thica/ORCA-Remote
src/ORCA/actions/GuiControl.py
Python
gpl-3.0
6,801
[ "ORCA" ]
088638aae861f0e24ea7d7e2573f88669f2ff08e45e5cef2ddec5a0f61b7698b
#!/usr/bin/python3 # # Copyright (c) 2012 Mikkel Schubert <MikkelSch@gmail.com> # # 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 ...
MikkelSchubert/paleomix
paleomix/nodes/sequences.py
Python
mit
5,576
[ "pysam" ]
e43ffa3ce4d202e014a25697240f0bb9509c1a6693863cfba3bc40e05327897f
""" Courseware views functions """ import json import logging import urllib from collections import OrderedDict from datetime import datetime import analytics import newrelic.agent from django.conf import settings from django.contrib.auth.decorators import login_required from django.contrib.auth.models import User, A...
devs1991/test_edx_docmode
lms/djangoapps/courseware/views.py
Python
agpl-3.0
71,626
[ "VisIt" ]
490c9bc4dd561e20989031b5ac132038ca9f5200009ba3f68aaac92a9adfaa98
from __future__ import absolute_import, division, print_function import numbers import os import re import subprocess import sys import decimal import warnings from functools import partial from operator import attrgetter from itertools import chain from collections import Iterator from datetime import datetime, date...
quantopian/odo
odo/backends/sql.py
Python
bsd-3-clause
34,206
[ "VisIt" ]
89c577fa43cb1c30cfe5779e7777d5eb87c9802d3e73708a175f119234a96027
""" This class is used to define the plot using the plot attributes. """ from DIRAC import S_OK, gLogger from DIRAC.MonitoringSystem.Client.Types.RMSMonitoring import RMSMonitoring from DIRAC.MonitoringSystem.private.Plotters.BasePlotter import BasePlotter class RMSMonitoringPlotter(BasePlotter): """ .. cl...
DIRACGrid/DIRAC
src/DIRAC/MonitoringSystem/private/Plotters/RMSMonitoringPlotter.py
Python
gpl-3.0
3,131
[ "DIRAC" ]
51965a60dd46b1828dea137f0ffeacd1ad2f91d99d434b5f99920efa83166b08
#!/usr/bin/env python """ synfig_fileformat.py Synfig file format utilities Copyright (C) 2011 Nikita Kitaev This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at y...
danieljabailey/inkscape_experiments
share/extensions/synfig_fileformat.py
Python
gpl-2.0
7,140
[ "Gaussian" ]
0e9e01a8f8feaf66c94eec2c871c2b5999ee60d44961156fa9eee42251c9613d
import os from os.path import dirname, join import numpy as np from matplotlib import pyplot as plt from matplotlib.testing.decorators import image_comparison from matplotlib.testing.compare import compare_images from iminuit import Minuit from probfit.plotting import draw_pdf, draw_compare_hist from probfit.pdf import...
mtresch/probfit
test/testplotting.py
Python
mit
8,216
[ "Gaussian" ]
5ca4eb3b1138874daa4f96a0213bb1b2430acb81af5fbda8a801c57abfcdbe0e
# -*- Mode: Python; coding: utf-8 -*- # vi:si:et:sw=4:sts=4:ts=4 ## ## Copyright (C) 2007-2010 Async Open Source <http://www.async.com.br> ## All rights reserved ## ## 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 Fre...
andrebellafronte/stoq
stoqlib/domain/payment/views.py
Python
gpl-2.0
14,018
[ "VisIt" ]
0a143c6a7a3a485888aa96f99ccacc42aa7a4d5bbeda8b19135148117dcb5bcc
# Licensed under a 3-clause BSD style license - see LICENSE.rst import warnings import numpy as np from numpy.core.multiarray import normalize_axis_index from astropy.units import Quantity from astropy.utils import isiterable from astropy.utils.exceptions import AstropyUserWarning from astropy.stats._fast_sigma_clip...
aleksandr-bakanov/astropy
astropy/stats/sigma_clipping.py
Python
bsd-3-clause
38,912
[ "Gaussian" ]
2cd9238a27592bebfca1debec90ec13a2b2e6bcf672b7ba558f50c2a356c8418
# -*- coding: utf-8 -*- # vi:si:et:sw=4:sts=4:ts=4 ## ## Copyright (C) 2012 Async Open Source <http://www.async.com.br> ## All rights reserved ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundati...
andrebellafronte/stoq
stoqlib/gui/test/test_qualitytesteditor.py
Python
gpl-2.0
1,183
[ "VisIt" ]
e06e2269a07de661556f669724bf38f7df6a4ca0fbbfc8aae0c817a9a3f7e09d
#!/usr/bin/env python3 #pylint: disable=missing-docstring #* This file is part of the MOOSE framework #* https://www.mooseframework.org #* #* All rights reserved, see COPYRIGHT for full restrictions #* https://github.com/idaholab/moose/blob/master/COPYRIGHT #* #* Licensed under LGPL 2.1, please see LICENSE for details ...
nuclear-wizard/moose
python/chigger/tests/utils/test_get_active_filenames.py
Python
lgpl-2.1
1,925
[ "MOOSE" ]
124bfef0e8a0f8426a0f9b36eb0c307f0f394f4b25abbc917aa2a1f988b7701f
# Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except jin compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
luotao1/Paddle
python/paddle/fluid/dygraph/parallel.py
Python
apache-2.0
30,694
[ "MOE" ]
701b0d4ee1f8cbe83de79d010ae0c1d6d07c26d91c3936ef5a976847094b38d2
# coding: utf-8 # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. import collections import abc import numpy as np from pymatgen.core.spectrum import Spectrum from pymatgen.util.plotting import add_fig_kwargs """ This module implements core classes for calculation of diff...
dongsenfo/pymatgen
pymatgen/analysis/diffraction/core.py
Python
mit
7,550
[ "CRYSTAL", "pymatgen" ]
3ab04f85a6786617c50711d3ffce54d234a7e592413c59e8dbdf714c506083cc
# constants.py #Part of the climlab package #Brian Rose, University at Albany #brose@albany.edu """Contains a collection of physical constants for the atmosphere and ocean. .. literalinclude:: ../code_input_manual/constants.py """ from __future__ import division from numpy import pi a = 6.373E6 # Radius ...
cjcardinale/climlab
climlab/utils/constants.py
Python
mit
3,432
[ "Brian" ]
6d086704ddf1aee4fc4a533d2052734d58ba01f2f09e9ec9792de0aea271fa9e
# -*- coding: utf-8 -*- # Copyright 2004-2020 Davide Alberani <da@erlug.linux.it> # 2008-2018 H. Turgut Uyar <uyar@tekir.org> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either ...
Vagab0nd/SiCKRAGE
lib3/imdb/parser/http/movieParser.py
Python
gpl-3.0
88,868
[ "Brian" ]
1bc6d3765b88f923b602181d67619e5a3f1ba740ca029a6fd9d695a8c5e3e1c5
import sys import os import traceback import random import getpass import tarfile from threading import Thread, RLock from subprocess import Popen, PIPE if(sys.hexversion < 0x03000000): import Queue else: import queue as Queue from p_code_input_output.c_data_set import SequenceManipulation, c_tar_f from p_code_inpu...
viswimmer1/PythonGenerator
data/python_files/30094552/data_set.py
Python
gpl-2.0
20,428
[ "Octopus" ]
e8d5febe0d8304ea174ac205b3eafbe1e3257f55e02fa5188463431bee2a10f9
# Include the Dropbox SDK libraries from dropbox import client, rest, session # Get your app key and secret from the Dropbox developer website APP_KEY = #removed for security purposes APP_SECRET = #removed for security purposes # ACCESS_TYPE should be 'dropbox' or 'app_folder' as configured for your app ACCESS_TYPE =...
levibostian/VSAS
docs/Risk assessment/dropbox_sessionUploader.py
Python
mit
1,658
[ "VisIt" ]
d499654a50c576c4b2b66d30cde44042eff571c309444a664d6345577f6498ae
# $Id$ # # Copyright (C) 2008-2011 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 Chem from rdkit import RDConfig...
jandom/rdkit
rdkit/Chem/Draw/MolDrawing.py
Python
bsd-3-clause
23,238
[ "RDKit" ]
79faaa834b2b41096efc7d516a26705c008df5feffd96975b1445d2eaea36c25
# -*- coding: utf-8 -*- # # Copyright (c) 2017, 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. """Test the Nuclear method in cclib""" import sys import os import re import logging import unittest import numpy as np ...
ATenderholt/cclib
test/method/testnuclear.py
Python
bsd-3-clause
5,592
[ "Dalton", "Gaussian", "cclib" ]
c896dec1b1d0e2cb3a7b5a2bb6b482c7337c7847373291e6dc47092870b791e4
#!/usr/bin/env python3.5 # coding=utf-8 """Threaded gps3 client""" from __future__ import print_function from threading import Thread from time import sleep try: # This kludge to get around imports with files and directories the same name. import gps3 # Python 3 except ImportError: from . import gps3 # Pyt...
wadda/gps3
gps3/gps3threaded.py
Python
mit
3,532
[ "MOE" ]
34df2a39bb8689de8f326c8767958c3d66fcb67951e9d539cf06618608f985de
#! /usr/bin/env python3 # coding: utf-8 from __future__ import annotations import base64 from collections.abc import Iterator import hashlib import hmac import typing as t import urllib.parse from geopy.geocoders import Nominatim import googlemaps import requests from gargbot_3000 import config from gargbot_3000.log...
eirki/gargbot_3000
gargbot_3000/journey/location_apis.py
Python
mit
5,189
[ "CASINO" ]
4d57a5d6e26d36b6498fdf04e6ae8405a4504ad9cf5a3e54aef139e2c2446d0c
# -*- coding: utf-8 -*- """ sphinx.writers.texinfo ~~~~~~~~~~~~~~~~~~~~~~ Custom docutils writer for Texinfo. :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. """ import re import textwrap from os import path from six import itervalues from...
WhySoGeeky/DroidPot
venv/lib/python2.7/site-packages/sphinx/writers/texinfo.py
Python
mit
46,415
[ "VisIt" ]
755de15abd08c015130da9ad2518071945c7ab315d9044e0048f98ed084dead1
# -*- coding: utf-8 -*- # # Copyright (c) 2017, 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. """Unit tests for parser ccio module.""" import os import tempfile import unittest import cclib __filedir__ = os.path....
gaursagar/cclib
test/io/testccio.py
Python
bsd-3-clause
6,156
[ "ADF", "Dalton", "GAMESS", "Gaussian", "Jaguar", "MOPAC", "Molpro", "NWChem", "ORCA", "cclib" ]
55046bd49a95b3590f27aaed56431414ddcca6c5a0271ed3863365ddca1a840b
""" Plot planes from joint analysis files. Usage: plot.py join <base_path> plot.py plot <files>... [--output=<dir>] Options: --output=<dir> Output directory [default: ./frames] """ import h5py import numpy as np import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import matplotlib.t...
maxhutch/rti-split-scales
process.py
Python
gpl-3.0
3,928
[ "VisIt" ]
68ba37825e80b17ffe27b7de8c2b9d0788cb59e0a6fe29a55daed3769c0c892d
# -*- coding: utf-8 -*- import os import logging import httplib2 from gtd_tasks import tasks_datamodel from gtd_tasks import visitors from gtd_tasks.gtd_model import Recipient from apiclient.discovery import build from django import forms from django.contrib.auth.decorators import login_required from django.core.ur...
Adnn/GTD_Tasks
gtd_django/gtasks/views.py
Python
mit
5,691
[ "VisIt" ]
50d9e8d8fe5c3addc387bfe55d26df75ddf167a6d0235893d991362ebc2d7e2f
""" =================================== Simple 1D Kernel Density Estimation =================================== This example uses the :class:`sklearn.neighbors.KernelDensity` class to demonstrate the principles of Kernel Density Estimation in one dimension. The first plot shows one of the problems with using histogram...
b1quint/samfp
samfp/tests/plot_kde_1d.py
Python
bsd-3-clause
5,163
[ "Gaussian" ]
84c12d888c87f5d58b983e7ea956faa30007cac099c918a06ca44c5a36a63c48
#._cv_part guppy.etc.tkcursors # A Tk window that shows what cursor shapes are available. # Moving the mouse over the cursor name shows the cursor in that shape. from Tkinter import * def tkcursors(master=None): if master is None: root = Tk() else: root = master for i, cursor in enumerate(( 'X_cursor'...
vmanoria/bluemix-hue-filebrowser
hue-3.8.1-bluemix/desktop/core/ext-py/guppy-0.1.10/guppy/etc/tkcursors.py
Python
gpl-2.0
1,607
[ "FLEUR" ]
4a838579f1d56b32fd4175258686a7b7424b94460d51fbaa17aa83bdde95d7f5
import os from collections import OrderedDict from functools import partial from concurrent.futures import ThreadPoolExecutor from BCBio import GFF from Bio.Seq import Seq from Bio.SeqRecord import SeqRecord from Bio.SeqFeature import SeqFeature, FeatureLocation from .utils import sort def write_gff_cluster(cluster...
bardin-lab/readtagger
readtagger/gff_io.py
Python
mit
2,656
[ "Biopython" ]
0bbe058a6817a25d98d340b9c8556557dce35688cbfccff068597b4456ca6295
# -*- coding: utf-8 -*- # vim: autoindent shiftwidth=4 expandtab textwidth=120 tabstop=4 softtabstop=4 ############################################################################### # OpenLP - Open Source Lyrics Projection # # ------------------------------------------------------...
marmyshev/transitions
openlp/plugins/bibles/forms/booknamedialog.py
Python
gpl-2.0
6,287
[ "Brian" ]
24b461fe106a4bc481ca67bff37b051775fa3f80cd008ab15ad5d4fe9e815ea8
''' description: Download KNMI radar hdf5 files (inside a tar archive) from ftp license: APACHE 2.0 author: Ronald van Haren, NLeSC (r.vanharen@esciencecenter.nl) ''' from netCDF4 import Dataset from netCDF4 import num2date import datetime import numpy from fm128_radar.write_fm128_radar import * from...
ERA-URBAN/fm128_radar_knmi
fm128_radar_knmi/convert_to_ascii.py
Python
apache-2.0
12,157
[ "NetCDF" ]
72bf94ec95695557e1410a2afe60fa97def59ef0df1c24bbbee126f8665f7789
import ast import astunparse from utils import * class IfVisitor(object): u"""The If Vistor visits a BugNode, traverses it, and tests for common antipatterns or dead code if the node is an If node """ def visit(self, node): u"""runs all of the tests on the node""" self.test_program_doe...
cbrentharris/pybugs
patterns/if.py
Python
mit
4,331
[ "VisIt" ]
46e98dd6b012ccebb081d87a9fd2b9689fefb1bea76116c8f0018d47accd9d05
# # https://github.com/atjacobs/PeakUtils adresinden alinmistir, # bu kod Matlab dunyasinda iyi bilinen peakutils'in Python cevrimi # import numpy as np from scipy import optimize from scipy.integrate import simps def indexes(y, thres=0.3, min_dist=1): '''Peak detection routine. Finds the peaks in *y* by taki...
burakbayramli/classnotes
compscieng/compscieng_1_30/peakutils.py
Python
gpl-3.0
4,934
[ "Gaussian" ]
59f93b60937d46c6dd5ad5238dbae205f335d88f4f137663ca78cab179839f58
import math import numbers import random import warnings from collections.abc import Sequence from typing import Tuple, List, Optional import torch from torch import Tensor try: import accimage except ImportError: accimage = None from . import functional as F from .functional import InterpolationMode, _inter...
PaddlePaddle/models
tutorials/mobilenetv3_prod/Step1-5/mobilenetv3_ref/torchvision/transforms/transforms.py
Python
apache-2.0
82,264
[ "Gaussian" ]
97d29c8202a84f1b219fad007ff48a48b4eb7bb2a19c345de90e45798b0d8a3f
#!/usr/bin/env python ############################################################################################## # # # CMIP6_hybrid_regrid_emissions_N96e.py # # # Requirements: # Iris 1.10, time, cf_units, numpy # # # This Python script has been written by N.L. Abraham as part of the UKCA Tutorials: # http://...
acsis-project/emissions
emissions/python/CMIP6_hybrid/CMIP6_hybrid_regrid_CO_emissions_n96e_360d.py
Python
gpl-3.0
17,421
[ "NetCDF" ]
2d59e4c6ebfda9bb0a4ff7af3469b62f85dee28bd62506a355b68b287808e3df
#!/usr/bin/env python # # Data manager for reference data for the 'humann' Galaxy tools import argparse import json import subprocess from datetime import date from pathlib import Path HUMANN_REFERENCE_DATA = { "chocophlan": { "full": "Full ChocoPhlAn for HUManN", "DEMO": "Demo ChocoPhlAn for HUMan...
loraine-gueguen/tools-iuc
data_managers/data_manager_humann_database_downloader/data_manager/data_manager_humann_download.py
Python
mit
8,023
[ "Galaxy" ]
9411c1f46aaacd1436123fad08412cf3fa38171a425d21de5e46b429c6687af0
import cherrypy import demjson from tickets import * from mailing import sendMail#, sendNewTicketNotifications, sendEditTicketNotifications, sendNewCommentNotifications, sendDeleteNotifications from postgres import getConnection from security import * from urls import setRoutes from various import * from webfaction im...
jmorel/Naphtaline
naphtaline.py
Python
mit
49,932
[ "VisIt" ]
ab57434fccbb10d10adc77da04d30dc689d1b079bb02a078552b17788620692f
#!/usr/bin/python # -*- coding: utf-8 -*- # # --- BEGIN_HEADER --- # # rmvgridowner - remove a vgrid owner # Copyright (C) 2003-2015 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 of the GNU General Public License ...
heromod/migrid
mig/shared/functionality/rmvgridowner.py
Python
gpl-2.0
24,999
[ "Brian" ]
510580f1cb3d48b91a9f27df97027b19db6ab3d6cc2d3ebff6073ea1ba23e3ac
# GromacsWrapper: setup.py """ :mod:`gromacs.setup` -- Setting up a Gromacs MD run =================================================== Individual steps such as solvating a structure or energy minimization are set up in individual directories. For energy minimization one should supply appropriate mdp run input files; o...
PicoCentauri/GromacsWrapper
gromacs/setup.py
Python
gpl-3.0
46,658
[ "GROMOS", "Gromacs" ]
247b025131a3ae842c46dfdfe344a605dc0b5021f6469504f84341dd3ebb087f
"""GPML backend for Gaussian processes.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import os import numpy as np from pprint import pprint # MATLAB scripts _gp_train_epoch = """ hyp = minimize(hyp, @gp, -{n_iter:d}, {inf}, {mean}, {cov}, {lik}, X_t...
alshedivat/kgp
kgp/backend/gpml.py
Python
mit
8,999
[ "Gaussian" ]
8db84e5d7771e087ef4dd2d48abde2371974b718e5edfd002de9a72b8337856b
from __future__ import print_function, division """ .. note:: These are the spectral modeling functions for SPLAT """ # imports: internal import bz2 import copy import glob import gzip import os import requests import shutil import sys import time # imports: external #import corner import matplotlib; matplo...
aburgasser/splat
splat/model.py
Python
mit
233,227
[ "Gaussian" ]
da226b835517911814add7c5238b580e2becdd3497fe9422974d9a3b5a400b05
from __future__ import annotations from datetime import ( datetime, timedelta, ) import warnings from dateutil.relativedelta import ( # noqa:F401 FR, MO, SA, SU, TH, TU, WE, ) import numpy as np from pandas.errors import PerformanceWarning from pandas import ( DateOffset, ...
pandas-dev/pandas
pandas/tseries/holiday.py
Python
bsd-3-clause
17,143
[ "COLUMBUS" ]
b32a5875be7d575272da1539f25a4fb24597dcf50b0c19803649b5eb4ecc6820
#!/usr/bin/python # blastn tblastn blastx parser revised 14-1-2016. # drosofff@gmail.com import argparse from collections import defaultdict def Parser(): the_parser = argparse.ArgumentParser() the_parser.add_argument('--blast', action="store", type=str, help="Path to the blast output (tabular format, 12 co...
chamaelj/tools-artbio
tools/msp_blastparser_and_hits/BlastParser_and_hits.py
Python
mit
12,650
[ "BLAST" ]
c8fe580ea67ba19eb7b25fc30972f9ca22e18ddfc56af9faf1ad24a5fcabe76c
# coding=utf-8 # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import (absolute_import, division, generators, nested_scopes, print_function, unicode_literals, with_statement) import ast import in...
baroquebobcat/pants
src/python/pants/engine/rules.py
Python
apache-2.0
7,213
[ "VisIt" ]
7bd6706d16fb97e2c52d1f946ae520f5e4b5f9531f7845f242ddbf754bb714e2
from ANNarchy import * setup(dt=0.1) # ########################################### # Neuron model # ########################################### CUBA = Neuron( parameters=""" El = -49.0 : population Vr = -60.0 : population Vt = -50.0 : population tau_m = 20.0 : popu...
ANNarchy/ANNarchy
examples/vogels_abbott/CUBA.py
Python
gpl-2.0
1,809
[ "NEURON" ]
43869c4ec30b00e46a9f23b1f96925d14fb54757a2256453d5ddf13d4846b6e2
# # Copyright 2018 Red Hat | Ansible # # 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 Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
shepdelacreme/ansible
lib/ansible/utils/module_docs_fragments/k8s_auth_options.py
Python
gpl-3.0
2,838
[ "VisIt" ]
417fa8a7b2613ae7c90086ad4d3194a396bcd4421f68ac0a2d73af074e581dc8
# Copyright 2009 Brian Quinlan. All Rights Reserved. # Licensed to PSF under a Contributor Agreement. """Implements ThreadPoolExecutor.""" import atexit from concurrent.futures import _base import Queue as queue import threading import weakref import sys __author__ = 'Brian Quinlan (brian@sweetapp.com)' # Workers a...
harlowja/pythonfutures
concurrent/futures/thread.py
Python
bsd-2-clause
4,638
[ "Brian" ]
056d70843039a64586af12a25a0dd6cdc2b77427ae0ba5b98db1af04c1312e5a
# This file is part of the myhdl_numeric library, a Python package for using # Python as a Hardware Description Language. # # Copyright (C) 2015 Jase M. Gomez # # The myhdl_numeric library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License as # pu...
jmgc/myhdl-numeric
myhdl/numeric/_bitarray.py
Python
lgpl-2.1
21,760
[ "VisIt" ]
8dcfd8bf6a58d7016d39925cf558a16f5f319b55ccbe07658c68fd8e2428d1ec
# -*- coding: utf-8 -*- """upload_docs Implements a Distutils 'upload_docs' subcommand (upload documentation to PyPI's pythonhosted.org). """ import os import socket import zipfile import tempfile import sys import shutil from base64 import standard_b64encode from pkg_resources import iter_entry_point...
Orav/kbengine
kbe/res/scripts/common/Lib/site-packages/setuptools/command/upload_docs.py
Python
lgpl-3.0
7,004
[ "VisIt" ]
baa41c170cdf4dc58bdea2e8f2d61f65d3e785341a8e811266f6fe2b8d1da721
"""Support for control of ElkM1 tasks ("macros").""" from homeassistant.components.scene import Scene from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): """Create the Elk-M1 scene platform.""" if d...
MartinHjelmare/home-assistant
homeassistant/components/elkm1/scene.py
Python
apache-2.0
679
[ "Elk" ]
eebfc504a98f50690b0f4b7f631dd5cb6b1906db9234b0488c91b5fe28757380
#! /usr/bin/python # -*- coding: utf8 -*- import tensorflow as tf import time from . import visualize from . import utils from . import files from . import cost from . import iterate from . import ops import numpy as np from six.moves import xrange import random, warnings import copy import inspect # __all__ = [ # ...
luoxier/CycleGAN_Tensorlayer
tensorlayer/layers.py
Python
mit
268,964
[ "NEURON" ]
410e5019e63f9aac954a847f92f6adbffd43590d209565c7667dbe1b79880a73
# Copyright 2017 The Meson development team # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to ...
becm/meson
mesonbuild/dependencies/__init__.py
Python
apache-2.0
3,084
[ "NetCDF" ]
d5bf18a022ce534031d6753886970459e300d8b1e6eb6262877f1c539aba64ca
"""Core visualization operations.""" # Authors: Alexandre Gramfort <alexandre.gramfort@telecom-paristech.fr> # Eric Larson <larson.eric.d@gmail.com> # Joan Massich <mailsik@gmail.com> # Guillaume Favelier <guillaume.favelier@gmail.com> # # License: Simplified BSD import importlib from conte...
adykstra/mne-python
mne/viz/backends/renderer.py
Python
bsd-3-clause
4,971
[ "Mayavi" ]
c4b471768355ced6089a45021c7097fa36cef7cd53e76e75977892bcfaf588c9
# -*- coding: utf-8 -*- # vi:si:et:sw=4:sts=4:ts=4 ## ## Copyright (C) 2011-2013 Async Open Source ## ## 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 2 ## of the Licens...
andrebellafronte/stoq
stoqlib/gui/widgets/hintedentry.py
Python
gpl-2.0
2,484
[ "VisIt" ]
d287660178aea9f27652e752d9b5b3a8e3c30e6fd04803863c6c78fcb4a56e51
# # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2004 Martin Hawlisch # Copyright (C) 2005-2008 Donald N. Allingham # Copyright (C) 2008 Brian G. Matherly # Copyright (C) 2010 Jakim Friant # Copyright (C) 2011 Michiel D. Nauta # # This program is free software; you can redistribut...
beernarrd/gramps
gramps/plugins/export/exportvcard.py
Python
gpl-2.0
12,904
[ "Brian" ]
3a6c1a77316341fa443df4d59c69e1e5d92ea7a02206f4c4aab52dce1e8237ed
from __future__ import print_function def get_band_extrema(input_file): ''' Get the valence band maximum and conduction band minimum from VASP OUTCAR Prints a warning in the case of partial occupancy. Args: input_file : String, the input file name Returns: list: list[0] = valence b...
WMD-group/MacroDensity
macrodensity/vasp_tools.py
Python
mit
1,274
[ "VASP" ]
6aeceb8af548d43403a16aaf15a08976e6a0550ad9c904207489216ba7dc25f3
# flake8: noqa """ github.com/mikedh/trimesh ---------------------------- Library for importing, exporting and doing simple operations on triangular meshes. """ from . import ray from . import util from . import units from . import poses from . import graph from . import sample from . import repair from . import conv...
mikedh/trimesh
trimesh/base.py
Python
mit
97,834
[ "Gaussian" ]
762ab18b40a2da01a635c35ed2bfbcb6a97a268416a50d4ccfafd723d2896fc5
# -*- coding: utf-8 -*- # # Collection of g2g utility functions and classes # import bz2 import gzip import os import time import urllib from subprocess import Popen from pysam import tabix_compress, faidx, tabix_index from . import G2GValueError def delete_file(file_name): """ :param file_name: :retu...
everestial/g2gtools
g2gtools/g2g_fileutils.py
Python
gpl-3.0
3,737
[ "pysam" ]
e1a262e546a5b2736523cc7ce557f963be2d10fc2ad8bf97a0246c5f8951a16a