text stringlengths 0 1.25M | meta stringlengths 47 1.89k |
|---|---|
from tqdm import tqdm
from sympy import factorint, primefactors, divisors
from itertools import chain
def inf_div(n):
if n == 1: return [1]
bin_divs, out = {a:format(b, 'b')[::-1] for a, b in factorint(n).items()}, [1]
for i in divisors(n)[1:-1]:
c = True
for p, a in factorint(i).items():
... | {"hexsha": "c6373013664d6fd998cfdcacfa5fd82504ae3aba", "size": 934, "ext": "py", "lang": "Python", "max_stars_repo_path": "infinitary.py", "max_stars_repo_name": "weightan/some-numerical-experiments", "max_stars_repo_head_hexsha": "da69a614e959dc06c7cf46b62303697fb08bf50e", "max_stars_repo_licenses": ["MIT"], "max_star... |
import numpy as np
from itertools import combinations_with_replacement
from math import ceil
from data.database import Database
from data.query import Query, Utility
from data.curator import OnlineCurator
from misc.vectors import normalize, norm
from mechanism.basic import exponential
def small_db(db, queries, eps=1... | {"hexsha": "f1148a66c6c84669d5e76e27dc07be180eb573cf", "size": 7335, "ext": "py", "lang": "Python", "max_stars_repo_path": "mechanism/multiqueries.py", "max_stars_repo_name": "chuxuantinh/differential-privacy-ct", "max_stars_repo_head_hexsha": "987254d59aab95ede712ccc51b1555c5ffeaee7e", "max_stars_repo_licenses": ["MIT... |
#!/usr/bin/env python3
"""
@author: M. Garbellini
@email: matteo.garbellini@studenti.unimi.it
Albert-Ludwigs-Universität Freiburg
Computational Physics: Material Science
Exercise Sheet 10: Modelling a water nano-droplet
*Comments*:
- The bond contribution of the force seems to work perfectly, and indeed osci... | {"hexsha": "fcaa474c43f33dd40c694015317357fd96f69c28", "size": 3575, "ext": "py", "lang": "Python", "max_stars_repo_path": "Exercise-Sheet-11/Polymer.py", "max_stars_repo_name": "mgarbellini/Computational-Physics-Material-Science", "max_stars_repo_head_hexsha": "08f456e94cc27dd2a9bf47ae9c793c0b7342b4bc", "max_stars_rep... |
\subsection{Wait Queue Model}
%\xxx{describe wait queues here - how they're implemented,
% what the essential abstraction is, i.e., do we need a guaranteed
% ordering etc., discuss multiprocessor, fairness, starvation}
A wait queue is a data structure used to represent a FIFO list of
threads waiting for a particular ... | {"hexsha": "4090c4a00c73d43eeeae41eaef06fe21c74b3140", "size": 1354, "ext": "tex", "lang": "TeX", "max_stars_repo_path": "tests/case_studies/fluke/doc/core-wq.tex", "max_stars_repo_name": "PimW/spins", "max_stars_repo_head_hexsha": "aa05f5482c805c0f41e1e7c16c18b0727f7631c4", "max_stars_repo_licenses": ["Apache-2.0"], "... |
# -*- coding: utf-8 -*-
"""This file is part of the TPOT library.
TPOT was primarily developed at the University of Pennsylvania by:
- Randal S. Olson (rso@randalolson.com)
- Weixuan Fu (weixuanf@upenn.edu)
- Daniel Angell (dpa34@drexel.edu)
- and many more generous open source contributors
TPOT is f... | {"hexsha": "b6061b513bad07379c8f474d532777db59bfa4b8", "size": 10670, "ext": "py", "lang": "Python", "max_stars_repo_path": "env/Lib/site-packages/tpot/operator_utils.py", "max_stars_repo_name": "richooms/healthcare_automl", "max_stars_repo_head_hexsha": "73fc27ee8f57c717dc82a7841680ba64d6b4c34b", "max_stars_repo_licen... |
#!/usr/bin/env python
# coding: utf-8
# **Linear regression with multiple features**
# In[ ]:
# This Python 3 environment comes with many helpful analytics libraries installed
# It is defined by the kaggle/python docker image: https://github.com/kaggle/docker-python
# For example, here's several helpful packages to... | {"hexsha": "dcba9b4cf27a74330c6ed30e5a266b7d939752e8", "size": 2236, "ext": "py", "lang": "Python", "max_stars_repo_path": "downloaded_kernels/house_sales/parsed_kernels/kernel_268.py", "max_stars_repo_name": "josepablocam/common-code-extraction", "max_stars_repo_head_hexsha": "a6978fae73eee8ece6f1db09f2f38cf92f03b3ad"... |
# warehouse_location.py: Warehouse location determination problem
from pyomo.environ import *
model = ConcreteModel(name="(WL)")
W = ['Harlingen', 'Memphis', 'Ashland']
C = ['NYC', 'LA', 'Chicago', 'Houston']
d = {('Harlingen', 'NYC'): 1956, \
('Harlingen', 'LA'): 1606, \
('Harlingen', 'Chicago'): 1410, \
... | {"hexsha": "75d93e8c9bcd4b15fc7dfdac6900b482100ac50c", "size": 1279, "ext": "py", "lang": "Python", "max_stars_repo_path": "pyomo_workshop/exercises_wo_soln/exercises/PyomoFundamentals/exercises-2/warehouse_location.py", "max_stars_repo_name": "bernalde/OptimIQ", "max_stars_repo_head_hexsha": "d326945a065c68532e3f3b100... |
"""
File name :
Author :
Email : aarc.88@gmail.com
Date :
Last edit :
Language : Python 3.8 or >
Aeronautical Institute of Technology - Airbus Brazil
Description:
-
Inputs:
-
Outputs:
-
TODO's:
-
"""
# =============================================================================
# IMPORTS
... | {"hexsha": "22c6c1de023fc033b1e44261a5b752d79550c422", "size": 5945, "ext": "py", "lang": "Python", "max_stars_repo_path": "aircraft_framework_win/framework_PhD/framework/Network/network_optimization.py", "max_stars_repo_name": "AlejandroRios/IAANDOCAC-aircraft-framework", "max_stars_repo_head_hexsha": "9768e9736af70e2... |
\subsection{Bit arrays, bytes and nibbles}
| {"hexsha": "c3bb28ccf53c1fb9956c702f09c9f14c15e46d1b", "size": 45, "ext": "tex", "lang": "TeX", "max_stars_repo_path": "src/pug/theory/computer/logic/02-02-Array.tex", "max_stars_repo_name": "adamdboult/nodeHomePage", "max_stars_repo_head_hexsha": "266bfc6865bb8f6b1530499dde3aa6206bb09b93", "max_stars_repo_licenses": [... |
[STATEMENT]
lemma cross_ratio_product:
assumes "proj2_Col p q s" and "p \<noteq> q" and "s \<noteq> p" and "s \<noteq> q"
shows "cross_ratio p q r s * cross_ratio p q s t = cross_ratio p q r t"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. cross_ratio p q r s * cross_ratio p q s t = cross_ratio p q r t
[PROOF S... | {"llama_tokens": 697, "file": "Tarskis_Geometry_Projective", "length": 7} |
import os
import argparse
import sys
import pickle
import networkx as nx
def create_dot(graph, name, pathway):
with open(os.path.join('dots', name + '.dot'), 'w') as dot_file:
dot_file.write("digraph G {\n"
"graph [label=\"" + name + "\n" + pathway + "\",fontsize=20];\n"
... | {"hexsha": "8bec053f94aecfd01881984e0b47ffa4789af457", "size": 2001, "ext": "py", "lang": "Python", "max_stars_repo_path": "graphs/get_dot.py", "max_stars_repo_name": "EBI-Metagenomics/kegg-cwl", "max_stars_repo_head_hexsha": "3c0e7f780d0ee80435685b8667fc00bd7def7a6b", "max_stars_repo_licenses": ["Apache-2.0"], "max_st... |
# Hypre.jl: Wrapper around the Hypre library (http://acts.nersc.gov/hypre/)
VERSION >= v"0.4.0-dev+6521" && __precompile__()
module Hypre
const depsfile = joinpath(dirname(dirname(@__FILE__)), "deps", "deps.jl")
if isfile(depsfile)
include(depsfile)
else
error("Hypre not properly installed. Please run Pkg.build... | {"hexsha": "84470d29a00ff9e043bccd76ccc58101b9a59a8d", "size": 569, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/Hypre.jl", "max_stars_repo_name": "jgoldfar/Hypre.jl", "max_stars_repo_head_hexsha": "c5a25766a2c422a61f1a82522f2bbf1272762be7", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 6, "max_st... |
/-
Copyright (c) 2020 Bjørn Kjos-Hanssen. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Bjørn Kjos-Hanssen.
Zulip chat help from:
Alex J. Best, Johan Commelin, Kyle Miller, Pedro Minicz, Reid Barton, Scott Morrison, Heather Macbeth.
-/
import data.finset -- finite set... | {"author": "bjoernkjoshanssen", "repo": "jaccard", "sha": "1f1e85a03715ac665cdef55a3fa740b5b30e902b", "save_path": "github-repos/lean/bjoernkjoshanssen-jaccard", "path": "github-repos/lean/bjoernkjoshanssen-jaccard/jaccard-1f1e85a03715ac665cdef55a3fa740b5b30e902b/src/delta.lean"} |
function b = fastnnls(x,y,tol,b)
% $ Version 1.02 $ Date 28. July 1998 $ Not compiled $
%
% See also:
% 'unimodal' 'monreg' 'fastnnls'
%
% FASTNNLS Fast non-negative least squares
% The inputs are the matrix of predictor variables (x),
% vector of predicted variable (y), and optional inputs
% tolerance on the size... | {"author": "andrewssobral", "repo": "mtt", "sha": "0152a77df09f24af4c294f46845931e4e0e63b55", "save_path": "github-repos/MATLAB/andrewssobral-mtt", "path": "github-repos/MATLAB/andrewssobral-mtt/mtt-0152a77df09f24af4c294f46845931e4e0e63b55/libs/nway331/fnnls.m"} |
# This file is part of the TaylorSeries.jl Julia package, MIT license
#
# Luis Benet & David P. Sanders
# UNAM
#
# MIT Expat license
#
## Constructors ##
doc"""
Taylor1{T<:Number} <: Number
DataType for polynomial expansions in one independent variable.
**Fields:**
- `coeffs :: Array{T,1}` Expansion coefficien... | {"hexsha": "a92295ff019d92d0f0de07cae8494a70803becfe", "size": 36297, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/Taylor1.jl", "max_stars_repo_name": "JuliaPackageMirrors/TaylorSeries.jl", "max_stars_repo_head_hexsha": "28a50e41dd132856691c5b8360b29cb498299003", "max_stars_repo_licenses": ["MIT"], "max_st... |
# template Matching
import cv2 as cv
import numpy as np
from matplotlib import pyplot as plt
img = cv.imread('l3.jpg',0)
img2 = img.copy()
template = cv.imread('train_dm_true.png',0)
w, h = template.shape[::-1]
# All the 6 methods for comparison in a list
methods = ['cv.TM_CCOEFF', 'cv.TM_CCOEFF_NORMED', 'cv.TM_CCORR'... | {"hexsha": "4d70af94eb0cd5ec649293a0b9a01b6a8a627080", "size": 1167, "ext": "py", "lang": "Python", "max_stars_repo_path": "app/experiments/test4.py", "max_stars_repo_name": "spalk/DataMatrix-Sorter", "max_stars_repo_head_hexsha": "dd264ad068eda6cd3420a9629b33676c4cf9ed64", "max_stars_repo_licenses": ["MIT"], "max_star... |
------------------------------------------------------------------------------
-- From inductive PA to standard axiomatic PA
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-pol... | {"hexsha": "0e4db7bc658d94b562b4637c43e8c90711b2cefe", "size": 1559, "ext": "agda", "lang": "Agda", "max_stars_repo_path": "src/fot/PA/Inductive2Standard.agda", "max_stars_repo_name": "asr/fotc", "max_stars_repo_head_hexsha": "2fc9f2b81052a2e0822669f02036c5750371b72d", "max_stars_repo_licenses": ["MIT"], "max_stars_cou... |
### Handson Machine Learning utility functions
# 공통
import os
import tarfile
import numpy as np
import pandas as pd
import matplotlib
import matplotlib.pyplot as plt
from six.moves import urllib
## 기본 환경 설정
def default_config():
# 일관된 출력을 위해 유사난수 초기화
np.random.seed(42)
# 맷플롯립 설정
plt.rcParams['axes.la... | {"hexsha": "31aeb2d4d301cb03bb8441b58e3820b478b3d880", "size": 2417, "ext": "py", "lang": "Python", "max_stars_repo_path": "_mystudy/functions.py", "max_stars_repo_name": "sungalex/handson-ml", "max_stars_repo_head_hexsha": "43b2cbe366bd608e16e284e19cae5d25287be6d7", "max_stars_repo_licenses": ["Apache-2.0"], "max_star... |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! EVB-QMDFF - RPMD molecular dynamics and rate constant calculations on
! black-box generated potential energy surfaces
!
! Copyright (c) 2021 by Julien Steffen (steffen@pctc.uni-kiel.de)
! Stefa... | {"hexsha": "e3d7afd6ed78a219bbd694baafc1e728a30a76c1", "size": 11595, "ext": "f90", "lang": "FORTRAN", "max_stars_repo_path": "src/egrad_water.f90", "max_stars_repo_name": "Trebonius91/EVB-QMDFF", "max_stars_repo_head_hexsha": "8d03e1ad073becb0161b0377b630d7b65fe3c290", "max_stars_repo_licenses": ["MIT", "Unlicense"], ... |
"""
The ``cla`` module houses the CLA class, which
generates optimal portfolios using the Critical Line Algorithm as implemented
by Marcos Lopez de Prado and David Bailey.
"""
import math
import warnings
import numpy as np
import pandas as pd
from . import base_optimizer
class CLA(base_optimizer.BaseOptimizer):
... | {"hexsha": "98e53aa36e80f3a9676734a756b6185af4bd9368", "size": 18351, "ext": "py", "lang": "Python", "max_stars_repo_path": "pypfopt/cla.py", "max_stars_repo_name": "sbooker/PyPortfolioOpt", "max_stars_repo_head_hexsha": "74c6c57b847849bbd66b4e7cb3421d670f7d3df1", "max_stars_repo_licenses": ["MIT"], "max_stars_count": ... |
import os
import sys
import time
import argparse
import numpy as np
import torch
import torch.nn as nn
from torch.utils.tensorboard import SummaryWriter
from carle.env import CARLE
from carle.mcl import AE2D, RND2D, CornerBonus, PufferDetector, SpeedDetector
from game_of_carle.agents.toggle import Toggle
from game_... | {"hexsha": "20462ed1db3af0282711374d2f4beb22bb72a51d", "size": 9984, "ext": "py", "lang": "Python", "max_stars_repo_path": "game_of_carle/experiment.py", "max_stars_repo_name": "riveSunder/harli_learning", "max_stars_repo_head_hexsha": "fb7e9963213706c8b09a5e55229a34245075621a", "max_stars_repo_licenses": ["MIT"], "max... |
import FaceDetection
import ImageLoader
import IntersectionOverUnion as IoU
import cv2
import numpy as np
from pprint import pprint
def evaluate():
imgs = ImageLoader.gen_load_imgs("Data/wider_face_train_bbx_gt.txt")
intersection_sum = 0
union_sum = 0
itr = 0
for i in imgs:
img = i.get("i... | {"hexsha": "da8fe2d1bb6d08ad1c1da5c433f1b8d19c7931b1", "size": 1927, "ext": "py", "lang": "Python", "max_stars_repo_path": "Code/Evaluation.py", "max_stars_repo_name": "SebastianKurz/FaceDetection", "max_stars_repo_head_hexsha": "ba462e61a96f277cb13846302696efa224c19c66", "max_stars_repo_licenses": ["MIT"], "max_stars_... |
[STATEMENT]
lemma is_empty_op_correct[refine_vcg]:
"heap_invar h \<Longrightarrow> is_empty_op h \<le> SPEC (\<lambda>r. r\<longleftrightarrow>\<alpha> h = {#})"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. heap_invar h \<Longrightarrow> is_empty_op h \<le> SPEC (\<lambda>r. r = (\<alpha> h = {#}))
[PROOF S... | {"llama_tokens": 318, "file": "Refine_Imperative_HOL_IICF_Impl_Heaps_IICF_Abs_Heap", "length": 3} |
[STATEMENT]
lemma (in ring) char_consistent:
assumes "subring H R"
shows "char (R \<lparr> carrier := H \<rparr>) = char R"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. char (R\<lparr>carrier := H\<rparr>) = char R
[PROOF STEP]
proof -
[PROOF STATE]
proof (state)
goal (1 subgoal):
1. char (R\<lparr>carrier :=... | {"llama_tokens": 477, "file": "Finite_Fields_Ring_Characteristic", "length": 6} |
import numpy as np
from ngboost.ngboost import NGBoost
from ngboost.distns import Bernoulli, Normal, LogNormal
from ngboost.scores import MLE
from ngboost.learners import default_tree_learner
from sklearn.base import BaseEstimator
class NGBRegressor(NGBoost, BaseEstimator):
def __init__(self,
Di... | {"hexsha": "0709ad79d5d269bc528342a6e09d3ba99d72aae7", "size": 2342, "ext": "py", "lang": "Python", "max_stars_repo_path": "ngboost/api.py", "max_stars_repo_name": "matsuken92/ngboost", "max_stars_repo_head_hexsha": "04f93a867c45f5516d5bc33803f540c163ef36a5", "max_stars_repo_licenses": ["Apache-2.0"], "max_stars_count"... |
import numpy as np
import matplotlib.pyplot as plt
def style(index, e=0.001):
patterns = [
("densely dotted", (-0.5, (e, 2 - e))),
("dotted", (-0.5, (e, 3 - e))),
("loosely dotted", (-0.5, (e, 5 - e))),
("densely dashed", (-0.5, (2, 3))),
("dashed", (-0.5, (2, 4))),
... | {"hexsha": "88fe404d894bcebf6f8635620151863c4a454969", "size": 4882, "ext": "py", "lang": "Python", "max_stars_repo_path": "code/beyond/tikz-dashes.py", "max_stars_repo_name": "geo7/scientific-visualization-book", "max_stars_repo_head_hexsha": "71f6bac4db7ee2f26e88052fe7faa800303d8b00", "max_stars_repo_licenses": ["BSD... |
#!/usr/bin/env python
# -*- coding:utf-8 -*-
#
# @Author: José Sánchez-Gallego (gallegoj@uw.edu)
# @Date: 2018-07-08
# @Filename: vacs.py
# @License: BSD 3-clause (http://www.opensource.org/licenses/BSD-3-Clause)
#
# @Last modified by: Brian Cherinka
# @Last modified time: 2018-07-09 17:27:59
import importlib
impor... | {"hexsha": "f7445230bb8d492059dd6baab8f5d33113caf45c", "size": 1703, "ext": "py", "lang": "Python", "max_stars_repo_path": "tests/contrib/test_vacs.py", "max_stars_repo_name": "jvazquez77/marvin", "max_stars_repo_head_hexsha": "f7f2c498c1a2cfa19ab96c51eebbbd4bde980984", "max_stars_repo_licenses": ["BSD-3-Clause"], "max... |
from unittest.case import TestCase
import numpy as np
import tensorflow as tf
from tensorflow_core.python.keras.api._v2.keras import initializers
from mdrnn import MDRNN
from mdrnn._layers.gru import LinearGate
class Degenerate2DInputToMDRNNTests(TestCase):
def make_rnns(self):
seed = 1
kwargs ... | {"hexsha": "22b4506ea41a651f9cce552c4cb8671f6fd0c9d1", "size": 10255, "ext": "py", "lang": "Python", "max_stars_repo_path": "tests/unit/multi_dimensional_RNN/test_mdrnn_on_2d_grid.py", "max_stars_repo_name": "X-rayLaser/multi-directional-mdrnn", "max_stars_repo_head_hexsha": "70b0e1c2e07b5f476c264c6700e8d34d41a2ce10", ... |
import seaborn
import matplotlib.pyplot as plt
import pandas as pd
import os
import numpy as np
converter = {'ball': 0, 'inner': 0.01,
'comb': 0.02, 'outer': 0.03, 'health': 0.04}
def converte(type):
return converter[type]
names = ['Channel1', 'Channel2', 'Channel3', 'Channel4',
'Channel5'... | {"hexsha": "a27f5e84cabf66781219a6089c5607b34800c428", "size": 1443, "ext": "py", "lang": "Python", "max_stars_repo_path": "edge/data/visualization.py", "max_stars_repo_name": "keleqnma/ke-data-analysis", "max_stars_repo_head_hexsha": "640290c30178cc56a90ca744f1c2af8ec0e95017", "max_stars_repo_licenses": ["MIT"], "max_... |
# import os
# import hug
# import redis
# import bigsi.__main__
# import json
# from bigsi import BIGSI
# import hypothesis.strategies as st
# from hypothesis import given
# from hypothesis import settings
# import random
# import tempfile
# from bigsi.cmds.build import get_required_bytes_per_bloomfilter
# from bigs... | {"hexsha": "7a04d327a717355a1beb0d4b0881ced83d3e411f", "size": 2630, "ext": "py", "lang": "Python", "max_stars_repo_path": "bigsi/tests/cmds/test_build_cmd.py", "max_stars_repo_name": "Phelimb/bfg", "max_stars_repo_head_hexsha": "bf34abbb9d6f72a9f0c64c40eefc44d810a2502e", "max_stars_repo_licenses": ["MIT"], "max_stars_... |
import pytest
import numpy as np
from ...core import Data, DataCollection
from ...qt.glue_application import GlueApplication
from ...qt.widgets import ScatterWidget, ImageWidget, HistogramWidget
from ..export_plotly import build_plotly_call
try:
import plotly
PLOTLY_INSTALLED = True
except ImportError:
PL... | {"hexsha": "45244a51a261b166189dfb66c83e57f0edfa1253", "size": 5178, "ext": "py", "lang": "Python", "max_stars_repo_path": "glue/plugins/tests/test_plotly.py", "max_stars_repo_name": "bsipocz/glue", "max_stars_repo_head_hexsha": "7b7e4879b4c746b2419a0eca2a17c2d07a3fded3", "max_stars_repo_licenses": ["BSD-3-Clause"], "m... |
import numpy as np
#from matplotlib import pyplot as plt
import matplotlib.pyplot as plt
import copy
f = open('res.txt', 'w')
t0=110. # 最大偏角
l=1.0; nx0=51; wn=3 # 波長, 格子数/1波長, 波数
ds=l/(nx0-1); dds=ds/10.
#print(ds,dds)
#exit()
s0=0.; x0=0.; y0=-0.2
nx=(nx0-1)*wn+1
xpos=np.zeros([nx+1]); ypos=np.zeros(... | {"hexsha": "d5e0b061d9e3e5c71802aeae64929cc8318ba112", "size": 2724, "ext": "py", "lang": "Python", "max_stars_repo_path": "radius_cmp.py", "max_stars_repo_name": "YasuShimizu/Python-Code", "max_stars_repo_head_hexsha": "e4eaaeb0f0392ae4bfcb0eba125cc8091f8a6e7b", "max_stars_repo_licenses": ["MIT"], "max_stars_count": n... |
"""
All rights reserved to cnvrg.io
http://www.cnvrg.io
SKTrainerClustering.py
==============================================================================
"""
import os
import pickle
import numpy as np
import pandas as pd
from cnvrg import Experiment
from cnvrg.charts import MatrixHeatmap
class SKTrainerCl... | {"hexsha": "98bf7ed35e9d4d5b0b5b5ef7a95e6f1692dd58e2", "size": 2097, "ext": "py", "lang": "Python", "max_stars_repo_path": ".sk_clustering_kmeans (not prepared)/SKTrainerClustering.py", "max_stars_repo_name": "AccessibleAI/ailibrary", "max_stars_repo_head_hexsha": "f283f7c1608f5998694efc3cdbd0a29ebf3239c2", "max_stars_... |
MODULE MF_Euler_PerturbationModule
! ---AMReX Modules ---
USE amrex_box_module, ONLY: &
amrex_box
USE amrex_geometry_module, ONLY: &
amrex_geometry
USE amrex_multifab_module, ONLY: &
amrex_multifab, &
amrex_mfiter, &
amrex_mfiter_build, &
amrex_mfiter_destroy
USE amrex... | {"hexsha": "47ab685f1beb5b3576af0963413b9b518e80a0a5", "size": 7617, "ext": "f90", "lang": "FORTRAN", "max_stars_repo_path": "SandBox/AMReX/Euler/MF_Euler_PerturbationModule.f90", "max_stars_repo_name": "dunhamsj/thornado", "max_stars_repo_head_hexsha": "52e52e8129039238d64f0d70f48e703325f7e635", "max_stars_repo_licens... |
/*
Copyright (C) 2003-2013 by David White <davewx7@gmail.com>
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 your option) any later version.... | {"hexsha": "996692aff613cc44b6866201477144f5c274d086", "size": 2024, "ext": "hpp", "lang": "C++", "max_stars_repo_path": "src/scrollable_widget.hpp", "max_stars_repo_name": "sweetkristas/anura", "max_stars_repo_head_hexsha": "5e8cbcfc7b761c5c01e5c5509a0fb159b8fb60cd", "max_stars_repo_licenses": ["CC0-1.0"], "max_stars_... |
# -*- coding: utf-8 -*-
import itertools
from warnings import warn
import numpy as np
from pmutt import _ModelBase
from pmutt import constants as c
from pmutt.io.json import remove_class
class RigidRotor(_ModelBase):
"""Rotational mode using the rigid rotor assumption. Equations sourced from:
* Sandle... | {"hexsha": "0b573e5311c864acc9c714a93cc09e8905ac1957", "size": 11472, "ext": "py", "lang": "Python", "max_stars_repo_path": "pmutt/statmech/rot.py", "max_stars_repo_name": "wittregr/pMuTT", "max_stars_repo_head_hexsha": "1678fd3d3a10d8ef5389c02970a7ebaa92fc7344", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 2... |
from CRBM import CRBM
from tensorflow.examples.tutorials.mnist import input_data
import numpy as np
import logging
import sys
import matplotlib.pyplot as plt
plot_enabled = False
if __name__ == '__main__':
logging.basicConfig(stream=sys.stdout, level=logging.DEBUG)
data = input_data.read_data_sets("MNIST_da... | {"hexsha": "f9dc34bceeadedbc4204105cffce6de833f125e1", "size": 2023, "ext": "py", "lang": "Python", "max_stars_repo_path": "test.py", "max_stars_repo_name": "cjackie/CRBM", "max_stars_repo_head_hexsha": "6f82bac3390408bdafe06f961ed61d16250b02e5", "max_stars_repo_licenses": ["BSD-3-Clause"], "max_stars_count": 18, "max_... |
#=
You run an e-commerce website and want to record the last N order ids in a log. Implement a data structure to accomplish this, with the following API:
record(order_id): adds the order_id to the log
get_last(i): gets the ith last element from the log. i is guaranteed to be smaller than or equal to N.
You sh... | {"hexsha": "66cafe23a9bf87ed330528b6d7d3e8b12f0584d4", "size": 762, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "Solutions/problem16_log_orderID.jl", "max_stars_repo_name": "DominiqueCaron/daily-coding-problem", "max_stars_repo_head_hexsha": "41234497aa3a2c21c5dff43d86e9153d9582cced", "max_stars_repo_licenses"... |
from typing import List
import numpy as np
import torch
import torch.nn.functional as F
from torch import Tensor
from ._metric import _Metric
from ..loss.dice_loss import dice_coef, dice_batch
from ..utils import probs2one_hot, class2one_hot
from ..utils.typecheckconvert import to_float
__all__ = ["SliceDiceMeter", ... | {"hexsha": "76a6f3000f114c1f15ba9efa738c48e0d36b235d", "size": 3959, "ext": "py", "lang": "Python", "max_stars_repo_path": "deepclustering/meters/dicemeter.py", "max_stars_repo_name": "jizongFox/deep-clustering-toolbox", "max_stars_repo_head_hexsha": "0721cbbb278af027409ed4c115ccc743b6daed1b", "max_stars_repo_licenses"... |
"""
Regularized inverse of a scattering transform on MNIST (PyTorch)
================================================================
Description:
This example trains a convolutional network to invert the scattering transform at scale 2 of MNIST digits.
After only two epochs, it produces a network that transforms a li... | {"hexsha": "656a89d0d4bee555193551ea76a69d0864d70e5c", "size": 6515, "ext": "py", "lang": "Python", "max_stars_repo_path": "examples/2d/regularized_inverse_scattering_MNIST.py", "max_stars_repo_name": "edouardoyallon/kymatio", "max_stars_repo_head_hexsha": "eeed6ac9e59bc6645b90fc4e7ff8ce4f693887bc", "max_stars_repo_lic... |
! { dg-do run }
program print_c_kinds
use, intrinsic :: iso_c_binding
implicit none
print *, 'c_short is: ', c_short
print *, 'c_int is: ', c_int
print *, 'c_long is: ', c_long
print *, 'c_long_long is: ', c_long_long
print *
print *, 'c_int8_t is: ... | {"hexsha": "a66323316b21c5795650bc58d6142128b28708ff", "size": 1319, "ext": "f90", "lang": "FORTRAN", "max_stars_repo_path": "validation_tests/llvm/f18/gfortran.dg/print_c_kinds.f90", "max_stars_repo_name": "brugger1/testsuite", "max_stars_repo_head_hexsha": "9b504db668cdeaf7c561f15b76c95d05bfdd1517", "max_stars_repo_l... |
[STATEMENT]
lemma arccos_unique:
assumes "0 \<le> x"
and "x \<le> pi"
and "cos x = y"
shows "arccos y = x"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. arccos y = x
[PROOF STEP]
using arccos_cos assms(1) assms(2) assms(3)
[PROOF STATE]
proof (prove)
using this:
\<lbrakk>0 \<le> ?x; ?x \<le> pi\<rbrakk>... | {"llama_tokens": 214, "file": "Winding_Number_Eval_Missing_Transcendental", "length": 2} |
#!/usr/bin/python3
import argparse
import numpy as np
import scipy.io as sio
import yaml
import os
import time
epsilon = np.finfo(np.float32).eps
def get_eval_mask(labels, invalid_voxels):
"""
Ignore labels set to 255 and invalid voxels (the ones never hit by a laser ray, probed using ray tracing)
:param labe... | {"hexsha": "d9f9f87b9b875cd6dcda938deef4cff414e526cd", "size": 7302, "ext": "py", "lang": "Python", "max_stars_repo_path": "utils/evaluate_completion.py", "max_stars_repo_name": "reinforcementdriving/JS3C-Net", "max_stars_repo_head_hexsha": "40326fdbebc688c10a6247f46ed08463de0db206", "max_stars_repo_licenses": ["MIT"],... |
from __future__ import print_function
from colorbarpanel import ColorBarPanel
from dbconnect import DBConnect, UniqueImageClause, image_key_columns
from platemappanel import *
import imagetools
from properties import Properties
import numpy as np
import os
import re
import wx
from PlotPanelTS import *
p = Properties.... | {"hexsha": "18a0acd703c725e83de578f00e1be6b27fad1016", "size": 6481, "ext": "py", "lang": "Python", "max_stars_repo_path": "cpa/CellDistributionViewer.py", "max_stars_repo_name": "oba14/CellProfiler-Analyst", "max_stars_repo_head_hexsha": "7e194e72e8ce8440ce7c16196cb91c50052c2df1", "max_stars_repo_licenses": ["MIT"], "... |
import networkx as nx
from tnetwork.DCD.pure_python.static_cd.louvainModified import best_partition
from tnetwork import dynamicCommunitiesSN
def mucha(dynNetSN, om=0.5,form="local"):
#print("INITIALISING MUCHA ")
#needs to remove singleton otherwise bugs with louvain
dynNetSN.remove_nodes_from(dynNetSN... | {"hexsha": "fe93e7ad4f4a937de5db390d600714348e64e5ff", "size": 2887, "ext": "py", "lang": "Python", "max_stars_repo_path": "tnetwork/DCD/externals/Mucha.py", "max_stars_repo_name": "tomjorquera/tnetwork", "max_stars_repo_head_hexsha": "684c9574086d369e80a5ae3b822fcc0f0a704ebd", "max_stars_repo_licenses": ["BSD-2-Clause... |
from enum import Enum
import torch
import torch.nn as nn
from numpy import pi
from . import util
class Sampler(Enum):
HMC = 1
RMHMC = 2
HMC_NUTS = 3
# IMPORTANCE = 3
# MH = 4
class Integrator(Enum):
EXPLICIT = 1
IMPLICIT = 2
S3 = 3
class Metric(Enum):
HESSIAN = 1
SOFTABS ... | {"hexsha": "3f6884bca2db0469d4ad1c473cb03daf5883a0c9", "size": 38173, "ext": "py", "lang": "Python", "max_stars_repo_path": "hamiltorch/samplers.py", "max_stars_repo_name": "twoertwein/hamiltorch", "max_stars_repo_head_hexsha": "695b7316a942c85b0f8208d505861f5859079768", "max_stars_repo_licenses": ["BSD-2-Clause"], "ma... |
# system imports
import os
import sys
import json
import datetime
import random
import time
import csv
import logging
# 3rd party imports
import requests
import pandas as pd
import numpy as np
from yelpapi import YelpAPI
from twitter import Twitter, OAuth
from searchtweets import load_credentials, ResultStream, gen_ru... | {"hexsha": "69e0336e93388ae3ea72c30976cf1c190b07f91d", "size": 19139, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/data/data_scrapper.py", "max_stars_repo_name": "metinsenturk/semantic-analysis", "max_stars_repo_head_hexsha": "9dd673ed249b4c0f24b8b9d5eb7349a9fdfd7f4f", "max_stars_repo_licenses": ["MIT"], ... |
import logging
import timeit
import numpy
from lasagne import Xinit
from lasagne import init, nonlinearities, objectives, updates
from lasagne import layers
logger = logging.getLogger(__name__)
__all__ = [
"MultiLayerPerceptronFromSpecifications",
"MultiLayerPerceptronFromPretrainedModel",
#
"AdaptedMultiLayerP... | {"hexsha": "78af6ef511f438bffad3bc03920c35e7f8422bc0", "size": 7756, "ext": "py", "lang": "Python", "max_stars_repo_path": "lasagne/networks/mlp.py", "max_stars_repo_name": "kzhai/Lasagne", "max_stars_repo_head_hexsha": "67b0cd4ea4920f0339892e979b62413605e9fb71", "max_stars_repo_licenses": ["MIT"], "max_stars_count": n... |
/* Copyright (C) 2016-2019 INRA
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* ... | {"hexsha": "780ebad39ae7ee0be9f3069718ea184e6866a2e0", "size": 21115, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "lib/test/solve.cpp", "max_stars_repo_name": "quesnel/baryonyx", "max_stars_repo_head_hexsha": "4ae0ef37cd7f53556b7c9f259fc114a48a293d57", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 8.0,... |
! Comprehensive table object that stores all of the
! intercell flows, and the inflows and the outflows for
! an advanced package.
module TableModule
use KindModule, only: I4B, I8B, DP
use ConstantsModule, only: LINELENGTH, LENBUDTXT, &
TABSTRING, TABUC... | {"hexsha": "62deefddb1575e85af18916b6aa2819e732d298a", "size": 34272, "ext": "f90", "lang": "FORTRAN", "max_stars_repo_path": "src/Utilities/Table.f90", "max_stars_repo_name": "scharlton2/modflow6", "max_stars_repo_head_hexsha": "83ac72ee3b6f580aaffef6352cf15c1697d3ce66", "max_stars_repo_licenses": ["CC0-1.0"], "max_st... |
[STATEMENT]
lemma insertion_prod: "insertion f (prod g A) = (\<Prod>x\<in>A. insertion f (g x))"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. insertion f (prod g A) = (\<Prod>x\<in>A. insertion f (g x))
[PROOF STEP]
by (induction A rule: infinite_finite_induct) (auto simp: insertion_mult) | {"llama_tokens": 121, "file": "Symmetric_Polynomials_Symmetric_Polynomials", "length": 1} |
import numpy as np
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
from mpl_toolkits.mplot3d.art3d import Poly3DCollection
def draw(ax, verts, faces=[], color=[]):
"""
Draw the object defined by vertices and faces.
"""
if verts.ndim == 1:
if color:
ax.scatt... | {"hexsha": "4daa92a247f0bace547c92d8e6b1073036d8e2d5", "size": 4462, "ext": "py", "lang": "Python", "max_stars_repo_path": "computer_graphics/projection_demo.py", "max_stars_repo_name": "ajdillhoff/Linear-Algebra-Examples", "max_stars_repo_head_hexsha": "da0d1aa3a457225bc0d53f2ba39c75991c87cf1c", "max_stars_repo_licens... |
import pyaudio
import time
import numpy as np
import tensorflow as tf
from tensorflow import keras
from tensorflow.python.ops import gen_audio_ops as audio_ops
from datetime import datetime
model = keras.models.load_model("checkpoint.model")
FORMAT = pyaudio.paFloat32
RATE = 16000
CHANNELS = 1
NOFFRAMES = 8000
audi... | {"hexsha": "093e5619a4bd15f5cd45d812e1a3ef09ae9680f1", "size": 2575, "ext": "py", "lang": "Python", "max_stars_repo_path": "model/test.py", "max_stars_repo_name": "wiltonlazary/diy-alexa", "max_stars_repo_head_hexsha": "6f172debed574d604c7bf2f3ea49c52e95b23677", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 26... |
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import numpy as np
from rasa_nlu_gao.components import Component
class Featurizer(Component):
@staticmethod
def _combine_with_existing_text_features(message,
... | {"hexsha": "b2873ed8133dbc4787732d5918cf0c585a148c9c", "size": 605, "ext": "py", "lang": "Python", "max_stars_repo_path": "rasa_nlu_gao/featurizers/__init__.py", "max_stars_repo_name": "1073521013/rasa_nlu_gq", "max_stars_repo_head_hexsha": "6c8bea1b14390246b39770abc544986f4c7acf26", "max_stars_repo_licenses": ["Apache... |
"""Implementation of optimization based attack,
CW Attack for ROBUST point perturbation.
Based on AAAI'20: Robust Adversarial Objects against Deep Learning Models.
"""
import pdb
import time
import torch
import torch.nn as nn
import torch.optim as optim
import numpy as np
class CWKNN:
"""Class for CW attack.... | {"hexsha": "48e80eaf3b16822a5de42c496aaaa6b5240beda1", "size": 5127, "ext": "py", "lang": "Python", "max_stars_repo_path": "tools/attack/CW/kNN.py", "max_stars_repo_name": "rajk97/Adversial-Attacks-on-densely-fused-point-clouds-for-6D-Pose-Estimation", "max_stars_repo_head_hexsha": "e296e70c3a1286b7491995215369d9f39cfc... |
[STATEMENT]
lemma hoaret_sound:
assumes hoare: "\<Gamma>,\<Theta>\<turnstile>\<^sub>t\<^bsub>/F\<^esub> P c Q,A"
shows "\<Gamma>,\<Theta>\<Turnstile>\<^sub>t\<^bsub>/F\<^esub> P c Q,A"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. \<Gamma>,\<Theta>\<Turnstile>\<^sub>t\<^bsub>/F\<^esub> P c Q,A
[PROOF STEP]
using ... | {"llama_tokens": 146790, "file": "Simpl_HoareTotalProps", "length": 621} |
[GOAL]
G : Type u_1
G' : Type u_2
inst✝¹ : Group G
inst✝ : Group G'
f : G →* G'
n : ℕ
⊢ Normal (derivedSeries G n)
[PROOFSTEP]
induction' n with n ih
[GOAL]
case zero
G : Type u_1
G' : Type u_2
inst✝¹ : Group G
inst✝ : Group G'
f : G →* G'
⊢ Normal (derivedSeries G Nat.zero)
[PROOFSTEP]
exact (⊤ : Subgroup G).normal_of... | {"mathlib_filename": "Mathlib.GroupTheory.Solvable", "llama_tokens": 12293} |
import numpy as np
import pandas as pd
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import StandardScaler
from sklearn.decomposition import PCA
import tensorflow.keras.layers as L
from tensorflow.keras import Model
from tensorflow.keras.metrics import AUC
from tensorflow.keras.callb... | {"hexsha": "d4bf362b496eb7531b04ddda5dedb4d94f363b9f", "size": 3958, "ext": "py", "lang": "Python", "max_stars_repo_path": "models/tf_nn.py", "max_stars_repo_name": "martxelo/kaggle-pg-nov-2021", "max_stars_repo_head_hexsha": "aacf15f1211d3bbd3731ae106174f558ee01186a", "max_stars_repo_licenses": ["MIT"], "max_stars_cou... |
"""
Built-in Operators provided by Devito.
"""
from sympy import Abs, Pow
import numpy as np
import devito as dv
from devito.tools import as_tuple, as_list
__all__ = ['assign', 'smooth', 'gaussian_smooth', 'initialize_function', 'norm',
'sumall', 'inner', 'mmin', 'mmax']
def assign(f, rhs=0, options=Non... | {"hexsha": "b7f445c8ee5c8cc0dbfb0bd9d1ef6c8975c22cbc", "size": 18048, "ext": "py", "lang": "Python", "max_stars_repo_path": "devito/builtins.py", "max_stars_repo_name": "kristiantorres/devito", "max_stars_repo_head_hexsha": "9357d69448698fd2b7a57be6fbb400058716b532", "max_stars_repo_licenses": ["MIT"], "max_stars_count... |
#!/usr/bin/env julia
using ArgParse
s = ArgParseSettings()
@add_arg_table s begin
"-M"
help = "Print out the list of files this program will create."
action = :store_true
"config"
help = "a YAML configuration file"
default = "config.yaml"
end
parsed_args = parse_args(ARGS, s)
import YAML
con... | {"hexsha": "0e19c7e8f600928aff7a18f50817f8727868e25d", "size": 4239, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "scripts/ray_quantities.jl", "max_stars_repo_name": "iancze/DiskTracer.jl", "max_stars_repo_head_hexsha": "5f000833875a7c440edfb78a4623cb80cd330db5", "max_stars_repo_licenses": ["MIT"], "max_stars_c... |
#### Boundary Conditions
# A set of functions that apply Dirichlet or Neumann boundary conditions
# at the grid boundaries, given a state vector.
export Dirichlet, Neumann
export apply_Dirichlet!, apply_Neumann!
export DiffusionAbsorbed, AdvectionAbsorbed
export bc_source
abstract type BoundaryLocation end
"""
... | {"hexsha": "8c6ff56ec3ef4900cc2d6b4d4f0fa80b333a94e3", "size": 5410, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/StateVecs/boundary_conditions.jl", "max_stars_repo_name": "climate-machine/SingleColumnModels.jl", "max_stars_repo_head_hexsha": "2e782bdfe0abd4d6c251c0d78e7ac733d39a6709", "max_stars_repo_lice... |
import numpy as np
class StreaminDecoderASR:
def __init__(self, model_definition, asr_model, data_layer, data_loader,
frame_overlap=2.5, offset=10):
'''
Args:
model_definition:
asr_model:
data_layer:
data_loader:
frame_overlap: dur... | {"hexsha": "9de02151b3095fd416385568ec04f577adcf9e34", "size": 2480, "ext": "py", "lang": "Python", "max_stars_repo_path": "TheSoundOfAIOSR/stt/nemo/streaming_decoder.py", "max_stars_repo_name": "Leofltt/rg_speech_to_text", "max_stars_repo_head_hexsha": "ded205b94b9dcb697c8688a88e9767361a9e99b7", "max_stars_repo_licens... |
// 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... | {"hexsha": "29bb59bfaffe245146b76f262a227ceb85a4804f", "size": 39055, "ext": "cc", "lang": "C++", "max_stars_repo_path": "src/yb/tablet/tablet_metadata.cc", "max_stars_repo_name": "srinivasa-vasu/yugabyte-db", "max_stars_repo_head_hexsha": "8fc40284c6069c2c9204c9af300b681d5772f33f", "max_stars_repo_licenses": ["Apache-... |
/*
* Copyright 2009-2018 The VOTCA Development Team
* (http://www.votca.org)
*
* 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
*
* h... | {"hexsha": "d28158a082bf5de5cfda71fbd463a9c16ca77292", "size": 6916, "ext": "cc", "lang": "C++", "max_stars_repo_path": "src/libxtp/esp2multipole.cc", "max_stars_repo_name": "mbarbry/xtp", "max_stars_repo_head_hexsha": "e79828209d11ec25bf1750ab75499ecf50f584ef", "max_stars_repo_licenses": ["Apache-2.0"], "max_stars_cou... |
# -*- coding: utf-8 -*-
"""
Created on Sun Apr 12 22:46:16 2020
@author: chens
"""
import matplotlib.pyplot as plt
from pathlib import Path
from geoist import DATA_PATH
from geoist.others.gdal import GDALGrid
from geoist.others.utils import map2DGrid, Grid2Xyz, xyz2Grid, grid2srf
# 1.读取数据
filename1 = Path(DATA_PAT... | {"hexsha": "f523193f1acbc6e5c3b01793a0b1a8243ebfa5bb", "size": 2488, "ext": "py", "lang": "Python", "max_stars_repo_path": "examples/pfm_grav_trans1.py", "max_stars_repo_name": "irxat/geoist", "max_stars_repo_head_hexsha": "658aadab8074bffcbc6b3861671d35b3012502e9", "max_stars_repo_licenses": ["MIT"], "max_stars_count"... |
import pytest
import gym
import numpy as np
import torch as th
from ail.buffer import RolloutBuffer
env = gym.make("Pendulum-v0")
state, done = env.reset(), False
action = env.action_space.sample()
next_state, reward, done, info = env.step(action)
data = dict(
obs=state.astype(np.float32).reshape(1, -1),
a... | {"hexsha": "1c52b2ac2332fc4a5be14914c1036b798e612d44", "size": 8700, "ext": "py", "lang": "Python", "max_stars_repo_path": "test/test_buffer/test_buffer_from_input.py", "max_stars_repo_name": "tianyudwang/adversarial_imitation_learning", "max_stars_repo_head_hexsha": "1d5b0ce16cf6453ed29650b6ef565664d6742680", "max_sta... |
import pyfits as PF
import pylab as P
import numpy as N
if __name__ == '__main__':
path = '/grp/hst/cdbs/comp/cos/'
file1 = 'cosncm3_g230lc3000_006_syn.fits'
file2 = 'cosncm3_g230lc3000_005_syn.fits'
file3 = 'cosncm3_g230lc2950_006_syn.fits'
file4 = 'cosncm3_g230lc2950_005_syn.fits'
data1 =... | {"hexsha": "9b291d555233df40a7b56cd9bafe9dbf1a80f48c", "size": 1466, "ext": "py", "lang": "Python", "max_stars_repo_path": "plot/COSIHB/compare_synphot_files.py", "max_stars_repo_name": "sniemi/SamPy", "max_stars_repo_head_hexsha": "e048756feca67197cf5f995afd7d75d8286e017b", "max_stars_repo_licenses": ["BSD-2-Clause"],... |
import numpy as np
import basis.robot_math as rm
import motion.optimization_based.incremental_nik as inik
class DepthCaliberator(object):
def __init__(self, robot_x, sensor_client):
self.robot_x = robot_x
self.robot_inik_solver = inik.IncrementalNIK(robot_instance)
self.sensor_client = sen... | {"hexsha": "aadb9dd8a08a674ee708785118420603d66c2e23", "size": 3230, "ext": "py", "lang": "Python", "max_stars_repo_path": "vision/depth_calibrator.py", "max_stars_repo_name": "Photon26/wrs-main-210414", "max_stars_repo_head_hexsha": "71efab6f8680af48ba269244136acf69c36cb730", "max_stars_repo_licenses": ["MIT"], "max_s... |
#
# Copyright The NOMAD Authors.
#
# This file is part of NOMAD. See https://nomad-lab.eu for further info.
#
# 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/licen... | {"hexsha": "3bf6531e79996666c0b904aa3e4ac97b37f3ad2a", "size": 3540, "ext": "py", "lang": "Python", "max_stars_repo_path": "tests/test_octopusparser.py", "max_stars_repo_name": "nomad-coe/electronic-parsers", "max_stars_repo_head_hexsha": "defb47be6ac22b2e48d4fb9204c85390a3c2f328", "max_stars_repo_licenses": ["Apache-2... |
# Matrix
## Create a matrix $$\begin{bmatrix} 1 & 2 \\ -2 & 3 \\ 3 & 4 \end{bmatrix}$$
```python
# Create a matrix
from sympy import *
init_printing(use_unicode=True)
Matrix([[1, 2], [-2, 3], [3, 4]])
```
$\displaystyle \left[\begin{matrix}1 & 2\\-2 & 3\\3 & 4\end{matrix}\right]$
## Create some matrix
$$M =... | {"hexsha": "2332c1142f4905f60f732795fa91e508362be3bc", "size": 14662, "ext": "ipynb", "lang": "Jupyter Notebook", "max_stars_repo_path": "matrices.ipynb", "max_stars_repo_name": "ricoen/learn-math", "max_stars_repo_head_hexsha": "fc84bc4d0dc353f8ccb3c52e36155069e9ca5af4", "max_stars_repo_licenses": ["MIT"], "max_stars_... |
import pandas
import matplotlib.pyplot as plt
import pandas as pd
import numpy as np
import os
from . import utils
PATH = os.path.dirname(os.path.abspath(__file__))
DATA_PATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
def plot_transactions(message_first_1_thread_df, netperf_df):
fix, ax = plt.... | {"hexsha": "5e150067f7fda2131e10c0093df7a41cf255d29a", "size": 3407, "ext": "py", "lang": "Python", "max_stars_repo_path": "benchmarks/comparison/plot_comparison_graph.py", "max_stars_repo_name": "jakemassoth/MessageFirst", "max_stars_repo_head_hexsha": "7135ffb8c541570d7bcaab1c7394c683a2832bbd", "max_stars_repo_licens... |
# -*- coding: utf-8 -*-
import logging
import math
import numpy as np
from .constants import FRAMERATE_RATIOS
from .golden_section_search import gss
from .sklearn_shim import TransformerMixin
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
class FailedToFindAlignmentException(Exceptio... | {"hexsha": "b74cf23c2250bdd6be596f90cbcc98dbc6238f96", "size": 4816, "ext": "py", "lang": "Python", "max_stars_repo_path": "ffsubsync/aligners.py", "max_stars_repo_name": "eshrh/ffsubsync", "max_stars_repo_head_hexsha": "fe416b437c28cd6cf383248b90005a2d516549f2", "max_stars_repo_licenses": ["MIT"], "max_stars_count": n... |
from __future__ import print_function
import tensorflow.keras
from tensorflow.keras.datasets import fashion_mnist
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense, Dropout, Flatten
from tensorflow.keras.layers import Conv2D, MaxPooling2D
from tensorflow.keras import backend as ... | {"hexsha": "2a2e7dcbd20d49110187e3fd940195e7e3f2f6b7", "size": 3422, "ext": "py", "lang": "Python", "max_stars_repo_path": "FashionMnist.py", "max_stars_repo_name": "aarkwright/arkml", "max_stars_repo_head_hexsha": "a2f3d9bea5298233187d9c82457ed9e83cd37ceb", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 1, "ma... |
from sklearn.metrics import accuracy_score
from sklearn.metrics import mean_absolute_error
from sklearn.linear_model import SGDRegressor
import os
import sys
import numpy as np
import time
from datetime import datetime, date, time, timedelta
# get_data_block_start
from get_data import GetData
from save_data import ... | {"hexsha": "95ad45a2fcdab4c84e2fd57c8b505d8eb192b27e", "size": 2278, "ext": "py", "lang": "Python", "max_stars_repo_path": "python/models/SGDRegression.py", "max_stars_repo_name": "aaronlam88/cmpe295", "max_stars_repo_head_hexsha": "dfe9fee8b11f0d2104d8879f578c4a6864314b76", "max_stars_repo_licenses": ["MIT"], "max_sta... |
# crop size 448
# mean 109.973, 127.336, 123.883
import os
import cv2
import numpy as np
import torch
import random
from torch.utils.data import Dataset
import torch.utils.data as data
import torchvision.transforms as transforms
import pandas as pd
from PIL import Image
# 默认使用PIL读图
def default_loader(path):
# retu... | {"hexsha": "f08e35da2786b5bb1f07aa46e0c5462e04c06893", "size": 6705, "ext": "py", "lang": "Python", "max_stars_repo_path": "CUB_loader.py", "max_stars_repo_name": "lvwuyunlifan/crop", "max_stars_repo_head_hexsha": "7392d007a8271ff384c5c66ed5717afbc4172b4d", "max_stars_repo_licenses": ["Apache-2.0"], "max_stars_count": ... |
function y = lorentzian(x, sigma, type)
%LORENTZIAN Lorentzian robust function.
% LORENTZIAN(X, SIGMA, TYPE) evaluates the Lorentzian robust function
% with sigma SIGMA at point(s) X.
% TYPE selects the evaluation type:
% - 0: function value
% - 1: first derivative
% - 2: second derivative
%
% Th... | {"author": "kristinbranson", "repo": "JAABA", "sha": "5d778a23e3e7cf272df9a89a72b1b66d94f535d7", "save_path": "github-repos/MATLAB/kristinbranson-JAABA", "path": "github-repos/MATLAB/kristinbranson-JAABA/JAABA-5d778a23e3e7cf272df9a89a72b1b66d94f535d7/spaceTime/optflow_deqing/utils/@robust_function/private/lorentzian.m"... |
!-----------------------------------------------------------------------
! Write output
!-----------------------------------------------------------------------
subroutine OUTPUT
use DRIVING, only: &
year, &! Year
month, &! Month of year
day, &! Day of month
hour... | {"hexsha": "e0f3acdbf8a37c0fdce0362e331d3563333fe9b0", "size": 1044, "ext": "f90", "lang": "FORTRAN", "max_stars_repo_path": "fortran/src/OUTPUT.f90", "max_stars_repo_name": "jannefiluren/FSM.jl", "max_stars_repo_head_hexsha": "fc2d50fbaa1538fb5100e6a24c59e8d85bb9a97c", "max_stars_repo_licenses": ["MIT"], "max_stars_co... |
import numpy as np
from doctr.models.detection.differentiable_binarization.base import DBPostProcessor
from doctr.models.detection.linknet.base import LinkNetPostProcessor
def test_dbpostprocessor():
postprocessor = DBPostProcessor(assume_straight_pages=True)
r_postprocessor = DBPostProcessor(assume_straight... | {"hexsha": "ca3c3dc0a50376248013678b118deafed7574ae4", "size": 2528, "ext": "py", "lang": "Python", "max_stars_repo_path": "tests/common/test_models_detection.py", "max_stars_repo_name": "HSE-asavchenko/doctr", "max_stars_repo_head_hexsha": "b875cb717943c4e2d1ebe73dac308b54a530cbab", "max_stars_repo_licenses": ["Apache... |
/**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef IROHA_AMETSUCHI_FIXTURE_HPP
#define IROHA_AMETSUCHI_FIXTURE_HPP
#include <gtest/gtest.h>
#include <soci/postgresql/soci-postgresql.h>
#include <soci/soci.h>
#include <boost/filesystem.hpp>
#include <boost/uuid... | {"hexsha": "c2ac8d88d93a3dd1d8c4c6e27310a9716dae1b2a", "size": 10938, "ext": "hpp", "lang": "C++", "max_stars_repo_path": "test/module/irohad/ametsuchi/ametsuchi_fixture.hpp", "max_stars_repo_name": "Insafin/iroha", "max_stars_repo_head_hexsha": "5e3c3252b2a62fa887274bdf25547dc264c10c26", "max_stars_repo_licenses": ["A... |
from quadtree import LQTLD
from algos import a_star
import imageio
import png
import math
import numpy as np
IMG = imageio.imread("daddy.png")
MAX_ROWS = IMG.shape[1]
MAX_COLS = IMG.shape[0]
def main():
global IMG
occ_map = IMG[:,:,3] & 1
occ_map = IMG[:,:,3] ^ 1
biggest = max(occ_map.shape)
occ_map = occ_map.to... | {"hexsha": "5c9d8715f30f954042e34231b7d0c37a9459cf5b", "size": 1077, "ext": "py", "lang": "Python", "max_stars_repo_path": "pathing.py", "max_stars_repo_name": "dwrodri/cumapit", "max_stars_repo_head_hexsha": "8f939f4433ff5c01268c66daa6551b3228f9c929", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 2, "max_star... |
# -*- coding: utf-8 -*-
"""Emotion-Analysis.ipynb
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/1Hg2TKSPhWyjQZJDEyHaQxuRiD-A7_WtQ
#Imports
"""
import pandas as pd
import numpy as np
import os
import random
import re
import nltk
nltk.download('punk... | {"hexsha": "d96ead593faf891d39b831719fe5f71a5ee726d6", "size": 4579, "ext": "py", "lang": "Python", "max_stars_repo_path": "emotion_analysis.py", "max_stars_repo_name": "nitish-pandey/Emotion-Classification", "max_stars_repo_head_hexsha": "fd9fbcc69cc493e4048619c8e71f77c0e5321e6e", "max_stars_repo_licenses": ["MIT"], "... |
import numpy as np
from vegetation import NDVI
def NDBI(ds):
"""
Computes the Normalized Difference Built-up Index for an `xarray.Dataset`.
The formula is (SWIR1 - NIR) / (SWIR1 + NIR).
Values should be in the range [-1,1] for valid LANDSAT data (swir1 and nir are positive).
This is a spectral in... | {"hexsha": "4fb8cc4feb9fe363fc67283acc094c1920337cff", "size": 2082, "ext": "py", "lang": "Python", "max_stars_repo_path": "DCAL/DCAL_utils/urbanization.py", "max_stars_repo_name": "Neo916/deafrica-sandbox-notebooks", "max_stars_repo_head_hexsha": "5d7e4287d3536d75278ecf9c4850889ccc6fbcfd", "max_stars_repo_licenses": [... |
C %W% %G%
subroutine govinp(ign, line, bmva)
c reads the governor cards
implicit none
include 'tspinc/params.inc'
include 'tspinc/prt.inc'
include 'tspinc/gov.inc'
c ign is the generator number. i and j are local counting variables.
c igv is the index to the govdat array
... | {"hexsha": "d74c9b54ddd4a949e3b13cd22876eae7e9823d78", "size": 10855, "ext": "f", "lang": "FORTRAN", "max_stars_repo_path": "libtsp/govinp.f", "max_stars_repo_name": "mbheinen/bpa-ipf-tsp", "max_stars_repo_head_hexsha": "bf07dd456bb7d40046c37f06bcd36b7207fa6d90", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 1... |
import healpy as hp
import numpy as np
import matplotlib.pyplot as plt
from scipy.special import gamma as gafun
from scipy.stats import norm
import scipy.integrate as integrate
# import os
# import warnings
# import subprocess
import pandas as pd
# import numpy.ma as ma
def f_fromks(k1,k2):
'''Get the theoretic... | {"hexsha": "11bd8bfcc80b3b591a7f941baf4a082f2061712b", "size": 9656, "ext": "py", "lang": "Python", "max_stars_repo_path": "mtneedlet/mt.py", "max_stars_repo_name": "javicarron/mtneedlet", "max_stars_repo_head_hexsha": "0ec4300e7dbdee5c5aa0227c656df2b1894e5aba", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 4,... |
import matplotlib.pyplot as plt
from numpy import pi
def swing_plot(sol):
fig, axes = plt.subplots(2, 3, figsize=(9, 7))
axes = axes.ravel()
for i, ax in enumerate(axes):
ax.plot(sol.t, sol.response[:, i])
if i < 3:
ax.plot([sol.t[0], sol.t[-1]], [ pi/2, pi/2], 'r--')
... | {"hexsha": "22fd8d8848b5228490c75662de4b20b6288d5187", "size": 509, "ext": "py", "lang": "Python", "max_stars_repo_path": "swing_plot.py", "max_stars_repo_name": "HuiminHe/PyDy", "max_stars_repo_head_hexsha": "0834605bc2eed8d2768b50f55162bd6ac09cc694", "max_stars_repo_licenses": ["MIT"], "max_stars_count": null, "max_s... |
#include <vector>
#include <iostream>
#include <fstream>
#include <assert.h>
#include <NTL/lzz_pX.h>
#include "oneqfe/ss.h"
#include "bounded/stateful.h"
template<class OneQS>
StatefulFE<OneQS>::StatefulFE(int keys, CircuitDescription *description) {
key_limit = keys;
oneqfe = new OneQS(description);
state = 0... | {"hexsha": "6f3896e6a5d77cff078a6685f83f186847913acd", "size": 1831, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "src/bounded/stateful.cpp", "max_stars_repo_name": "gauravjsingh/FIFE", "max_stars_repo_head_hexsha": "397e71553fb62154479abb6507ed40af0a07bffd", "max_stars_repo_licenses": ["BSD-2-Clause"], "max_sta... |
#!/usr/bin/env python3
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
import copy
from enum import Enum
from typing import Union
import numpy as np
import torch
from flsim.common.p... | {"hexsha": "a2565c977a5f590f75be04de8c3040a4ec3bc1a3", "size": 32972, "ext": "py", "lang": "Python", "max_stars_repo_path": "flsim/trainers/tests/test_fedbuff.py", "max_stars_repo_name": "karthikprasad/FLSim", "max_stars_repo_head_hexsha": "3c62fe83de2f06feffb9ed65ce9f71803bbd6027", "max_stars_repo_licenses": ["Apache-... |
# This is a comment
import os
import sys
from PySide2.QtWidgets import QApplication, QMainWindow
from PySide2.QtCore import QFile
from PySide2.Qt3DExtras import Qt3DExtras
from PySide2.Qt3DCore import Qt3DCore
from PySide2.QtGui import QVector3D, QColor
from PySide2.Qt3DRender import Qt3DRender
from ui_mainwindow impor... | {"hexsha": "0e3f50e71bafbb60a947b776cb4ca99b0a9d9601", "size": 1021, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/pyside/rcdesigner/rcdesigner.py", "max_stars_repo_name": "putanowr/pysandbox", "max_stars_repo_head_hexsha": "a242dd63f1d91528038fb57dc188fceb685b5467", "max_stars_repo_licenses": ["BSD-3-Clau... |
[STATEMENT]
lemma (in Group) Nfunc_Least_sym:"\<lbrakk>\<forall>l \<le> (n::nat). G \<guillemotright> f l; \<forall>l \<le> n. G \<guillemotright> g l;
\<exists>i \<le> n. (f i \<noteq> g i)\<rbrakk> \<Longrightarrow>
(LEAST k. (f k \<noteq> g k)) = (LEAST k. (g k \<noteq> f k))"
[PROOF STATE]
proof (... | {"llama_tokens": 1520, "file": "Group-Ring-Module_Algebra3", "length": 6} |
"""Steps to the algorithm
- get the trajectory
- compute the planned path
- calculate the best guessed path, by taking the weighted average of the left and right path.
- class Pathplanning
- Update. Based off the work by comma ai """
import numpy as np
import math
def compute_path():
deg = 4
x = np.arange(50.0)
... | {"hexsha": "dc46dbc0e14603ea37ce810ba5a9ddd9a6ef75c8", "size": 2906, "ext": "py", "lang": "Python", "max_stars_repo_path": "self driving/controls/control/path_planning_experiment.py", "max_stars_repo_name": "Systemx-ai/Pilot-X", "max_stars_repo_head_hexsha": "adabb123917388366b62917db03fa57380b0b456", "max_stars_repo_l... |
from __future__ import print_function
import itertools
import os
import numpy as np
import sys
from datetime import date, datetime, timedelta
from fnmatch import fnmatch
from time import time
from .jpllib import SpiceKernel
from .sgp4lib import EarthSatellite
from .timelib import Timescale, julian_date
today = date.t... | {"hexsha": "b9ff38e8ae475c74dd578d35b180dcc83f9e5994", "size": 16517, "ext": "py", "lang": "Python", "max_stars_repo_path": "skyfield/iokit.py", "max_stars_repo_name": "joernu76/python-skyfield", "max_stars_repo_head_hexsha": "835123f1d3280190d979810c1a44fd713c271822", "max_stars_repo_licenses": ["MIT"], "max_stars_cou... |
# Kirsten Van Huffel & Tristan Vanneste
module BeesAlgorithm
# you have to import everything you need for your module to work
# if you use a new package, don't forget to add it in the package manager
# export all functions that are relevant for the user
export ArtificialBeeColonization, sphere, ackley, rosenbrock, b... | {"hexsha": "388bb815e101e281c0fec49bcab71350b0f5628a", "size": 25128, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/beesalgorithm.jl", "max_stars_repo_name": "kirstvh/STMOZOO", "max_stars_repo_head_hexsha": "e4060eb7de7a23cf9f7832a471925e8cc7c53b34", "max_stars_repo_licenses": ["MIT"], "max_stars_count": nu... |
from PIL import Image, ImageDraw, ImageFont
import numpy as np
def load_img():
return Image.open('im.jpg') # .resize((1024, 1024))
def add_text(im: Image):
size = 360
# font = ImageFont.truetype('NotoSansCJK-Thin', size=size)
font = ImageFont.truetype('MSYHMONO', size=size)
draw = ImageDraw.Dra... | {"hexsha": "ab660e648f8e818c5eb9b179e393f760baeaf2e1", "size": 2434, "ext": "py", "lang": "Python", "max_stars_repo_path": "fighting2019.py", "max_stars_repo_name": "LanceLiang2018/Fighting2019", "max_stars_repo_head_hexsha": "909034b8fab3a946c0c96e579401908b40627e5c", "max_stars_repo_licenses": ["MIT"], "max_stars_cou... |
subroutine pdfwrap
implicit none
C
C INCLUDE
C
include 'pdf.inc'
include '../alfas.inc'
c-------------------
c START THE CODE
c-------------------
nloop=2 ! NLO running unless set otherwise
C
c MRST2002
c 1 NLO 0.1197 0.00949
c 2 NNLO 0.1154 0.00685
C ... | {"hexsha": "30ee69a56d31a7ef55bbdd0b08eb7fda26dc9fb2", "size": 10277, "ext": "f", "lang": "FORTRAN", "max_stars_repo_path": "Template/LO/Source/PDF/pdfwrap.f", "max_stars_repo_name": "valassi/mg5amc_test", "max_stars_repo_head_hexsha": "2e04f23353051f64e1604b23105fe3faabd32869", "max_stars_repo_licenses": ["NCSA"], "ma... |
#! /usr/local/epd/bin/python
"""Output specification for statistical tests"""
__author__ = "Shantanu H. Joshi"
__copyright__ = "Copyright 2013, Shantanu H. Joshi Ahmanson-Lovelace Brain Mapping Center, \
University of California Los Angeles"
__email__ = "s.joshi@ucla.edu"
__credits__ = 'Inspired by t... | {"hexsha": "257da4e02c849cfff12b387dafa7c7903bdd86a3", "size": 5293, "ext": "py", "lang": "Python", "max_stars_repo_path": "shapestats/stats_output.py", "max_stars_repo_name": "bmapdev/shapestats", "max_stars_repo_head_hexsha": "21d43196a84932fdeb268c384e55cbf79a13f384", "max_stars_repo_licenses": ["MIT"], "max_stars_c... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# author:Atsushi Sakai
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
x=np.arange(0,10,0.1)
ty=[np.exp(0.3*tx+0.1) for tx in x]
ey=[np.exp(0.280248*tx+0.2698163) for tx in x]
data=pd.read_csv("data.csv")
plt.plot(data["x"],data["y"],'+r')
plt.plot... | {"hexsha": "b39db26a32daf1c7793b4a238c9f34da1a8adbd1", "size": 379, "ext": "py", "lang": "Python", "max_stars_repo_path": "RobustCurveFitting/plot.py", "max_stars_repo_name": "AtsushiSakai/CeresSamples", "max_stars_repo_head_hexsha": "41b55365f2cd609a06c28e065d47869817b9e2f7", "max_stars_repo_licenses": ["MIT"], "max_s... |
# Copyright 2019 TerraPower, 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 agreed to in writi... | {"hexsha": "eadf2de7b847495777ab9a3ca21c1511eb2d301b", "size": 12557, "ext": "py", "lang": "Python", "max_stars_repo_path": "armi/utils/tests/test_utils.py", "max_stars_repo_name": "albeanth/armi", "max_stars_repo_head_hexsha": "3755ffd2fcd1f7b6c557ef3e3f36126706a84c70", "max_stars_repo_licenses": ["Apache-2.0"], "max_... |
names = [
"test_phasespace.jl",
"test_spectralanalysis.jl",
"test_timeevolution_schroedinger.jl",
"test_timeevolution_master.jl",
"test_timeevolution_mcwf.jl",
"test_timeevolution_bloch_redfield.jl",
"test_timeevolution_twolevel.jl",
"test_timeevolution_pumpedcavity.jl",
"test_ste... | {"hexsha": "5c6ba2999cc53ccd36bc441c3bba8374992f7cea", "size": 1136, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "test/runtests.jl", "max_stars_repo_name": "goerz-forks/QuantumOptics.jl", "max_stars_repo_head_hexsha": "f4e996f05ffcc92126f9379bd1b9d893177f2c6e", "max_stars_repo_licenses": ["MIT"], "max_stars_co... |
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import random
import gzip
import os
import re
import sys
import numpy as np
from scipy import ndimage
from scipy.misc import imresize
from six.moves import cPickle as pickle
from PIL import Image
N = 5
IMAGE... | {"hexsha": "b68e85ffac01c22d063e385a4ae3ecb7fe9b916b", "size": 2820, "ext": "py", "lang": "Python", "max_stars_repo_path": "project/app/svhn/preprocessing.py", "max_stars_repo_name": "archelogos/smart-live-camera", "max_stars_repo_head_hexsha": "73fde98a48bcc2c8bf5e17cee0b24e5dbdef0c52", "max_stars_repo_licenses": ["Ap... |
\begin{appendices}
\chapter{Block Diagrams} \label{App:blockdiagrams}
\begin{figure}[ht!]
\centering
\includegraphics[width=6in]{block_diagrams/full.png}
\caption{Full block diagram}
\end{figure}
\begin{figure}[ht!]
\centering
\includegraphics[width=3in]{block_diagrams/video.png}
\caption{Display... | {"hexsha": "7b3fa27b5774851eab838f74815abd570cbecfe1", "size": 3244, "ext": "tex", "lang": "TeX", "max_stars_repo_path": "Documentation/Full/appendix.tex", "max_stars_repo_name": "agural/FPGA-Oscilloscope", "max_stars_repo_head_hexsha": "35b932f87fee8d7c1d1176fb03251e897a8c22c3", "max_stars_repo_licenses": ["MIT"], "ma... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.