sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
dbe76a573d089e49dee135aa5d48b87bb07957ff6fdbf484f6da80210ea2c578
Python
116
3
from .barreto_2018_sfql import Barreto2018SFQL from .nec_agent import NECAgent from .sf_nec_agent import SFNECAgent
4d8cad0d231d6d5ca5b8187ffbb53bb484cd4e22a1ea9c67fc5b3bda40232c91
Python
117
4
import os SRC_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) ROOT_DIR = os.path.dirname(SRC_DIR)
59c393e331a5b8ceb0112bf6ab8e802f4a33b72f4133c8a3c391d389a370bf45
Python
117
3
from .fit_model import fit_model from .prepare_data import prepare_data from .refine_tomogram import refine_tomogram
a03096689bc45acbfaee623b5eedc092e9da4b927230d1b64b268130f44597e8
Python
117
5
from .permutation import ( DataColumns, MutationPermutationPipeline, ThermodynamicPermutationPipeline, )
791321117c87dd59d5a269edd3e38212782847ba51827b2cc2e1863547801848
Python
118
4
_base_ = [ './uod-air_retinanet_r50_ufpn_1x_urpc-coco.py', ] train_dataloader = dict(batch_size=4, num_workers=4)
195a1a4ae14d5667222ffde9be3cd25e24f215527154d3aa2b3e19aede09230f
Python
119
7
from setuptools import setup, find_packages setup( name='lop', packages=find_packages(), version='1.0.0' )
e0e904d22a7d2a446e5afe97d3b7bc6c61a0083bb37681d70d0c211546aa5a48
Python
119
3
__version__ = "0.3.3" __author__ = "Manu Setty, Zi-Ning Choo, Sitara Persad" __author_email__ = "scp2152@columbia.edu"
184fb9544d8263a8731cb39ffe2e593210f468b45b0884140821f5bd60b3efa0
Python
120
6
from pathlib import Path import pandas as pd app_dir = Path(__file__).parent tips = pd.read_csv(app_dir / "tips.csv")
33caa2ab5e0ae7b233b07c26107f8fcaf90e3c02088bd56cfee1d600d851344f
Python
120
3
from .preprocess import preprocess_image from .b_net import b_net, b_k_net, b_k_net, b_d_net from .bl_net import bl_net
755563f5d593cd0fb3fc805727f857bb725008b8bcc353a0b226935a26796d58
Python
120
5
from .blocks import * from .model import * from .pipeline import * from .dataloader import * from .post_process import *
ca64865c9d1e80bce1ca2c4dd41fc5718bc0d2d44d00f44093fb10456822c803
Python
120
8
# example_module.py # fmt: off # __is_even_begin__ def is_even(x): return (x % 2) == 0 # __is_even_end__ # fmt: on
6daed61cccb47e9954d835ad6b9b34d666c000e651f086d43d56999215679ac5
Python
121
3
from .data_samples import DataSample, OptSampleList, SampleList __all__ = ['DataSample', 'SampleList', 'OptSampleList']
a180d28dec5ffa7b1ee2d8d22a49af928e064f7bfe1545a0ab23b95018bd5f29
Python
121
7
__version__ = "2.4.0" def print_version(): print(f"v{__version__}") if __name__ == "__main__": print_version()
0e388b3a086b8f4b28e4c76073d607a4a8f46bf18b7f3979b4fb4569380ad2be
Python
122
7
import rlexp.agent import rlexp.env import rlexp.exp import rlexp.utils import rlexp.approximation __version__ = '0.0.0'
30a690a6f7f416f0aedecf23bd9face7d09636428007dab0b5a39df1f9779502
Python
122
5
from ray._private.runtime_env.image_uri import ImageURIPlugin def get_image_uri_plugin_cls(): return ImageURIPlugin
0fb8fae9d267e8dea1aa63fc768a7be7f1b44e2291f5add20fa71e3b273750dc
Python
123
3
from .base import add_integration_callbacks, default_callbacks __all__ = 'add_integration_callbacks', 'default_callbacks'
526e418eb6f5900291836bf29421117214aac2b641113519f3b9d66aca9d9c61
Python
123
3
from .tienet import * # noqa: F401,F403 from .unet import * # noqa: F401,F403 from .zero_dce import * # noqa: F401,F403
82154200e40ec028191320099076b7392ec931c3650edeb18d0ef1a7a59d0497
Python
123
4
import json with open(snakemake.output.json, "w") as f: json.dump(snakemake.params.template_description, f, indent=4)
ad0a7ab666ab898627601aadad3a632a2e1f6a15e23cfc91698cb825abd36757
Python
123
3
VERSION = "1.0.1" vVERSION = "v" + VERSION URL_ARCHIVE = "https://github.com/Matteo-Valerio/pyBioPortal/raw/master/archive"
cc2a9bc7d7008dcaf673c68b491046f286287fee7a85469d40df30b75c8cb6cb
Python
123
5
#!/usr/bin/env python # -*- coding:utf-8 -*- # @FileName :__init__.py # @Time :2024/3/29 10:38 # @Author :Luni Hu
8e8041655bc216b782a780d85a5a521f6081bf95b2690f895245d4b653ebc937
Python
124
4
from .batch_correction import * from .trad_velocity import * from .check_velocity import * from .cell_trajectories import *
ef18afecdffd4edbca7b35c69bd97d9013dec7845f89ae6ee284f4533fa3b890
Python
125
7
from setuptools import setup, find_packages setup( name='core', version='1.0.0', packages=find_packages(), )
f72dc4bf4353ad932e329556e2f1d61ec9d9542fe2328d07025e89ff535b713b
Python
125
2
from chromoformer.net import ChromoformerClassifier, ChromoformerRegressor from chromoformer.data import ChromoformerDataset
b57e6c258ed5081bfdc75b6641531f3a538f14211e203987ba20996896aa8356
Python
126
4
from bazel.gen_extract import gen_extract if __name__ == "__main__": gen_extract(["java/pom_files.zip"], sub_dir="java")
d0831ad53fff593ea092f1529d0499d2e70f1ee88085274225e661830ffc996f
Python
126
6
from setuptools import setup setup(name='project_fxns', version='0.1', author='Jared Trok', packages=['project_fxns'])
10eecf7571fd120c67411cc592e17b1d42ddb3b0472346af2607d934f674d435
Python
127
3
from fhe import * pailler = Paillier("paillier", 10, 2048, 17, 13, "resources/random_params/", "../resources/cryptoparams/");
2df5d172efc31d12bd03dc27c0f8b6947661ef35d6848895b4559a015f778791
Python
127
13
import ray ray.init() @ray.remote(num_cpus=1) def f(): pass print("Hanging...") ray.get(f.remote()) print("Success!")
4a216181d1d612cab27c734a6c088b9d2617c6d81ab7978175b00083c2385aab
Python
127
4
from bazel.gen_extract import gen_extract if __name__ == "__main__": gen_extract(["java/maven_deps.zip"], sub_dir="java")
e57fac351a48b68f2804120742594ab8058ce917d703b00834a14179635a1848
Python
127
5
from .config import PalmConfig from .model import PalmPCAGabor __all__ = ["PalmConfig", "PalmPCAGabor"] __version__ = "1.0.0"
b70473c60ddfc7954a0f90f7483f883bfcbd9cbccec805dfd84a23eda9a8938b
Python
128
3
from setuptools import Extension, setup setup(ext_modules=[Extension(name="vamb._vambtools", sources=["src/_vambtools.pyx"])])
e754529850f39df8ce0968a13743c7fe84a01b661bae0517eb6b82ffcec18db0
Python
128
8
# -*- coding: utf-8 -*- """ Created on Thu Feb 2 16:10:29 2023 @author: Daniel Granados """ print('Python for Neuron')
967943d0a912494c4fb8b6f412bb1603089883d9c6afead59caa9a832d3e78ac
Python
129
3
version https://git-lfs.github.com/spec/v1 oid sha256:8b8d0524a1e20f0707864226f55f75e94a54f351687a5c8fbc99031fa36676d7 size 4510
a692bdf453f09111cc323d12b3676123fe76ee51f8ca8568f3533ad11dab6526
Python
129
8
MIME_TYPES = { "text/plain": [".err", ".out", ".log"], } LOG_GRPC_ERROR = "log_grpc_status" # 10 seconds GRPC_TIMEOUT = 10
bf39139b7d50c217a6bc81b6c3ed6c233a5415531c81ea3cd3f4877e9d8ec028
Python
129
3
version https://git-lfs.github.com/spec/v1 oid sha256:f843237e03f524d85aad7a81d6732c4c804620018020d6a9ae7859d62775b0ff size 5270
8ec40aa7b330df008370061b70d2b09c55b92b0c0c11502409205cdf026e78c1
Python
130
5
"""Utilities for writing structured reports.""" from .report import ReportWriter, Section __all__ = ["ReportWriter", "Section"]
cc943b7fb6e9fdc174512d6967c81ae3edc1a37d93d0607d803d91377b8a96c3
Python
130
3
# from .dynapcnn import DynapcnnConfigBuilder from .speck2e import Speck2EConfigBuilder from .speck2f import Speck2FConfigBuilder
db66b4d2940f73c53273beb5282279a0014acda11003c94bbf80b6b1cb6e11d2
Python
131
4
from .base_edit_model import BaseEditModel from .base_generator import BaseGenerator __all__ = ['BaseEditModel', 'BaseGenerator']
e4de281c3810ed427ba466873282fe2fe437bbc40f39293dda149d31b17ca6c0
Python
133
7
from enum import Enum class AdversarialLosses(Enum): VANILLA = "vanilla" HINGE = "hinge" LEAST_SQUARE = "least_square"
f85c26a19011ba5a0d3ae1e7f994df09ea31363876dda847622b560f20eda091
Python
134
6
from __future__ import absolute_import from .transform import * from .generate import * from .rawdata import * from .prepare import *
1d6f90d9275e5fd08661d35dde030d79a5557cbaa87d38e46b1507726828e3d2
Python
137
2
from .twod_object_collection import TwoDObjectCollection from .barreto_2018_twod_object_collection import Barreto2018TwoDObjectCollection
760b30c1dc5809ab33455d387a06cce149cb6045564be7ad10da7431458281e8
Python
138
4
from .tienet import TIENetEnhanceModel from .tienet_generator import TIENetGenerator __all__ = ['TIENetEnhanceModel', 'TIENetGenerator']
b9740785c9c2d5dd27bcd59a1770d7ae33a29f59fda2622e83ded31484763c99
Python
139
4
from ._plotting import * __all__ = ["plot_network_graph", "plot_network_heatmap", "plot_hist", "plot_embedding", "plot_qqplot"]
03771cc49abdb25c950b6006429eaa53f647585cef3cb9ac76bf0710706f30f8
Python
140
3
from .unimol_pka import UniMolPKAModel from .transformer_encoder_with_pair import TransformerEncoderWithPair from .unimol import UniMolModel
534181979b41a8ec1df7c0a1ea6278b603a340b64f5c7d1776c0122bc56ef1b3
Python
140
8
SOMA = 1 AXON = 2 BASAL_DENDRITE = 3 APICAL_DENDRITE = 4 CUT_DENDRITE = 10 NO_RECONSTRUCTION = 20 TYPE_30 = 30 SPACING = [.1144, .1144, .28]
8f2bdb66a38b295dc0d42f7038cc5ebd0bc3d2371600deaa1dd1c6bddc290492
Python
140
2
from pfrl.envs.multiprocess_vector_env import MultiprocessVectorEnv # NOQA from pfrl.envs.serial_vector_env import SerialVectorEnv # NOQA
dff911932027f4b2443008e35747c2eb84c3dd15c412a2c86da4f964f7fcdcf4
Python
141
4
from vxm_model.torch import layers from vxm_model.torch import networks from vxm_model.torch import losses from vxm_model.torch import utils
21a7a738e77496542f08c49bc8aac914f3afae9decdadd8c2910c49d040c30b4
Python
142
6
from django.apps import AppConfig class InferConfig(AppConfig): default_auto_field = "django.db.models.BigAutoField" name = "infer"
567def21678e1a7667ee925614702a8b03ac74241046101919d27bfa1f64764b
Python
142
6
from fire import Fire from ._xiyue_wang import extract_xiyuewang_features_ if __name__ == "__main__": Fire(extract_xiyuewang_features_)
88d895eb0cb02a3549b5d3decbc4c57d2cbaaffd0c686ea013d0b9ade1d24ae8
Python
142
6
from __future__ import print_function from __future__ import division from .layers import * from .models import * from .utils import *
9e82b75f8a5f3f5758b4747207a3615e1877cbbf003a3801d8a6b59a89a385d4
Python
143
5
# Ultralytics YOLO 🚀, GPL-3.0 license from ultralytics.yolo.v8 import classify, detect, segment __all__ = 'classify', 'segment', 'detect'
61c2b57b739f77378f8cbc39c0391fb086a24271f7f3ad0c84c1612b1f4c081d
Python
145
6
from importlib import metadata try: __version__ = metadata.version("siapy") except metadata.PackageNotFoundError: __version__ = "0.0.0"
9284998e64f462d17008f68a363389b403e2be5902cf06bddba15c5716655494
Python
145
7
from ci.ray_ci.doc.mock.mock_module import MockClass, mock_function # classes and functions __all__ = [ "MockClass", "mock_function", ]
0445f18eee55d560d460b3bfde293c67477530472402a10f804959a036d400b0
Python
146
8
from .utils import * from .calculate_PI import * from .PROST import * from .plot import * __author__ = " Yuchen Liang " __version__ = " 1.1.2 "
78f7a2d730a9e733daccace179b8e495ffba9b5db5b1516d464feec017d509e0
Python
146
6
from . import models from .wrappers import WrapPyTorch, GymnasiumWrapper from .hooks import EvaluationActionHook from .agents import HumanAgent
b3341950a0d67a1d3a54abaf76f442dbc7a44f4aa679ec20e9aa19706bfa813f
Python
146
7
import torch from typing import Literal import cebra.registry cebra.registry.add_helper_functions(__name__) from cebra.dynamics.linear import *
e21d79ea24ba81cdf1452a562665dafb72bd001c9668256f2ac49754e7e833db
Python
146
6
from data_profiling.report.presentation.core import HTML class HTMLHTML(HTML): def render(self) -> str: return self.content["html"]
ba17c6f10644e4514feeb4f8d71c5c8bb15a5f7a10c5c99086db604cc3c06c57
Python
147
9
from abc import abstractmethod, ABC class BaseObservationOperator(ABC): @abstractmethod def get_observations(self, state): pass
1d499061c632c6ed83995626b1f3458c13cd44fb38367b6ca561269100451de4
Python
148
6
from . import core from . import utils_via from . import windmap from . import plotting_via from . import plotting_via_ov from . import datasets_via
2160142da1ac0dc748e92b130c0034b15607f22cfe540a3c99690b817a163a73
Python
151
8
from ..base import Transform class Invert(Transform): """Flip the signal polarity.""" def apply(self, x, generator=None): return -x
42571ffcea196d63186409fe4751a4c1892f5bc489f4870e19e362f7ee371a0e
Python
153
3
from ._dynamical_analysis import dynamical_iteration from ._construct_landscape import construct_landscape from ._pathway_analysis import compute_pathway
fb23c3f9b0b02cd9756fc565c4a92cd4a3f86b1d78d5685e1b0563c3e55999d7
Python
153
4
from .cpx_link import link_cpx from .cpx_link import link_cpx_V2 from .complex_sv import ComplexSV from .rescan_single_enders import rescan_single_ender
6cf16a9380ed34b4d9972b7d8efa3ae54797feb665506e97d47aa400d945fb38
Python
155
5
def convert_time_pyNN_to_nest(sim, offset): if sim.simulator.state.t > 0: return offset + sim.get_time_step() else: return offset
0eb943c3651612f76d4cefa5780d6d8c21deb586a0be846dc9e34ed6b6039e3d
Python
156
5
from __future__ import print_function, unicode_literals, absolute_import, division from .plot_utils import * from .utils import * from .utils import _raise
53bc935547c8b1028fdcc0705ee2634f7b0cdca97d608438e35fd147fa49e320
Python
156
4
def get_logging_configurator(): from ray._private.ray_logging.logging_config import DefaultLoggingConfigurator return DefaultLoggingConfigurator()
82ad442f62a241714775b2c13427c9b0a2c29e85853646025ee8671085746af6
Python
156
7
# __init__ file import warnings warnings.filterwarnings('ignore') from . import preprocessing as pp from . import tools as tl from . import plotting as pl
8bcbd15bebfbafe6ce710156af96a3b2e444ffd013c2ed43cf5358b7f67c445f
Python
156
6
__author__ = "Simon Andermatt" __copyright__ = "Copyright (C) 2017 Simon Andermatt" from tensorflow_extra_ops.caffebicgru.caffe_c_g_r_u_step_op import *
9e771ae1fdd73852d55bc0c04fb6f3b2cb77eddbb8b2beee0d3b4936594ea7bb
Python
156
6
globalVars = {'nCells', 'nGenes', 'nNodes', 'max_node_ind', 'mem_friendly'} nCells = None nGenes = None nNodes = None max_node_ind = 0 mem_friendly = False
cda6c302712e34187e32df5451fd3da6b81a88c93abd25e7288ffc766acf2e7c
Python
156
9
from data_profiling.report.presentation.flavours.flavours import ( HTMLReport, WidgetReport, ) __all__ = [ "HTMLReport", "WidgetReport", ]
ad2c694e0fe027a07048ead9830bbb9fda53138038636f23b74bfd8b47714a56
Python
157
1
from ._plotting import subset_for_flow_type,plot_intercellular_flows_from_inflows, plot_intercellular_flows_from_gems, plot_intercellular_flows_from_outflows
fdc439df9b90f22221adabc4a1f67520f3e74014b66f190e2a6cfaf62be4f660
Python
157
4
from siapy.entities.signatures import Signals # Create from iterable (e.g. list, array) signals = Signals.from_iterable([[0.1, 0.2, 0.3], [0.4, 0.5, 0.6]])
bbb4d82c32a37bda41df9f42b13bff50a35df13aff42935d70d6b27e23fa09d7
Python
158
5
# -*- coding: utf-8 -*- # (C) Copyright 2026 IBM. All Rights Reserved. # # Licensed under the MIT license. See LICENSE file in the project root for details.
20a35ea8c60aed36aab98940f75c4f6fdd5e5f37883bedf640d6ea3bfd1ad851
Python
160
3
from pfrl.policies.deterministic_policy import * # NOQA from pfrl.policies.gaussian_policy import * # NOQA from pfrl.policies.softmax_policy import * # NOQA
beb92cc4649481451bf8b255dc85c752a564e785a70a61d96f30fc0aa8a606d9
Python
162
12
#encoding: utf-8 """Test the oddities.""" import pytest import vtkplotlib as vpl pytestmark = pytest.mark.order(4) def test_data(): vpl.data.assert_ok()
13668e78e4d4524e4cdea3915912e72858f4f5a69468452cd1b3124b6775ca02
Python
163
6
from enum import Enum class DiscriminatorNetworks(Enum): BASELINE_DISCRIMINATOR = "baseline_discriminator" TAMING_DISCRIMINATOR = "taming_discriminator"
c082352a2626620eea84d0a8ccbb189c387575b0fc52585b186dad988abb4c73
Python
164
4
from .cosformer import CosformerLayer from .performer import PerformerLayer from .transformer import VanillaTransformerLayer from .flowformer import FlowformerLayer
37bad3de664acd9cf0f59de2f9104e9196ad1bb862cb01525a75ad3d52e07dd6
Python
165
3
from .sampler import Sampler, ExactSampler, RandomSampler from .status import SamplerStatus, Samples from .metropolis import Metropolis, LocalFlip, NeighborExchange
85752157756abfb2745b2e7f104044e484d5e39a10faf03ac94a7557283d8f35
Python
166
8
from .mo import * from .graph_velocity import * from .tangent_space import * from .gam import * from .plot import * from .utils import * #import graphvelo.plot as pl
9e29ee47f709209a2ad15b18a453e8078b9215a76e9b666ccf3fe282b510bdb0
Python
166
8
import stanza import nltk stanza.download('en') nltk.download('wordnet') nltk.download('omw-1.4') nltk.download('punkt') nltk.download('averaged_perceptron_tagger')
fb5bee4683ab01f65b98ece1177bc905e17de4ea212b75b50ce9fdb06994251d
Python
166
8
from .geometric_shapes import GeometricShapes from .shape import Shape, ShapeGeometryEnum __all__ = [ "GeometricShapes", "Shape", "ShapeGeometryEnum", ]
37191cf70b3bdd8e95cb4330a279c01a1ced198f0d421fb4a67a70e220af1caf
Python
167
5
"""cellnet - Scaling single cell models to bigger data sets.""" __version__ = '0.1.0' __author__ = 'Felix Fischer <felix.fischer@helmholtz-muenchen.de>' __all__ = []
832577d7697cdcdaa731a647a7be21374f766423919f17d54a3949f5f1542c1f
Python
167
2
from ._network import learn_intercellular_flows from ._validate_network import apply_biological_flow, filter_low_confidence_edges, construct_intercellular_flow_network
2c3ba65291dac9c042f08c69c2a8a4a9952d0cb3fec0cb733ebdff941a0043c6
Python
168
5
from .base_unet import BaseUNet from .pix2pix_unet import Pix2PixUnet from .unet_generator import UNetGenerator __all__ = ['BaseUNet', 'Pix2PixUnet', 'UNetGenerator']
3053c8835d7f275a8fdc163f5ddb0b6f1b23366239fff0e41258165ba2c5a9bf
Python
168
7
__project__ = "gtdb_to_taxdump" __author__ = "Nick Youngblut" from gtdb2td.Graph import Graph from gtdb2td import Dmp from gtdb2td import IO from gtdb2td import Utils
30ac2a0beeca28327095d12f033562896d6fd720069163cdf3c1af62d2103d87
Python
168
2
from pfrl.optimizers.rmsprop_eps_inside_sqrt import RMSpropEpsInsideSqrt # noqa from pfrl.optimizers.rmsprop_eps_inside_sqrt import SharedRMSpropEpsInsideSqrt # noqa
4d6364e924b1c1bed4292b75261061b9ef4480aaa9402cbe226aca87b41e6de0
Python
168
8
# -*- coding: utf-8 -*- """ Created on Mon May 9 21:16:48 2022 @author: gagan """ ROOTDIR = r'C:\Users\gagan\Research\data\Release_19AUG2020a.tar\Release_19AUG2020a'
41de40796b74bcc10ee5f9af826e294c61226fccc6a1e7a08e9484126e027bef
Python
169
5
"""Configuration module.""" from .config import settings, APIConfig, StorageConfig, LoggingConfig __all__ = ["settings", "APIConfig", "StorageConfig", "LoggingConfig"]
d864a9bdbfbd19d64900719e30e68d2f8d22f3cc84cc0decac5ea6a9c41de19f
Python
169
8
from .config_handler import YamlHandler from .base_logger import logger from .metrics import Metrics from .util import ( pad_1d_tokens, pad_2d, pad_coords, )
920672c477029f1a06e0380e317a1858524fa630b0d476fae8f18e6639b58a47
Python
170
7
import torch from torch import nn class SoftmaxCategoricalHead(nn.Module): def forward(self, logits): return torch.distributions.Categorical(logits=logits)
9e46187a12f85d485799252dec114010db1893d091c01ee6016e321dd77101df
Python
170
6
# Ultralytics YOLO 🚀, GPL-3.0 license from .bot_sort import BOTSORT from .byte_tracker import BYTETracker __all__ = 'BOTSORT', 'BYTETracker' # allow simpler import
ab15e7cdeade11bd0bd1fba87a9acd9751475b520430fc4b62f7a69adc7ff8a8
Python
170
4
from .datasets import * # noqa: F401,F403 from .engine import * # noqa: F401,F403 from .models import * # noqa: F401,F403 from .structures import * # noqa: F401,F403
69a7590b6b2da70f332def8805c147cabedfa89f7a5d1b211fb012bf257bc3dd
Python
172
3
from pfrl.q_functions.dueling_dqn import * # NOQA from pfrl.q_functions.state_action_q_functions import * # NOQA from pfrl.q_functions.state_q_functions import * # NOQA
da96aea065371b8132f114524c00ca7314b639b49bd17341e0486187c19b25d1
Python
173
4
"""All functionality concerned with presentation to the user.""" from data_profiling.report.structure.report import get_report_structure __all__ = ["get_report_structure"]
7c4d868f7c646cd3afbf7d3155042e882f5debc41f9e4bd3db521483f4ab74b4
Python
174
4
from .datasets import * # noqa: F401,F403 from .evaluation import * # noqa: F401,F403 from .models import * # noqa: F401,F403 from .structures import * # noqa: F401,F403
b006ae5e63dac7929d80756d0a38d9ffeffec25b687fd7d5374628414ccfeda2
Python
174
7
r"""General-purpose I/O helpers.""" from ._serialization import load, save from ._tabular import read_csv, read_table __all__ = ["read_csv", "read_table", "save", "load"]
f6b45662c762ef4494624d614992c3b57051e4d627faa98e2fb203396149984a
Python
175
3
from ._infer_spatial import infer_spatial_information from ._ligand_receptor_database import ligand_receptor_database from ._ligand_receptor_database import filter_lr_database
573b360e4b54f9630953bf0c0ff24c65d45873d73cfe756232b700a3927e7661
Python
176
7
# Global variable base_url = "https://www.cbioportal.org/api" # Setting base url def configure_base_url(new_base_url=base_url): global base_url base_url = new_base_url
fc68a21ba94701e548f46472049ad872e0bb6db395aea5b1f6d3431c1cf1a919
Python
176
5
#from .image import crop_center,toUint8,create_patch_image_2D #from .noise_generator import make_noise #from .norm import normalize #from .prepare import PercentileNormalizer
c1371a1a2163a7cb799bb2cc2ea010c14a47881f140f15cfbcfe69bf046f3563
Python
177
8
import numpy as np from neuropower import peakdistribution def test_peakdistribution(): x = peakdistribution.peakdens3D(2, 1) assert np.around(x, decimals=2) == 0.48
0fd102b1aa74f2b714b47c9a475d759d38c0ae52a45234303fcbac5f05c00154
Python
179
4
# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree.
10a3a78e5c1a8ec3ec863d436bf3890344c10194a260450afb02adaa5bbafb8a
Python
179
11
from .sites import Sites from .lattice import Lattice from .common_lattices import ( Grid, Chain, Square, Cube, Pyrochlore, Triangular, TriangularB, )