sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
e20e186fb1e5c18cd937c128755ca2d0bcab310afbd8459f90d961da1683d87f
Python
53
3
__author__ = 'quentin' from . import control_thread
515651820e8e330244c48b09eaf51b4d91cc7638e1cd655018ee7f6d2481ad5f
Python
54
1
"""Shared runtime helpers for portal applications."""
ac0c7e57016f8fbd4bef069c676e24779bda5a77c0fed10c0ef6626f175a2614
Python
54
1
from angorapy.agent.ppo_agent import PPOAgent as Agent
fb6da8dcf4c34aa5a27f12ba7d29e6daa655baf4cfbf0109c12ac377cb3952f9
Python
54
1
"""Tests for the spectral parameterization module."""
1b08d9eb253770fd82cf2332f7d55f86b5459d09baf6039ca055490a525d278d
Python
55
1
from .brain_semspace_map import brain_semspace_map_loo
2885882902aecc75ebbe6ebe5cc590099441badfb2de6e0549e93106827e97e7
Python
55
1
from roi.customROI import CustROI1, CustROI2, CustROI3
43e17c2d8493f66aa52ee1b706b6210380b31b631d5952e8eb4e5e9895df593a
Python
55
1
DATA_PATH = "/scratch/hyruuk/neuromod/controller_data"
45c31d1ecab8795ab22749ebcf407f5ce2d9f932f634684f1906b79286cafe07
Python
55
1
from .testing import sparsity_matched_coverage_results
d3885f0114c83025a754fb3a8582634946541c9aeb72fe4f90af27554a6d4c83
Python
55
3
from flask import Flask application = Flask(__name__)
7b09d4213d8dc3d6726db0a8d613607e1178cf36805cc7420c56295e75f5b176
Python
56
5
from .adjust import adjust __all__ = [ "adjust", ]
3b48702037b99bf62d094741f674aa5a99ba9378dbddbba9dc6a0f44562d0493
Python
57
1
from .interpolator import GenerateParametersInterpolator
d111f5ddc03e6267a8c3d46b81ca198ba27f53cc5aa954dcab19d1857c3d4e7e
Python
57
1
from . import data, evaluation, generator, model, system
f47e1f90679d6a7628eb86c3b85b9a3598aaa38936e81d92e351b6f959adb0c0
Python
57
2
from . import pl, pp, tl from .io import * # noqa: F403
fe6019c7372b089efac78db3f1d48a71db4d649a52c9c453fa3b5315c2b88268
Python
57
1
# TODO, for now please refer to our pure pytorch example
53ef23b3bff8bbd99db76ad5a8122f1ab3d507a74724a8a9cb0353f53a720379
Python
58
1
from .agg import cellbin_select, contours, select_polygon
943e7ca96f4e931de685626d0cbf6c7f1501b1c6a8de5325cd0796b0a5e209d2
Python
58
2
from batch_detection import * from prepare_video import *
98d6a363d2b3dca8a2752fb419139fc986d0418476627a53c12bb4b4bfb5abc1
Python
58
2
from somtimes.SelfOrganizingMap import SelfOrganizingMap
a8bf79e28cbfd9aebbde41f6e83ddc3afb2152ee079390b79ebc3b18758bec4f
Python
58
2
from .OPTProcessor import * from .functions_utils import *
d75a3324a894b2a0c2677fe67001e119853218afd49e5e78763552041131141e
Python
59
1
from ._version import version as __version__ # noqa: F401
ffece18ae63e94413546ad8ddfd41891cca76eaa3c67b7e67db0b9c9ade06708
Python
59
1
"""Data types used by Bream with the MinKNOW key store."""
1be4855991658187bc99fcd1b2d340568c1323674691f776722b11867e51484b
Python
60
2
from .make_model import * from .pytorchvideo_models import *
3c0cf45d1991e710dac6e3ceb212e7210faece459df25706930bc1243e83cde7
Python
60
1
"""Modernized desktop GUI shell scaffold for Larvaworld."""
ea7f0b6e6276af5b825dde8fd444494735ed0490da852a0d457a47f65fe6bbcd
Python
60
3
from .view import JobPortsView __all__ = ("JobPortsView",)
8782af80ce2a72219fe17fdba2c7e8822f815c51aa19b2256a1a18bffbbb4a17
Python
61
1
from . import attribution, chspace, groups, occlusion, sefas
b05bed56af6ae863843e79853d501121f11df6bd2c12036038e98f003b5ce2de
Python
61
4
from . import cli if __name__ == '__main__': cli.main()
27310d89f421d3a27e8f13a8a8a12f3a24012de605fc90a8be05752ff72fa837
Python
62
3
from acdc_nn.cli import cli if __name__ == '__main__': cli()
8c4110c9766f2cc7d27127f268ce54347f6e3d1a6b354af8c38b7556b0a8f7e7
Python
62
2
from .gravity import Gravity from .radiation import Radiation
d649bc83a899f8e2f41f6bc1b6389b877be94645ceff8a0c28439fb8a2e268e5
Python
63
1
from _plotly_utils.exceptions import PlotlyError # noqa: F401
3ed647e30e06c18caacd1f0c04aaf9b26bbe187befd811d6e4e41c8a4faed3e3
Python
64
3
"""Demo sub-module.""" from .download import load_example_data
eaa3607e4ec33811e84d6c8a5254535ab6915a3871aa6d56b9906518bc7c379f
Python
64
3
from celery import Celery hello = Celery(set_as_current=False)
60aa546dc2c418c3f9ebd59d17bb74420e6ca93e01a8ca115451c93d650a1e0c
Python
65
2
# flake8: noqa: F401 from .extraction_view import ExtractionView
b88b099c566e352b9f0c6dd1d53354bf94c24a7d45e786fea001779285e811a3
Python
65
2
# flake8: noqa: F401 from .evaluation_view import EvaluationView
bf1b97ab2a5d2a2cf04f1ac77d36047daa026206bd7ad6861165aa88b8708fc3
Python
65
1
"""Backend substrate parity gates for current torch behavior."""
58f5885b1bcc0a8802ebd53b90a41f91a7a92c99e5656c2e4738acc7085572f3
Python
66
4
# __init__.py # version of rcc-xcorr tool __version__ = "1.0.14"
5a60494b2e3879b7f8abb8f7e962ca6d445654a50342aa45bb08eed73978d48a
Python
66
3
"""Unit test package for pynapple.""" from . import helper_tests
833e514e2d5c69e3f47aed6b00d9902f411bb79173d0daee23ef1ac1eefff228
Python
66
2
# flake8: noqa: F401 from ._version import version as __version__
ce9aef39d55079b4f92da9465730293332c2e64e8ab52895e96e38d035bcec58
Python
66
3
from .ari import all_resolutions_inference __version__ = "0.1.2"
0580225ea4edb705c2e412c5ac6bd27d659cc239f0243467a33eaa9ee74675fc
Python
67
4
from flask import Flask app1 = Flask("app1") app2 = Flask("app2")
274f22b4f6a1fae3c3d830af538e6c210da06a868fdfa9f1b8f63523702b32e4
Python
67
2
# flake8: noqa: F401 from .calibration_view import CalibrationView
65a58f00ab7edbe3b3b000b81ee39972052f290c7ef3e5dce4121a03b3f507ee
Python
67
2
"""Shared configs""" _BEST_CHECKPOINT_FILE = 'best_checkpoint.pkl'
8f272ff28f7257e8ba0bcb5fbacd4dbb399e68b97bc48fe04452ff82d2eb6971
Python
67
3
"""SSD Estimator implementations""" from .ssd import SSDEstimator
ab771ceefd762e9172bd30794d285dfd3f85546817ad42afd7174459bfc8a747
Python
67
2
"""Data Pipelines""" from .auto_data import url_data, URLs, is_url
24e8d6aa3c097d545898b9cc468de6c18273bf16bbf9ee213dcfcc2fbe4b4e4f
Python
68
1
from _plotly_utils.optional_imports import get_module # noqa: F401
bbed59d194a7bce18da3f3e074a8dc9b51c072b286ae6d67d589f8aff3658166
Python
68
4
from setuptools import setup if __name__ == "__main__": setup()
2c88c84f41455f9d1bb22f8d153f7c215002bf3970e13182b4e8a02a758a22a3
Python
70
3
BINARY = 'binary' MULTICLASS = 'multiclass' REGRESSION = 'regression'
34eedd5aac7d5f0d15c0f02eef64cadb962a9c1b0cec098329d114931362ab53
Python
70
2
from .torch import FeatureExtractor, ImageDataset from .base import *
9b38a726341f005af5c9de09eb2e00381dbf7f06ba559757321f6a116f326db2
Python
70
3
"""Neurogym environments.""" from .collections import get_collection
9bf1cd1b9144810604773e7784e24c6113405ad521eb6cc37107f7fcda8709d2
Python
70
3
"""Experimental transforms.""" from . import bbox from . import image
e4789efcfa7547374ee14737091129ded93718455fb66c9401d7b8934f4356da
Python
70
1
from lightly.transforms.multi_crop_transform import MultiCropTranform
8e47475884c8442ceaa0f99873e8e9abc18f09a9aa7570dc3499c401d61cadee
Python
71
5
#!/usr/bin/env python """ Unit tests for the notification system. """
a10dc3f50d18574b8feca4f9a4136eab238721d1217876a78ff388b1e8a4197f
Python
71
2
hiddenimports = ['skimage.filters.rank.core_cy_3d', ]
a9ef750970377654ac4ea336a45289ddc9f514c3d169b15c6acf8d7cb6279df0
Python
71
3
""" This module contains Spitfire's core time integration methods. """
81e75f5fe2c19d3ded61e6fc3b17b612d5ee7b88ee267113c62f79e13c33ccec
Python
72
2
# flake8: noqa: F401 from .peak_selection_view import PeakSelectionView
854afa69a5ed9d1d0bf9c476663f17d6c9e9f9987137a9ba4825f1ad59d16eed
Python
72
4
from pyjibe.__main__ import main if __name__ == "__main__": main()
975363b41a6050e05d90dc7fd0a149c133c7a139ea6bb6171ea84e6444770f0e
Python
72
1
"""Pinned Model Explorer vendor assets + harness helpers (F15 lane)."""
a45b4ce763a10caebd71e7a24721f5303b1ed046c3f1fab284eb165a2878ee03
Python
72
2
"""link prediction module""" from sknetwork.linkpred.nn import NNLinker
b75c7ea4602561048b7a9d239bd75c3ecf78814e6016e52985daf873dff3adc7
Python
72
3
"""YOLO Estimator implementations""" from .yolo import YOLOv3Estimator
c446c8f086d1dda0e1637f668c493585048b0841b835918a6b585f5b9445282f
Python
72
1
"""Stage-0 characterization oracle for capture-pipeline unification."""
31e4dbd8ce53affded865990aea6a44db0bc46a0f44ee3fd6c14106f84a65cad
Python
73
3
from flask import Module mod = Module(__name__, "foo", subdomain="foo")
5a60311f8bd5b6f44ca09a223d8a65830d5f0e6548e9a708fc90f087f472cb40
Python
73
2
from ._utils import concat_sdatas, add_obs from ._augment import RandomRC
5ad812b09337f9699cd2b6aeebfd7d6f14045451de846b0503d746a34ce8a8c4
Python
73
5
from flask import Flask raise ImportError() testapp = Flask("testapp")
803af9e30c3b03e158ef28a650300630e0ebbf7fc594861b539767774a551c8b
Python
73
2
from .lr_scheduler import get_scheduler from .logger import setup_logger
b62202d03781f2e6cbf6c1d52b897b9097ba1a42eefba6ef8fa6c32195a3bc6d
Python
73
4
import matplotlib matplotlib.use("Agg") import matplotlib.pyplot as plt
bfd6c472cdeaad745dd9084bd95881b563d3e4fce257efe59f23b640139fbc26
Python
73
1
from . import base, globalspline, zmatrix, volpresglobal, volpreszmatrix
3ba0ebd3038665d6345d906c08461a282f4623d1638d95ace272f41b2e5b1edb
Python
74
1
from angorapy.analysis.investigators.base_investigator import Investigator
64c6bbfff239846773b801fe4141e1dc1a41c3d986f66d9b1de2039b48f05a5b
Python
74
5
class StructureLayer: def __init__(self, data_source): pass
ac0fab67bd93c201891c52784810b59407b57e9d8b3bb98b4b15a5bb446bf2cc
Python
74
1
"""Shared test-support helpers (imported as ``support.*`` from tests)."""
b34fd9a6f1565f0d5c79c12e7b5be3f8ca4e3d050f138d60e6cf98b239d7ea6a
Python
74
4
"""Observer pattern.""" from .signal import Signal __all__ = ('Signal',)
e3bd77bb1ee9d7a05121cead1ace6904043d66106c2fbfb6f545b788e1d45f82
Python
74
3
'''Feature engineering module.''' from .feature import normalize_feature
e7f8bcecb3470dea2d4407dd03232e3a56d5656d5a7e2dd2f94556bbe44c1e70
Python
74
2
from .base_models import global100 from .tacticity_models import pm_model
f04538c29aff0b0acedcd19ae5a0b8b970a315c8b6532bba16af66151b4c1e6c
Python
74
5
from .localization import localization __all__ = [ "localization", ]
42ee24184fc3d8933a6c18c50da2d846884d57401dc82812f4d9cc4cc40d42ae
Python
75
4
__author__ = "quentin" from . import debug, description, img_proc, video
d6b7f5888d6d9af3816aea2915d6d8dc1da3fb25a099945f0b6fe817da688023
Python
75
2
from ._references import get_reference from ._attributions import attribute
138c89b3311732615713307706aa41171463be77922beedccafd05d14de1fe31
Python
76
5
# ruff: noqa: F401 from ._kaleido import ( to_image, write_image, )
8a988ea7b28fe797455062e8c234d722a983fe6538a69c1db085e9ae5afe5d6c
Python
76
2
from .org_age import compute_age from .org_drugtimes import attach_drugtimes
fa3d002446d9f6914f6a87a4f710094a16665e92ac0d64af5025963537e1e7ed
Python
76
2
VIDEO = "../static_files/videos/arena_10x2_sortTubes.mp4" DRAW_FRAMES = True
89bdaa34f04ac003b36e7ce280443b5a89e550ebac2b0c4fbaa29d1b2e1bb0fc
Python
77
3
"""Plots sub-module.""" from .spectra import plot_spectra, plot_spectrogram
c9b8c49233687c504a9e17d7b9a4833c73c7f3d7223a0fd7851f208960934d54
Python
77
3
from . import rmagic load_ipython_extension = rmagic.load_ipython_extension
05d7dd2974f6e7eb72f3ea0cf8035c11ba8441ebd7114ba7797a9a72f4450886
Python
78
4
ANNUBES_KWS = { "session": {"a": 0.5, "v": 0.5}, "catch_prob": 0.5, }
398a62db4e6e235abc90ca2f2b51a52652e9b626d46f21256b4cbb3d37c0b445
Python
78
2
# ruff: noqa: F401 from ._sg_scraper import plotly_sg_scraper, reset_renderer
dee29eee075096ba30888fb2013e54a5228e5d738203fdd4b07f4d48d97e4ca2
Python
78
5
#!/usr/bin/env python """ Integration tests for the notification system. """
f398b6bdebdb9ec22594b739d836744f3f9a4a300a1bff87d7ec99f2240dc57e
Python
78
6
from celery import shared_task @shared_task def mul(x, y): return x * y
083ae9e288cabba0ffaac09ffa83605694fbf04c6f5bd10ac2e39cc5da1dfb79
Python
79
1
"""Transforms fixture corpus (memo B9): vendored licensed images + loaders."""
08a2b420cf0a62de80ef19548f02adf9d6ab51a0515497aa02315fe8ffac8f68
Python
79
2
from .gold_docker import GOLDDocker from .pdbbind_docking import PDBbindDocking
29fbe9016a304cca06546490e5006c6563afb19b879f6b2f7813823a47d1db52
Python
79
5
from pathlib import Path from typing import Union PathArg = Union[Path, str]
8938af249e869ab1772107f35a0dd66ba32bbfec437fb592a2d02f572a1c15cf
Python
79
2
from .pose_reader import PoseReader from .rmsd_calculator import RMSDCalculator
97ca7cacf6674c3d2abe9877aaa6f1c701b961b8928936996ca414de371c13b1
Python
79
3
from src.train_loop_crf import parse_arguments, train train(parse_arguments())
0bc4b66436fcdc0dc1d63bb53289981b02616cb571a764547c4a6c28f2c2226c
Python
80
3
from .wkw import Header, Dataset, File __ALL__ = ["Header", "Dataset", "File"]
b97e466f33a3f2ccb57b40174aa75d95086099d286e2fcda6fa621b4b73cc661
Python
80
4
"""Fast RCNN.""" from __future__ import absolute_import from .rcnn import RCNN
d0596dd4508d4847f550e253838e601fbd1cb43cdc840f3a953b835baf7039be
Python
80
3
from . import datamodules, config, utils from tlib import tutils, tgeo, ttorch
dc8aad0ad6b2928a7b6102b21c49cac0a6145e5e1cccd8c567291423bfb3e6f1
Python
80
3
"""SSD Estimator implementations""" from .center_net import CenterNetEstimator
2ed79cfd2e7c684d509574619048468d9e028e0091b2ef3a96055e4eda02bd7a
Python
81
3
from .get_svg import * from .get_svg_between_slice import * from .utils import *
187e07b219cb111b63023918d331e8cf77fbfb7e54708bebdbb8855923946b35
Python
82
4
"""Wrappers to build Python packages using PEP 517 hooks """ __version__ = '0.2'
29d46bf46398893c22ae075d0c81d41230daa694d1733ccd01a6cfb33dd633fc
Python
82
2
from .decoder import DotDecoder, GMFDecoder, ZINBDecoder from .scbig import scBiG
d526c3f846e815a00a3a22195b01d34590d2e19a9534eb96949972719a74d98d
Python
82
3
# ruff: noqa: F401 from .renderers import Renderer from .exporter import Exporter
ede89196bad14e683877955046c69d08dcffa0f73dd51b1aa68a5b1ae93a7b65
Python
82
2
from .normalize import SME_normalize from .impute import SME_impute0, pseudo_spot
0ec58c3107f051ada0f02f6233af76e6bf7256ef51ec21855517e82114eb1f76
Python
83
1
IMAGENET_NORMALIZE = {"mean": [0.485, 0.456, 0.406], "std": [0.229, 0.224, 0.225]}
1ba746f2dc33c69d400c8c4399034683b797af5824d05fd1af7ea6cb130c5433
Python
83
2
from .mol_featurizer import MolFeaturizer from .pyg_featurizer import PyGFeaturizer
2195385100640c4390b899b2e84d330a1e7493fe170108ad603b82bd172739a2
Python
83
4
# Minimal setup.py content for both packages from setuptools import setup setup()
6942704a372b902d7eabe27505bb4151776a3055302b674c6bc56b4244cd7608
Python
83
4
__author__ = "quentin" from . import input, interfaces from .input import cameras