text stringlengths 0 1.25M | meta stringlengths 47 1.89k |
|---|---|
#ifndef BOOST_METAPARSE_V1_GRAMMAR_HPP
#define BOOST_METAPARSE_V1_GRAMMAR_HPP
// Copyright Abel Sinkovics (abel@sinkovics.hu) 2012.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <boost/m... | {"hexsha": "8747839183cece8a18b7251db013d53e33e908f0", "size": 10631, "ext": "hpp", "lang": "C++", "max_stars_repo_path": "deps/src/boost_1_65_1/boost/metaparse/v1/grammar.hpp", "max_stars_repo_name": "shreyasvj25/turicreate", "max_stars_repo_head_hexsha": "32e84ca16aef8d04aff3d49ae9984bd49326bffd", "max_stars_repo_lic... |
from flask import Flask, flash, redirect, render_template, request, session, abort
from flask import Flask, redirect, url_for, request
from flask import json
import numpy as np
import pandas as pd
from sklearn.naive_bayes import GaussianNB
from sklearn.preprocessing import LabelEncoder
from sklearn.model_selection imp... | {"hexsha": "1be4149ae5cd29d4767f51b38abe4f5b66471426", "size": 2511, "ext": "py", "lang": "Python", "max_stars_repo_path": "appp.py", "max_stars_repo_name": "anirudh97/Web_Technology_Project", "max_stars_repo_head_hexsha": "7ee002f1edc3e9941f27f6dc66d5b681bc029cd6", "max_stars_repo_licenses": ["OLDAP-2.6", "OLDAP-2.4",... |
from itertools import product
from abc import ABC, abstractmethod
import numpy as np
from data_processing.data_processing_constants import TILES_SIZE, \
SELF_RED_DORA_SIZE, MELDS_SIZE, KITA_SIZE, DISCARDS_SIZE, ONE_MELD_SIZE, \
TURN_NUMBER_SIZE, ROUND_NUMBER_SIZE, HONBA_NUMBER_SIZE, DEPOSIT_NUMBER_SIZE
from e... | {"hexsha": "fdf973a058eed1caab9c2dacfe5a4903fcaa1d11", "size": 30093, "ext": "py", "lang": "Python", "max_stars_repo_path": "evaluation/agents/agent.py", "max_stars_repo_name": "VictorZXY/meowjong", "max_stars_repo_head_hexsha": "ec71171f7dc2369c55f5e3bd3302cbaa76346561", "max_stars_repo_licenses": ["MIT"], "max_stars_... |
//////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2017 KDE Laboratory, University of Tsukuba, Tsukuba, Japan. //
// //
// The JsSpinnerSPE/StreamingCube and the accom... | {"hexsha": "a37a74f9d401789bd41e378cf347f5843a6d33a0", "size": 1668, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "code/src/IO/CSVInput.cpp", "max_stars_repo_name": "salmanahmedshaikh/streamOLAPOptimization", "max_stars_repo_head_hexsha": "0a352bbd6e364865013452d30d2654e33b627e69", "max_stars_repo_licenses": ["A... |
#!/usr/bin/env python
"""Run part of the voxel-wise job"""
from loguru import logger
import nibabel as nib
from fsl.data.image import addExt
from subprocess import run as srun
import numpy as np
from typing import Sequence, Tuple
import string
import itertools
import tempfile
import sys
def get_markers(njobs: int) ->... | {"hexsha": "034a9b622700970574d814d70493f9de6aa1385c", "size": 3184, "ext": "py", "lang": "Python", "max_stars_repo_path": "mcot/core/_scripts/split/run.py", "max_stars_repo_name": "MichielCottaar/mcot.core", "max_stars_repo_head_hexsha": "de00c15b946a99a048694f3d8b6ad822a835b299", "max_stars_repo_licenses": ["MIT"], "... |
#!/usr/bin/python3
import csv
import glob
import os
import re
import datetime
import itertools
import json
import numpy as np
import subprocess
import sys
import socket
import copy
from bs4 import BeautifulSoup
from distutils.dir_util import copy_tree
from sofa_print import *
def ds_preprocess(cfg):
from sofa_pre... | {"hexsha": "afc0e5be252364e525791106d2bc55807dfa2987", "size": 4985, "ext": "py", "lang": "Python", "max_stars_repo_path": "plugins/ros2_performance_test/sofa_ros2_ds.py", "max_stars_repo_name": "st9540808/sofa", "max_stars_repo_head_hexsha": "079848fb4df68d929438a26934e943543a634212", "max_stars_repo_licenses": ["Apac... |
"""FCN class to build, train, eval an FCN model for semantic
segmentation
1) ResNet50 (v2) backbone.
Train with 6 layers of feature maps.
Pls adjust batch size depending on your GPU memory.
For 1060 with 6GB, --batch-size=1. For V100 with 32GB,
--batch-size=4
python3 fcn-12.3.1.py --train --batc... | {"hexsha": "674976b320f7e7d991a387053d4e29b6986b1b0d", "size": 11482, "ext": "py", "lang": "Python", "max_stars_repo_path": "chapter12-segmentation/fcn-12.3.1.py", "max_stars_repo_name": "gabrielmahia/obamAI", "max_stars_repo_head_hexsha": "ba45f0a6efae793d7f5e356a1dbf5c6835a65dba", "max_stars_repo_licenses": ["MIT"], ... |
""" run_experiment
Launch multiple experiment configurations in parallel on distributed resources.
Requires a folder in ./ containing experiment.py, data_generator,py and config_fixed_max_rounds.yaml
See example in ./variability
"""
from tqdm import tqdm
from ray import tune
from ray.tune import track
from argparse imp... | {"hexsha": "1498b527bf9306280a006d3878c08695cd963ea3", "size": 8263, "ext": "py", "lang": "Python", "max_stars_repo_path": "experiments/cutrootnode/adaptive_policy_runner.py", "max_stars_repo_name": "avrech/learning2cut", "max_stars_repo_head_hexsha": "c0febe84db5097413823821510a4ae3c996dec93", "max_stars_repo_licenses... |
! chk_format_static --
! Check: does the compiler check formats statically or dynamically?
!
program chk_format_static
implicit none
logical :: errors
integer :: ierr
integer :: x = 1
real :: y = 1.0
errors = .false.
write( *, '(a)' ) 'Checking what happens with incorr... | {"hexsha": "8122cd1f5725b90b6bf5ea57797be29c220e2640", "size": 936, "ext": "f90", "lang": "FORTRAN", "max_stars_repo_path": "chkfeatures/chk_format_static.f90", "max_stars_repo_name": "timcera/flibs_from_svn", "max_stars_repo_head_hexsha": "7790369ac1f0ff6e35ef43546446b32446dccc6b", "max_stars_repo_licenses": ["BSD-3-C... |
import networkx as nx
import numpy as np
import random
import Statistics
def WeightedEdges(dg):
"""
Gives weights to edges as described in the paper
dg: digraph
returns: updated digraph
"""
# interbank loans on edges
for i, nbrs in dg.adjacency_iter():
# normalization fact... | {"hexsha": "99fe6d00e44129574691a662ca08e4a194c61800", "size": 5909, "ext": "py", "lang": "Python", "max_stars_repo_path": "Network.py", "max_stars_repo_name": "marcotinacci/interbank-lending-systemic-risk", "max_stars_repo_head_hexsha": "6bdfb09421b991fa5153875c377bbdb4db677cad", "max_stars_repo_licenses": ["MIT"], "m... |
import os
import pickle
import timit_utils as tu
import numpy as np
import torch
from torch.utils.data import Dataset
corpus = tu.Corpus('../Datasets/TIMIT/TIMIT/TIMIT')
path_to_processed_musdb = '../Datasets/MUSDB_accompaniments'
timit_test_set = corpus.test
torch.manual_seed(0)
torch.cuda.manual_seed(0)
def ge... | {"hexsha": "b6828d35097f044ef6de3617ac524d1c91169a02", "size": 3247, "ext": "py", "lang": "Python", "max_stars_repo_path": "data/timit_musdb_test.py", "max_stars_repo_name": "schufo/tisms", "max_stars_repo_head_hexsha": "51510ee933dbd4a4a3a07537e288c9c63e1961fc", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 1... |
#!/usr/bin/env python
"""Demonstrate fix for error condition for plotting feature importances in sklearn
Reproduction for WB-6697
---
id: 0.sklearn.02-fix-error-cond-feature-importances
plugin:
- wandb
depend:
requirements:
- sklearn
- numpy
assert:
- :wandb:runs_len: 1
- :wandb:runs[0][exitcode]: 0
... | {"hexsha": "848ae227be32ee9ccc013de1eee600add56fb366", "size": 1116, "ext": "py", "lang": "Python", "max_stars_repo_path": "functional_tests/sklearn/02-fix-error-cond-feature-importances.py", "max_stars_repo_name": "borisgrafx/client", "max_stars_repo_head_hexsha": "c079f7816947a3092b500751eb920fda3866985f", "max_stars... |
"""
*Natural Logarithm*
"""
from dataclasses import dataclass
import jax.numpy as jnp
from ._operator import Logarithm
__all__ = ["NaturalLogarithm"]
@dataclass
class NaturalLogarithm(
Logarithm,
):
operator = jnp.log
| {"hexsha": "8b07637a2c9a4337e51ee41fe6b406eb2dcd7edd", "size": 238, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/tensor/op/numeric/transcendental/logarithmic/natural.py", "max_stars_repo_name": "jedhsu/tensor", "max_stars_repo_head_hexsha": "3b2fe21029fa7c50b034190e77d79d1a94ea5e8f", "max_stars_repo_licen... |
# -*- coding: utf-8 -*-
""" 이미지 복원(Image Reconstruction) - SRResnet-GAN.ipynb
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/1DWqAvT-2mRxy3Ulky5qB4ogE_3xFmiyU
"""
# Commented out IPython magic to ensure Python compatibility.
import tensorflow as tf
im... | {"hexsha": "e96ac9c8164172d9c65ccfb1bfdd5ef1e0d689db", "size": 7571, "ext": "py", "lang": "Python", "max_stars_repo_path": "srresnet_gan.py", "max_stars_repo_name": "yubin1219/GAN", "max_stars_repo_head_hexsha": "8345095f9816e548c968492efbe92b427b0e06a3", "max_stars_repo_licenses": ["MIT"], "max_stars_count": null, "ma... |
function [rhsE, rhsH] = MaxwellRHS1D(E,H,eps,mu)
% function [rhsE, rhsH] = MaxwellRHS1D(E,H,eps,mu)
% Purpose : Evaluate RHS flux in 1D Maxwell
Globals1D;
% Compute impedance
Zimp = sqrt(mu./eps);
% Define field differences at faces
dE = zeros(Nfp*Nfaces,K); dE(:) = E(vmapM)-E(vmapP);
dH = zeros(Nfp*Nfaces,K); dH... | {"author": "wme7", "repo": "Aero-matlab", "sha": "9430008f2e3b84f28633775a44dff534e780fbac", "save_path": "github-repos/MATLAB/wme7-Aero-matlab", "path": "github-repos/MATLAB/wme7-Aero-matlab/Aero-matlab-9430008f2e3b84f28633775a44dff534e780fbac/JSHesthaven&TWarburton/Codes1D/MaxwellRHS1D.m"} |
"""
Push an integer or bool.
The argument is a newline-terminated decimal literal string.
The intent may have been that this always fit in a short Python int,
but INT can be generated in pickles written on a 64-bit box that
require a Python long on a 32-bit box. The difference between this
and LONG then i... | {"hexsha": "2661e31209448291334015e57c26fc49b006176c", "size": 21198, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/opcode/opcode_desc.jl", "max_stars_repo_name": "CarloLucibello/Pickle.jl", "max_stars_repo_head_hexsha": "2311063c6365f83955bbaf24f16fc56869fac13f", "max_stars_repo_licenses": ["MIT"], "max_st... |
"""
Library to do grading of Python programs.
Usage (see grader.py):
# create a grader
grader = Grader("Name of assignment")
# add a basic test
grader.addBasicPart(number, grade_func, max_points, max_seconds, description="a basic test")
# add a hidden test
grader.addHiddenPart(number, grade_f... | {"hexsha": "fca0d585b724e33cbe82641470e2f9d80157f58c", "size": 18098, "ext": "py", "lang": "Python", "max_stars_repo_path": "HW4/graderUtil.py", "max_stars_repo_name": "banne2266/AI-NCTU-2021", "max_stars_repo_head_hexsha": "06ef32c3d7c08c75e8ac161c9d244dbdb74bcbaf", "max_stars_repo_licenses": ["MIT"], "max_stars_count... |
# This code is part of Qiskit.
#
# (C) Copyright IBM 2020.
#
# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
#
# Any modifications or derivative wo... | {"hexsha": "8aa985e92b0a55f46040482741ecbb276c9537b3", "size": 42837, "ext": "py", "lang": "Python", "max_stars_repo_path": "test/python/pulse/test_builder.py", "max_stars_repo_name": "ashsaki/qiskit-terra", "max_stars_repo_head_hexsha": "68b5ede97b6bf5454250927fb522be217f3f3b7e", "max_stars_repo_licenses": ["Apache-2.... |
import numpy as np
import sys
import glob
rbp=sys.argv[1]
kmer=sys.argv[2]
pfile_list=glob.glob("result_VDM3_"+rbp+"_positive_"+kmer+"_*.npy")
pfile1=np.load(pfile_list[0])
psha=np.shape(pfile1)
pmatrix=np.zeros(psha)
for pfile in pfile_list:
file=np.load(pfile)
# file=np.fromfile(pfile,dtype=np.float32)
p... | {"hexsha": "72404d3d39210b175e825c5b94b9e21a7e2698f1", "size": 421, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/combine_npy.py", "max_stars_repo_name": "hongli-ma/RNANetMotif", "max_stars_repo_head_hexsha": "34b4de443ec7edb59f4e4e06b17686543c438366", "max_stars_repo_licenses": ["MIT"], "max_stars_count":... |
import torch, torch.nn as nn
import numpy as np
from wavelet_feature_ex import WaveletTransform
from self_attention import SelfAttention
from cross_attention import CrossAttention
import collections
import gc
from models.levit import LeViT
class WaveletLeTransform(nn.Module):
"""Some Information about WaveletLeTra... | {"hexsha": "d91d46b3054522a0dabbcf62b6d837ef177e96b0", "size": 5861, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/wavelet-FE/model.py", "max_stars_repo_name": "Omekaago101/Intracranial-Hemorrhage-Classification", "max_stars_repo_head_hexsha": "4f53da3a3869be7b451edc558ef06c5c41083b4b", "max_stars_repo_lic... |
```
%matplotlib inline
from IPython.display import Image
from IPython.html.widgets import interact
```
```
Image('Lighthouse_schematic.jpg',width=500)
```
The following is a classic estimation problem called the "lighthouse problem". The figure shows a set of receivers distributed at coordinates $x_... | {"hexsha": "6dd8073fdafc02cf21816c4add01f1264fbd85b1", "size": 367683, "ext": "ipynb", "lang": "Jupyter Notebook", "max_stars_repo_path": "notebook/Lighthouse_problem.ipynb", "max_stars_repo_name": "tnakaicode/Python-for-Signal-Processing", "max_stars_repo_head_hexsha": "b610ca377564e115a0dbd5a8cdcc2ad195c3b162", "max_... |
# -*- coding:utf-8 -*-
import os
import sys
import numpy as np
import math
from util import plot_scatter
data_points_B = np.asarray([
[-0.5, 1], [0, 1], [0.25, 0.75], [-0.5, 0.5], [0.5, 0.5],
[-0.5, 0], [0, 0], [0.25, -0.25], [-0.5, -0.5], [0.5, -0.5],
[0.25, -0.75], [-0.5, -1],[0, -1], [0.25,... | {"hexsha": "d9b74d9a91a6bf084818a40d9396f1ab19b84bd1", "size": 1587, "ext": "py", "lang": "Python", "max_stars_repo_path": "data_sample.py", "max_stars_repo_name": "takat0m0/BourGAN", "max_stars_repo_head_hexsha": "07e88a7e2790c952ec71b628360280da82682247", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 3, "max... |
"""
Cause-effect models.
"""
# Author: Jose A. R. Fonollosa <jarfo@yahoo.com>
#
# License: Apache, Version 2.0
from .features import extract_features, FeatureMapper
import numpy as np
from sklearn import pipeline
from sklearn.base import BaseEstimator
from sklearn.ensemble import GradientBoostingClassifier
from mult... | {"hexsha": "d5bba230e22fbf22e1669c25b108fa5e0da38336", "size": 12105, "ext": "py", "lang": "Python", "max_stars_repo_path": "cdt/causality/pairwise/Jarfo_model/estimator.py", "max_stars_repo_name": "koutrgor/CausalDiscoveryToolbox", "max_stars_repo_head_hexsha": "0d9997294520430e24bd80f1bfb05c0f852984cb", "max_stars_re... |
# This file is a part of Julia. License is MIT: https://julialang.org/license
module TestSchur
using Test, LinearAlgebra, Random
using LinearAlgebra: BlasComplex, BlasFloat, BlasReal, QRPivoted
n = 10
# Split n into 2 parts for tests needing two matrices
n1 = div(n, 2)
n2 = 2*n1
Random.seed!(1234321)
areal = rand... | {"hexsha": "d047ca12abc1f2d94ef29f5f267fdf63d5cbdb63", "size": 37116, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "stdlib/LinearAlgebra/test/schur.jl", "max_stars_repo_name": "jonas-schulze/julia", "max_stars_repo_head_hexsha": "5bf1ca5c724143091973ef6632f1b3026d8021af", "max_stars_repo_licenses": ["MIT"], "ma... |
import numpy as np
from scipy.optimize import minimize
from scipy.io import loadmat
from math import sqrt
import time
import pickle
import matplotlib.pyplot as plt
import pandas as pd
def initializeWeights(n_in, n_out):
epsilon = sqrt(6) / sqrt(n_in + n_out + 1)
W = (np.random.rand(n_out, n_in + 1) * 2 * ep... | {"hexsha": "b4fe5cc8dd9daa6b2fd0d6bccc4b46d2ce0e31a1", "size": 15485, "ext": "py", "lang": "Python", "max_stars_repo_path": "Project_02/My_Submission/nnScript.py", "max_stars_repo_name": "Escapist-007/ML_Projects", "max_stars_repo_head_hexsha": "32f6fb58eeac84b786b6a2567ca11a6e0e7f8225", "max_stars_repo_licenses": ["MI... |
/* CirKit: A circuit toolkit
* Copyright (C) 2009-2015 University of Bremen
* Copyright (C) 2015-2017 EPFL
*
* 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, in... | {"hexsha": "84bee62a4b21cd3551dff6e176c90cdd6cc5bcc4", "size": 11748, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "addons/cirkit-addon-reversible/src/reversible/functions/add_gates.cpp", "max_stars_repo_name": "eletesta/cirkit", "max_stars_repo_head_hexsha": "6d0939798ea25cecf92306ce796be154139b94f5", "max_star... |
# -*- coding: utf-8 -*-
"""
biosppy.signals.ecg
-------------------
This module provides methods to process Electrocardiographic (ECG) signals.
Implemented code assumes a single-channel Lead I like ECG signal.
:copyright: (c) 2015-2018 by Instituto de Telecomunicacoes
:license: BSD 3-clause, see LICENSE for more deta... | {"hexsha": "0a7996db501a8ec2b9066ecdce917929d7d33ed5", "size": 40718, "ext": "py", "lang": "Python", "max_stars_repo_path": "biosppy/signals/ecg.py", "max_stars_repo_name": "Alexxor36/BioSPPy", "max_stars_repo_head_hexsha": "8ec7a55af0bc76b1d0e2eb0f5c63e6e7f5307529", "max_stars_repo_licenses": ["BSD-3-Clause"], "max_st... |
# library include
import matplotlib.pyplot as plt
import dolfinx.io
import numpy as np
import yaml
import json
import sys
import os
from pathlib import Path
from mpi4py import MPI
import petsc4py
from petsc4py import PETSc
import dolfinx
import dolfinx.plot
from dolfinx import log
import ufl
from dolfinx.io import... | {"hexsha": "bcc28271f663b5f68d12fcde24deeffeca427ed9", "size": 751, "ext": "py", "lang": "Python", "max_stars_repo_path": "__init__.py", "max_stars_repo_name": "jaedong2019/mec647", "max_stars_repo_head_hexsha": "f9965ae3964d4772f689f2b9886588be485e82f3", "max_stars_repo_licenses": ["MIT"], "max_stars_count": null, "ma... |
[STATEMENT]
lemma fpxs_compose_power_0 [simp]: "fpxs_compose_power 0 r = 0"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. fpxs_compose_power 0 r = 0
[PROOF STEP]
by transfer simp | {"llama_tokens": 82, "file": "Formal_Puiseux_Series_Formal_Puiseux_Series", "length": 1} |
import numpy as np
from scipy import stats
__all__ = ["Uniform", "Normal", "HalfNormal"]
class Uniform:
def __init__(self, lower, upper):
self.lower = lower
self.upper = upper
def rvs(self, draws):
return stats.uniform(self.lower, self.upper - self.lower).rvs(draws)
def logp(se... | {"hexsha": "bad93c87353427b3a1ea78265b13f8a65cec5ee0", "size": 1473, "ext": "py", "lang": "Python", "max_stars_repo_path": "bomeba0/sampling/distribution.py", "max_stars_repo_name": "aloctavodia/bomeba0", "max_stars_repo_head_hexsha": "e212986d8ee60be1da91d63a7a889db14ec851c3", "max_stars_repo_licenses": ["Apache-2.0"]... |
### mcvar and mcse stand for Monte Carlo variance and Monte Carlo error respectively
## Monte Carlo variance assuming IID samples
mcvar_iid(v::AbstractArray) = var(v)/length(v)
mcvar_iid(v::AbstractArray, region) = mapslices(mcvar_iid, v, region)
mcvar_iid(s::VariableNState{Univariate}) = mcvar_iid(s.value)
mcvar_... | {"hexsha": "3d4a0faba06cf85df8b551c39d4a6fa89d30835f", "size": 8665, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/stats/variance/mcvar.jl", "max_stars_repo_name": "JuliaPackageMirrors/Klara.jl", "max_stars_repo_head_hexsha": "366d1e3829ebdc5021d6cd1fa2cc2b85d8abbc9d", "max_stars_repo_licenses": ["MIT"], "m... |
import os
import sqlalchemy as sa
import numpy as np
from sqlalchemy.exc import UnboundExecutionError
from sqlalchemy.ext.hybrid import hybrid_property
from sqlalchemy.dialects import postgresql as psql
from sqlalchemy.ext.declarative import declarative_base, declared_attr
from sqlalchemy.orm import sessionmaker, scop... | {"hexsha": "e0fe1725c82b1191912f3a76cf56ab3fba76e23f", "size": 8265, "ext": "py", "lang": "Python", "max_stars_repo_path": "zuds/core.py", "max_stars_repo_name": "charlotteaward/zuds-pipeline", "max_stars_repo_head_hexsha": "52423859498374203d13fdc15c88bdc1260db183", "max_stars_repo_licenses": ["BSD-3-Clause"], "max_st... |
[STATEMENT]
lemma System_Bounded_allocAsk: "System \<in> Always {s. \<forall>i<Nclients.
\<forall>elt \<in> set ((sub i o allocAsk) s). elt \<le> NbT}"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. System \<in> Always {s. \<forall>i<Nclients. \<forall>elt\<in>set ((sub i \<circ> allocAsk) ... | {"llama_tokens": 532, "file": null, "length": 4} |
#Result_present.py V0.13, fixed errors
#Format = python3 Result_present.py <output_files> <output_folders> <Target dataset>
import os
import sys
import pandas as pd
import copy
import numpy as np
import math
import json
import matplotlib.pyplot as plt
arg1 = sys.argv[1]
arg2 = sys.argv[2]
arg3 = sys.argv[3]
all_combin... | {"hexsha": "d4e6609d7ca718c961acd6298975bb63899f1b18", "size": 16282, "ext": "py", "lang": "Python", "max_stars_repo_path": "Scripts_main/Result_present.py", "max_stars_repo_name": "sunbeam891/Smart_contract_fuzzing", "max_stars_repo_head_hexsha": "327873f562028fb3ea241fb0c1dc0f039e8c005d", "max_stars_repo_licenses": [... |
using Reel
using Test
using Plots
using Compose
import Cairo
@testset "render plots" begin
function render(t, dt)
# t is the time into the sequence
# dt is the time to advance for the next frame
# any expression that results in an object which can be
# rendered as png or jpg
... | {"hexsha": "c84273906b6e43937220eb61d814661c085c951a", "size": 1691, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "test/runtests.jl", "max_stars_repo_name": "shashi/Reel.jl", "max_stars_repo_head_hexsha": "bc7feb6f3c3bf9f03ce021dbb5a209427b0a6462", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 104, "ma... |
import numpy as np
import pandas as pd
from hypothesis import given
from hypothesis.extra.numpy import arrays
from hypothesis.extra.pandas import column, data_frames
from hypothesis.strategies import floats, integers, sampled_from
from homework_1.procedure_pipeline.load_and_save_dataset import x_extract, y_extract, x_... | {"hexsha": "8d356384d612f3d63c3a89bf723b85a2391dc76b", "size": 2500, "ext": "py", "lang": "Python", "max_stars_repo_path": "homework_1/tests/test.py", "max_stars_repo_name": "aigulkhkmv/deploy_course_hse", "max_stars_repo_head_hexsha": "25062047bd692aaf7e552d2a36b381049e21ea59", "max_stars_repo_licenses": ["MIT"], "max... |
"""
Calculate ethanol critical properties
T --- temperature in Kelvin
p --- pressure in bar
ro --- density in mol/l
"""
function ethanolCritical()
sub=newCritical()
sub.T=514.71
sub.p=6.268*10 #MPa to bar
sub.ro=5.93 #mol/l #322 kg/m^3
return sub
end
"""
Calculate ethanol properties at triple point
T --- tempera... | {"hexsha": "bc74d26f7664247c05c5931b634d0a683234238f", "size": 12428, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/ethanol.jl", "max_stars_repo_name": "KSTU/PureEOS.jl", "max_stars_repo_head_hexsha": "4c8a69c48fe841388e947e382dc244ec694a6c4b", "max_stars_repo_licenses": ["MIT"], "max_stars_count": null, "m... |
import pylab
import tables
import math
import numpy
def projectOnFinerGrid_f(Xc, Yc, q):
dx = Xc[1]-Xc[0]
dy = Yc[1]-Yc[0]
nx = Xc.shape[0]
ny = Yc.shape[0]
# mesh coordinates
Xn = pylab.zeros((2*Xc.shape[0],), float)
Xn[0:nx] = Xc-0.25*dx
Xn[nx:] = Xc+0.25*dx
Xn.sort()
Yn = p... | {"hexsha": "d4bf4c0e6f190e23e6af8eed909ffbb47481b2fd", "size": 2243, "ext": "py", "lang": "Python", "max_stars_repo_path": "sims/s115/plot-solution.py", "max_stars_repo_name": "ammarhakim/ammar-simjournal", "max_stars_repo_head_hexsha": "85b64ddc9556f01a4fab37977864a7d878eac637", "max_stars_repo_licenses": ["MIT", "Unl... |
# Exact Search
# ============
#
# Exact sequence search tools.
#
# This file is a part of BioJulia.
# License is MIT: https://github.com/BioJulia/BioSequences.jl/blob/master/LICENSE.md
# Reference Implementation
# ------------------------
#
# `searchindex` and `rsearchindex` should work exactly the same way as the
# f... | {"hexsha": "ba772396b7440249a77d21f3437b3ac004386f13", "size": 6441, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/search/exact.jl", "max_stars_repo_name": "cjprybol/BioSequences.jl", "max_stars_repo_head_hexsha": "01fbc26dc6209e86ec13cdee5f8598469e98ff35", "max_stars_repo_licenses": ["MIT"], "max_stars_cou... |
!! Allocate
IF (ALLOCATED(this%grid)) THEN
DO column_counter = LBOUND(this%grid,2), UBOUND(this%grid,2)
DO row_counter = LBOUND(this%grid,1), UBOUND(this%grid,1)
CALL DestructMatrixMemoryPool( &
& this%grid(row_counter, column_counter))
END DO
END DO
DEALLOC... | {"hexsha": "5f4f52d3815115fb16eb99cae2b46c9967b9cc8c", "size": 344, "ext": "f90", "lang": "FORTRAN", "max_stars_repo_path": "Source/Fortran/distributed_pool_includes/DestructMatrixMemoryPool.f90", "max_stars_repo_name": "Kokookster/NTPoly", "max_stars_repo_head_hexsha": "717b2e344e800ea6c2de7061b96dd51ffd089f36", "max_... |
import cv2
import os
import numpy as np
import pickle
from tensorflow.keras.models import load_model
from sklearn.preprocessing import LabelEncoder
from mark_attendance import Mark_Attendance
from statistics import mode
from datetime import datetime
import pandas as pd
root_dir = os.getcwd()
face_cascade = cv2.Cascad... | {"hexsha": "32716891beee6e6c9416cc89927b7124f20aa8b1", "size": 4842, "ext": "py", "lang": "Python", "max_stars_repo_path": "recognize.py", "max_stars_repo_name": "prabhat-123/Face_Recognition_Attendance_System", "max_stars_repo_head_hexsha": "532f902d38c6d6c826d09b5c2519f1549fc305f3", "max_stars_repo_licenses": ["MIT"]... |
import logging
import math
import os
import sys
import numpy as np
from sklearn.neighbors import NearestNeighbors
import dill
import torch
import torch.nn.functional as F
import torch_geometric.nn as nn
from torch_geometric.nn import MessagePassing
from torch_geometric.nn.pool import knn
from torch_geometric.transfor... | {"hexsha": "a5141b533fc877132f4df5026c5c2d0306afdd6f", "size": 19450, "ext": "py", "lang": "Python", "max_stars_repo_path": "project/utils/transforms.py", "max_stars_repo_name": "Bawaw/palatal-landmark-detector", "max_stars_repo_head_hexsha": "6b02bc9dba7842d98c3de0fbf3988593f1ba4199", "max_stars_repo_licenses": ["Apac... |
import networkx as nx
from plotly.graph_objs import *
import plotly.figure_factory as ff
import plotly.offline as po
from collections import defaultdict
DATA = {
"foo": {"level": 1, "links": ["bar", "bar", "woo"]},
"bar": {"level": 2, "links": ["woo"]},
"woo": {"level": 2, "links": ["zoo", "NA"]},
"zo... | {"hexsha": "ad220123cb5b3ed10edf0ff465f9b8890317a288", "size": 3767, "ext": "py", "lang": "Python", "max_stars_repo_path": "scratch/graph_plotting.py", "max_stars_repo_name": "TransactCharlie/dembones", "max_stars_repo_head_hexsha": "b5540a89d4c6d535b589a1a2b06697569879bc05", "max_stars_repo_licenses": ["MIT"], "max_st... |
import os
import numpy as np
import torch
import pandas as pd
import random
from tqdm import tqdm
import shutil
import torchvision.transforms as transforms
from torchvision.datasets import VisionDataset
from torch.autograd import Variable
from torchvision.transforms.transforms import Resize
from auto_augment import CIF... | {"hexsha": "a34d302e87c13fd9e8953e6e6cff2829d7a20f33", "size": 9989, "ext": "py", "lang": "Python", "max_stars_repo_path": "utils.py", "max_stars_repo_name": "aheuillet/D-DARTS", "max_stars_repo_head_hexsha": "e3ad5d9fc4db3a987e4828361ccdba45f6261c08", "max_stars_repo_licenses": ["Apache-2.0"], "max_stars_count": 1, "m... |
import algebra.homology.homological_complex
import algebra.homology.additive
noncomputable theory
universes v
open category_theory category_theory.limits
variables {C D : Type*} [category C] [category D]
variables [has_zero_object C] [has_zero_object D]
variables {M : Type*} {c : complex_shape M}
/- there are alre... | {"author": "bentoner", "repo": "debug", "sha": "b8a75381caa90aa9942c20e08a44e45d0ae60d18", "save_path": "github-repos/lean/bentoner-debug", "path": "github-repos/lean/bentoner-debug/debug-b8a75381caa90aa9942c20e08a44e45d0ae60d18/src/for_mathlib/homological_complex_map_d_to_d_from.lean"} |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Apr 1 14:52:41 2020
@author: jennywong
###############################################################################
# script_seismic.py #
#####################################################... | {"hexsha": "c5e32060fb9c68f94f5ef434fb89cec9d9dfd553", "size": 1812, "ext": "py", "lang": "Python", "max_stars_repo_path": "scripts/seismic.py", "max_stars_repo_name": "jnywong/nondim-slurry", "max_stars_repo_head_hexsha": "ca6a354127f9a06ac022a8c54c2cf31405270eb8", "max_stars_repo_licenses": ["MIT"], "max_stars_count"... |
# ----------------------------------------------------------------------------
# Gimel Studio Copyright 2019-2021 by Noah Rahm and contributors
#
# 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... | {"hexsha": "718fb76c6d918be8db9c3ece78584f8cdf8ae300", "size": 2003, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/gimelstudio/interface/utils/img_utils.py", "max_stars_repo_name": "yasuomaidana/GimelStudio", "max_stars_repo_head_hexsha": "f6d0a03ae7bf0cb640100dd0f281d6d286e16006", "max_stars_repo_licenses... |
#include "gtest/gtest.h"
#include <armadillo>
#include <boost/shared_ptr.hpp>
#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include "cluster.hpp"
using namespace gmum;
TEST(CEC_OnlineFormulas,AddPoint) {
//arma_rng::set_seed(0);
int n = 100;
int dim = 2;
int beg = dim+1;
double acceptab... | {"hexsha": "0b26ce863c3c154dd5b123e60817403c4fe57436", "size": 4656, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "tests/cpp/cec/online_test.cpp", "max_stars_repo_name": "gmum/gmum.r", "max_stars_repo_head_hexsha": "fdf76abffb803cfffca7a33cbb319e06cfcf73d3", "max_stars_repo_licenses": ["Xnet", "X11"], "max_stars... |
#!python3
import paho.mqtt.client as mqtt
import json
import os
import time
import sys, getopt,random
import logging
from sql_logger import SQL_data_logger
import threading
from queue import Queue
import numpy as np
import pandas as pd
q=Queue()
list=[]
##### User configurable data section
userna... | {"hexsha": "cc7ca61a05ad8d15ef3baa0efd6ab9535ab3e6c9", "size": 8291, "ext": "py", "lang": "Python", "max_stars_repo_path": "python_libraries/sql_mqtt_data_log/mqtt-data-logger-sql.py", "max_stars_repo_name": "kennethrithvik/smart_knee_brace", "max_stars_repo_head_hexsha": "be7cacb4487874b6639a62965fb25f0b4b1c196b", "ma... |
import numpy as np
import pandas as pd
import os
from datetime import datetime
# parameters for the time series
periods = 276048 # number of periods is the same in each of the sensor's data
locations = 1252 # number of sensor locations
start_date = datetime(2012, 1, 1, 0, 10) # the starting date for the data collectio... | {"hexsha": "ad35b581055b213920038f9fdbc2b29215f1bc4b", "size": 3533, "ext": "py", "lang": "Python", "max_stars_repo_path": "preprocess_amd.py", "max_stars_repo_name": "qlongyinqw/gcn-japan-weather-forecast", "max_stars_repo_head_hexsha": "645f8239b1a913c0b6fc7b7b9ecaf87c0e5e9ea8", "max_stars_repo_licenses": ["MIT"], "m... |
from scipy.stats import poisson
from math import isinf, exp
class Poisson:
""" Poisson distributed arm, possibly truncated """
def __init__(self, p, trunc=float('inf')):
self.p = p
self.trunc = trunc
if isinf(trunc):
self.expectation = p
else:
q = exp(-... | {"hexsha": "00619cbf51b6ef69ef4db7a1ee95bd37f78a7958", "size": 641, "ext": "py", "lang": "Python", "max_stars_repo_path": "arm/Poisson.py", "max_stars_repo_name": "mjedor/greedy-bandits", "max_stars_repo_head_hexsha": "5ca57a50c76e036c2f7fed167fe27a61225886a9", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 1, ... |
import numpy as np
import copy
from supervised.algorithms.registry import AlgorithmsRegistry
from supervised.algorithms.registry import BINARY_CLASSIFICATION
class HillClimbing:
"""
Example params are in JSON format:
{
"booster": ["gbtree", "gblinear"],
"objective": ["binary:logistic"],
... | {"hexsha": "fc6c168a1026f26b4b981e5a6e114531ba035f87", "size": 2213, "ext": "py", "lang": "Python", "max_stars_repo_path": "supervised/tuner/hill_climbing.py", "max_stars_repo_name": "vtisza/mljar-supervised", "max_stars_repo_head_hexsha": "3a2114bab33cb27a1e98b6e3d79b5f79afdf5917", "max_stars_repo_licenses": ["MIT"], ... |
#include <boost/functional/hash.hpp>
#include <boost/test/test_case_template.hpp>
#include <boost/test/unit_test.hpp>
#include "annotator.hpp"
#include "database.hpp"
#include "extractor.hpp"
#include <cstdio>
#include <fstream>
#include <iostream>
BOOST_AUTO_TEST_SUITE(extractor_test)
BOOST_AUTO_TEST_CASE(annotato... | {"hexsha": "1f5674e4603c9b06d46c5a4a2b43c8354df7e93d", "size": 1502, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "test/basic/extractor.cpp", "max_stars_repo_name": "ccebrand/route-annotator", "max_stars_repo_head_hexsha": "e139e93550ad60cd29b5e230a3146929dfeb29b6", "max_stars_repo_licenses": ["BSD-3-Clause"], "... |
[STATEMENT]
lemma post_Inf_acom:
"\<forall>C\<in>M. strip C = c \<Longrightarrow> post (Inf_acom c M) = \<Inter>(post ` M)"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. \<forall>C\<in>M. strip C = c \<Longrightarrow> post (Inf_acom c M) = \<Inter> (post ` M)
[PROOF STEP]
apply(subgoal_tac "\<forall>C\<in>M. size... | {"llama_tokens": 418, "file": null, "length": 4} |
'''
Implementations of algorithms from the paper:
Varma and Kovačević, 'SMOOTH SIGNAL RECOVERY ON PRODUCT GRAPHS', ICASSP 2019
'''
import numpy as np
from numpy.linalg import norm
from util.merge_Tucker import merge_Tucker
from util.soft_hosvd import soft_hosvd
from util.soft_hosvd import soft_moden
from util.t2m impo... | {"hexsha": "14d179669901ca74d20c244455b9a44a8a1fbf08", "size": 9383, "ext": "py", "lang": "Python", "max_stars_repo_path": "util/srpg.py", "max_stars_repo_name": "mrsfgl/geometric_tensor_learning", "max_stars_repo_head_hexsha": "74281c68fa67c4d7e813fdbbf5515ce849cf22ad", "max_stars_repo_licenses": ["MIT"], "max_stars_c... |
from __future__ import division
from future.utils import viewitems
from builtins import map
import os
import copy
import fnmatch
import multiprocessing as multi
from .errors import logger, CorruptedBandsError
from .sphelpers import sputilities
from . import spsplit
from .sphelpers import spreshape
from .spfunctions i... | {"hexsha": "612e7365d3544b77efd1392eaec1957f15c170d4", "size": 29657, "ext": "py", "lang": "Python", "max_stars_repo_path": "spfeas/spfeas/spprocess.py", "max_stars_repo_name": "siu-panh/mapeo-uso-del-suelo", "max_stars_repo_head_hexsha": "f7081a4e6784281eddceaa1a6087e0d972c92820", "max_stars_repo_licenses": ["Apache-2... |
### A Pluto.jl notebook ###
# v0.12.7
using Markdown
using InteractiveUtils
# ╔═╡ 6fd616f6-1ea1-11eb-3814-8bfb4a096c49
using Pkg, DrWatson
# ╔═╡ 6ffe2628-1ea1-11eb-24ea-57f985146a72
begin
@quickactivate "StatisticsWithJuliaPlutoNotebooks"
using Distributions, Random, StatsBase, DataFrames, Plots
using QuadGK, Spe... | {"hexsha": "a5ea4f3d19c98fb1c87464dc75e05ad651581d30", "size": 942, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "notebooks/03/listing3.25.jl", "max_stars_repo_name": "pitmonticone/StatisticsWithJuliaPlutoNotebooks.jl", "max_stars_repo_head_hexsha": "47a10ee915d87dd3241d2863e47b5f9630a03409", "max_stars_repo_li... |
from sklearn.linear_model import LinearRegression
from sklearn.metrics import r2_score
import cv2
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import pdb
def linear(x_train, y_train):
# Train the model with LinearRegression
regressor = LinearRegression()
return (regressor.fit(x_... | {"hexsha": "8727fbc2b462487af64c5f36594abc1288e86724", "size": 1412, "ext": "py", "lang": "Python", "max_stars_repo_path": "linearRegression.py", "max_stars_repo_name": "jklewis99/magical-movie-poster-processing", "max_stars_repo_head_hexsha": "88aefe4c446fd3d8366b527f59e20c04ac584fb4", "max_stars_repo_licenses": ["MIT... |
using MittagLeffler
using Base.Test
myapp(x,y) = abs(x-y) < 1e-10
@test myapp(mittleff(.5,.5,.5),1.5403698281390346)
@test myapp(mittleff(1.5,.5,.5),1.1448466286155243)
@test myapp(mittleff(2.3, .7 + 2. * im), 1.201890136368392 + 0.7895394560075035 * im)
@test myapp(mittleff(2.3, .7 + 0.2 * im) , (1.268233154873853 +... | {"hexsha": "647e67658fc8e0015e03a8455bc355d0a7160cfd", "size": 790, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "test/runtests.jl", "max_stars_repo_name": "JuliaRheology/MittLeffLite.jl", "max_stars_repo_head_hexsha": "6dafd14aa67ec143ff2bc4cd61c814545aaf6367", "max_stars_repo_licenses": ["MIT"], "max_stars_co... |
'''
Module containing Optimizers and Hyperoptimizers.
Classes embody Parameter Optimization Algorithms,
and Hyperparameter Optimization Algorithms.
'''
import numpy, copy, dispy
from . import base, configure, error
import data
class Optimizer(base.Net):
'''
Optimizer Class
'''
def __init__(self, net, trainings... | {"hexsha": "bb9f004e507d0691bc773cfa0522b78509afea1d", "size": 23066, "ext": "py", "lang": "Python", "max_stars_repo_path": "net/optimizer.py", "max_stars_repo_name": "aaiijmrtt/net", "max_stars_repo_head_hexsha": "92594b0bb65fc721eabfedcfccfc797ea5a475c7", "max_stars_repo_licenses": ["MIT"], "max_stars_count": null, "... |
"""
jd2cal(dj1, dj2)
Julian Date to Gregorian year, month, day, and fraction of a day.
### Given ###
- `dj1`, `dj2`: Julian Date (Notes 1, 2)
### Returned ###
- `iy`: Year
- `im`: Month
- `id`: Day
- `fd`: Fraction of day
### Notes ###
1. The earliest valid date is -68569.5 (-4900 March 1). The
largest v... | {"hexsha": "b7c69c938edb323c320252a1c74a698a3845bd67", "size": 3346, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/j.jl", "max_stars_repo_name": "JuliaAstro/ERFA.jl", "max_stars_repo_head_hexsha": "ea9fbf78907d3b5a7aaeaa8624c66ddad66a83ce", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 5, "max_star... |
#!/usr/bin/python3
import logging
import unittest
from pathlib import Path
import astropy.units as u
import simtools.io_handler as io
from simtools.simtel.simtel_runner_array import SimtelRunnerArray
from simtools.model.array_model import ArrayModel
logger = logging.getLogger()
logger.setLevel(logging.DEBUG)
clas... | {"hexsha": "3d22bff3e52debeb299580baf090cedca8675c6a", "size": 1394, "ext": "py", "lang": "Python", "max_stars_repo_path": "simtools/tests/test_simtel_runner_array.py", "max_stars_repo_name": "gammasim/gammasim-tools", "max_stars_repo_head_hexsha": "0b746254916f4c2e2a3fbd1854c565c3bc90d493", "max_stars_repo_licenses": ... |
[STATEMENT]
lemma plen_mono: "\<pi> \<le> \<pi>' \<Longrightarrow> plen \<pi> \<le> plen \<pi>'"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. \<pi> \<le> \<pi>' \<Longrightarrow> plen \<pi> \<le> plen \<pi>'
[PROOF STEP]
by transfer auto | {"llama_tokens": 99, "file": "MFOTL_Monitor_Trace", "length": 1} |
#! /usr/bin/env python3
from .base_miner import BasePreGradientMiner
from ..utils import loss_and_miner_utils as lmu
import numpy as np
import torch
class MaximumLossMiner(BasePreGradientMiner):
def __init__(self, loss_function, mining_function=None, num_trials=5, **kwargs):
super().__init__(**... | {"hexsha": "219f8a8efce6286f5ad5a8fef156fff84002d89a", "size": 1197, "ext": "py", "lang": "Python", "max_stars_repo_path": "pytorch_metric_learning/miners/maximum_loss_miner.py", "max_stars_repo_name": "JoOkuma/pytorch-metric-learning", "max_stars_repo_head_hexsha": "4b17eb269d247c8725afcba100f2214680060ea3", "max_star... |
\section{Detective problem: From which spaces could these have come?}
Given finitely many points and some pairs of distances between them. Usual suspects
are some kinds of spaces from which they have come.
\vspace{0.15in}
\textbf{Problem}: Decide if they could have come from the given space.
\vspace{0.1in}
\noinde... | {"hexsha": "c113e5c2bf90994e842e1d76b26b0b7dcbd7369f", "size": 2305, "ext": "tex", "lang": "TeX", "max_stars_repo_path": "src/DetectiveProblem.tex", "max_stars_repo_name": "siddhartha-gadgil/MetricGeometryCourse", "max_stars_repo_head_hexsha": "92ec7727f358107a8ad61a7229bc94e2aa9bbafc", "max_stars_repo_licenses": ["MIT... |
#!/usr/bin/env python
import asyncio
import io
import http.server
import json
import numpy
import os
import queue
import re
import sys
import threading
import websockets
from obspy.io.quakeml.core import Pickler
from obspy.core.stream import Stream
from obspy.core.utcdatetime import UTCDateTime
from obspy.core.event.... | {"hexsha": "b6d5ef1023c72ca108dc090927e00b9e884f6e93", "size": 19470, "ext": "py", "lang": "Python", "max_stars_repo_path": "docs/examples/viewobspy/serveobspy.py", "max_stars_repo_name": "crotwell/seisplotjs", "max_stars_repo_head_hexsha": "20e55ecc36bb2340ae67585a3369fea296725b3e", "max_stars_repo_licenses": ["MIT"],... |
# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
from typing import Tuple, Union
import numpy as np
from GPyOpt.util.general import get_quantiles
from ...core.interfaces import IModel, IDifferentiable
from ...core.acquisition import Acquisition
class... | {"hexsha": "7395ac698eb0f3b25db621bc9ca0c9b11b6f1803", "size": 2373, "ext": "py", "lang": "Python", "max_stars_repo_path": "emukit/bayesian_optimization/acquisitions/probability_of_improvement.py", "max_stars_repo_name": "aaronkl/emukit", "max_stars_repo_head_hexsha": "ccd80811a1b8e11ece97dceb2f8c7b92a7a4f236", "max_st... |
#=##############################################################################
# DESCRIPTION
Simulation interface connecting vehicles and maneuvers.
# AUTHORSHIP
* Author : Eduardo J. Alvarez
* Email : Edo.AlvarezR@gmail.com
* Created : Oct 2019
* License : MIT
=###############################... | {"hexsha": "e8a2417d1055f017ee01a7a4db761e5d1c9ee7f9", "size": 5823, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/FLOWUnsteady_simulation_types.jl", "max_stars_repo_name": "Bossgb97/Testoli", "max_stars_repo_head_hexsha": "60ddf31f67454caad7ff939a907bd7744e6f704f", "max_stars_repo_licenses": ["MIT"], "max_... |
import numpy as np
import pandas as pd
import pytorch_lightning as pl
import torch
from scipy import signal
from scipy.special import expit, logit
from sklearn.model_selection import StratifiedKFold
from torch.utils.data import ConcatDataset, DataLoader, Dataset
from torchaudio.functional import lowpass_biquad
from sr... | {"hexsha": "ddd5a86a70cfbccc9b61dfe21df6d3b032211ea8", "size": 8742, "ext": "py", "lang": "Python", "max_stars_repo_path": "datasaurus/src/datasets.py", "max_stars_repo_name": "yamsam/G2Net-GoGoGo", "max_stars_repo_head_hexsha": "629199ba044adf8a0ffec3e6fd33146bcad4299e", "max_stars_repo_licenses": ["MIT"], "max_stars_... |
!==============================================================================!
integer function Is_Line_In_Block(dom, n1, n2, b)
!------------------------------------------------------------------------------!
! Checks if the line defined n1 and n2 is inside the block b. !
!-----------------------... | {"hexsha": "dbc279c2073f51c3f7bee571b26d3e47aaca0a04", "size": 1171, "ext": "f90", "lang": "FORTRAN", "max_stars_repo_path": "Sources/Generate/Is_Line_In_Block.f90", "max_stars_repo_name": "mhadziabdic/T-FlowS", "max_stars_repo_head_hexsha": "1e0cd22ea60313a249742da69a88423891795056", "max_stars_repo_licenses": ["MIT"]... |
import numpy as np
import matplotlib.pyplot as plt
from LdpcDecoder import LdpcDecoder
np.random.seed(0)
# --- Initializations
EbN0List = np.arange(0, 2.5, 0.5)
nIter = 50 # number of BP iterations
a = -1
# EbN0List = np.array([20])
# Create an LDPC object
ldpcCode = LdpcDecoder("NR_1_0_8.alist", a)
R = (l... | {"hexsha": "0a2832eca25491bf5e31f4beee6e5c021ce14d72", "size": 1476, "ext": "py", "lang": "Python", "max_stars_repo_path": "LDPC/DecoderExample/main.py", "max_stars_repo_name": "mgkagk01/Coding-Theory", "max_stars_repo_head_hexsha": "58229b6db4ff42fc529e0ffa6d895e19c1c1c162", "max_stars_repo_licenses": ["MIT"], "max_st... |
"""My Simple MetaReacher domain."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import collections
from rlkit.envs.dmcs_envs.meta_env import MetaEnvironment
from rlkit.envs.dmcs_envs.meta_task import MetaTask
# Internal dependencies.
from dm_control ... | {"hexsha": "965fc02932c5b838fc9a41c2768e5e0077738f38", "size": 5397, "ext": "py", "lang": "Python", "max_stars_repo_path": "rlkit/envs/dmcs_envs/simple_meta_reacher.py", "max_stars_repo_name": "yifan-you-37/rl_swiss", "max_stars_repo_head_hexsha": "8b0ee7caa5c1fa93860916004cf4fd970667764f", "max_stars_repo_licenses": [... |
#include <boost/test/unit_test.hpp>
#include <core/tools/url.h>
BOOST_AUTO_TEST_SUITE(core)
BOOST_AUTO_TEST_SUITE(tools)
BOOST_AUTO_TEST_SUITE(test_url)
BOOST_AUTO_TEST_CASE(test_encode_url)
{
using namespace core::tools;
BOOST_CHECK_EQUAL(
"http://img0.joyreactor.cc/pics/post/%D0%B... | {"hexsha": "c4bf47e64ce98042c7cf7b63875224a426e35c22", "size": 663, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "tests/unit_tests/core/tools/test_url.cpp", "max_stars_repo_name": "Vavilon3000/icq", "max_stars_repo_head_hexsha": "9fe7a3c42c07eb665d2e3b0ec50052de382fd89c", "max_stars_repo_licenses": ["Apache-2.0"... |
import cv2
import numpy as np
import tensorflow as tf
class CatClassifier(object):
def __init__(self, model_path):
self._graph = self._load_model(model_path)
self._sess = tf.Session(graph=self._graph)
self._input_image = self._graph.get_tensor_by_name(
'cat_classifier/input_ima... | {"hexsha": "0978c098c950e30a673a14ad06248c6d4ba7b815", "size": 2162, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/cat_classifier.py", "max_stars_repo_name": "SENC275/cat_detection", "max_stars_repo_head_hexsha": "d818ec7bb7a6cde92da78eb5c0184998ac5049d5", "max_stars_repo_licenses": ["MIT"], "max_stars_cou... |
import csv
import numpy
import pandas
from itertools import combinations, repeat
from multiprocessing import Manager, Pool
from sklearn import preprocessing
PAID_HEROES = frozenset(
['ariel', 'charon', 'lilith', 'monk_sun', 'rams', 'robin',
'saizo', 'smoke', 'theresa', 'edwin'])
def members_as_list(team):
... | {"hexsha": "985c8d0771fc3e967bbfab43c8e9e2336a7c7341", "size": 4438, "ext": "py", "lang": "Python", "max_stars_repo_path": "magicrush.py", "max_stars_repo_name": "scottfisk/magicrush-arena-analysis", "max_stars_repo_head_hexsha": "00433381429c5bb8aeae8da56febe7778093f114", "max_stars_repo_licenses": ["MIT"], "max_stars... |
#include <iostream>
#include <cstring>
#include <ros/ros.h>
#include <ros/package.h>
#include <tf/transform_datatypes.h>
#include <tf/transform_listener.h>
#include <nav_msgs/OccupancyGrid.h>
#include <geometry_msgs/PoseWithCovarianceStamped.h>
#include <cv_bridge/cv_bridge.h>
#include <sensor_msgs/Image.h>
#... | {"hexsha": "fddbcb01353c51b5c6d261ab7c1ddf204aacb67b", "size": 12112, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "astar_planner/src/astar_planner.cpp", "max_stars_repo_name": "ChoiJangho/autonomous_vehicle", "max_stars_repo_head_hexsha": "b7a3e716288cc802f8d3b2942697a5aed8f69eaa", "max_stars_repo_licenses": ["... |
/*
This file is part of the Dynarithmic TWAIN Library (DTWAIN).
Copyright (c) 2002-2021 Dynarithmic Software.
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.... | {"hexsha": "4e7079951fd9ea3fa6c3fc000f773cba02814b1e", "size": 10263, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "source/cpp/ctlreg.cpp", "max_stars_repo_name": "Dcreeron/twain_library_source", "max_stars_repo_head_hexsha": "36d05d704f818ec3e06cbe7dd2db548187424489", "max_stars_repo_licenses": ["Apache-2.0"], ... |
#
# Global heap
#
const GLOBAL_HEAP_SIGNATURE = htol(0x4c4f4347) # "GCOL"
struct GlobalHeapID
heap_offset::RelOffset
index::UInt32
end
define_packed(GlobalHeapID)
isatend(f::JLDFile, gh::GlobalHeap) =
gh.offset != 0 && f.end_of_data == gh.offset + 8 + sizeof(Length) + gh.length
heap_object_length(data::... | {"hexsha": "5b982b9e6681002b29533295e987de01d3e14a88", "size": 4890, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/global_heaps.jl", "max_stars_repo_name": "lstagner/JLD2.jl", "max_stars_repo_head_hexsha": "ae0345682a3b1d256a81de2957623b64ffb405b1", "max_stars_repo_licenses": ["MIT"], "max_stars_count": nul... |
import os
import tensorflow as tf
import math
import numpy as np
import pandas as pd
import glob
import matplotlib.pyplot as plt
import seaborn as sns
from tqdm import tqdm
from waymo_open_dataset.protos.scenario_pb2 import Scenario
import matplotlib.patches as patches
import matplotlib.patheffects as path_effects
def ... | {"hexsha": "0d6892856ddeae0636b23f7378eab3f097c0ef44", "size": 1332, "ext": "py", "lang": "Python", "max_stars_repo_path": "speed_cal.py", "max_stars_repo_name": "Thirteentj/waymo-od", "max_stars_repo_head_hexsha": "6481269217326d6d681c579e4036f7771a7f3b62", "max_stars_repo_licenses": ["Apache-2.0"], "max_stars_count":... |
#!/usr/bin/env python
import pkg_resources
import re
from datetime import datetime
from dmf_control_board_firmware import DMFControlBoard
from dmf_control_board_firmware.calibrate.impedance import TEST_LOADS
from matplotlib.backends.backend_gtkagg import (FigureCanvasGTKAgg as FigureCanvasGTK)
from matplotlib.backends... | {"hexsha": "e08915a07b9648173ddc4f8813baea4f4434312e", "size": 15589, "ext": "py", "lang": "Python", "max_stars_repo_path": "dmf_control_board_firmware/gui/channels.py", "max_stars_repo_name": "wheeler-microfluidics/dmf_control_board", "max_stars_repo_head_hexsha": "92edf1cf2d73cfddd101793e1ee23ec285c372c7", "max_stars... |
#include <iostream>
#include <csignal>
#include <boost/program_options.hpp>
#include <kspp/utils/env.h>
#include <kspp/utils/kafka_utils.h>
#include <kspp/topology_builder.h>
#include <kspp/sinks/avro_file_sink.h>
#include <kspp/connect/bitbouncer/grpc_avro_source.h>
#define SERVICE_NAME "bb2avro"
#define DEFAULT_... | {"hexsha": "af535b6ab538e688b359f7de3beb441a1d717e5b", "size": 5931, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "tools/bitbouncer/bb2avro.cpp", "max_stars_repo_name": "eikeschumann971/kspp", "max_stars_repo_head_hexsha": "e9665f0d7fb9c976c232393428d2d3e616db7eb5", "max_stars_repo_licenses": ["BSL-1.0"], "max_s... |
from preprocessing_utilities import original_dataset, dataset_path
from Scripts.utilities import start_correct_cluster, parse_args
import numpy as np
import pandas as pd
import dask.dataframe as dd
import os
all_features_dtype = {
"raw_feature_tweet_text_token": pd.StringDtype(),
"raw_feature_tweet_hashtags":... | {"hexsha": "ec04f9da9ce873ef3ce76e741319ef6da2acdfb5", "size": 8255, "ext": "py", "lang": "Python", "max_stars_repo_path": "Scripts/Preprocessing/pre00_dataset_to_parquet.py", "max_stars_repo_name": "mattiasu96/recsys-challenge-2021-twitter", "max_stars_repo_head_hexsha": "80b78050739a93165cbaaf256bd13932582a8930", "ma... |
struct KineticMixing <: AbstractDMModel
mx::Float64
mv::Float64
gvxx::Float64
eps::Float64
width_v::Float64
end
function KineticMixing(mx::Float64, mv::Float64, gvxx::Float64, eps::Float64)
model = KineticMixing(mx, mv, gvxx, eps, 0.0)
width = width_v(model)
KineticMixing(mx, mv, gvxx, ... | {"hexsha": "6db43ace77fb243c3374c3659c9c07a863efcaf3", "size": 14639, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/models/kinetic_mixing.jl", "max_stars_repo_name": "LoganAMorrison/AsymptoticBoltzmann", "max_stars_repo_head_hexsha": "ef0213a7acc3f8d7095b446716bc90bbb036493d", "max_stars_repo_licenses": ["M... |
'''
Initial try at Model Training structure. Uses CNN model found in
"Speech Emotion Recognition From 3D Log-MelSpectrograms With Deep Learning Network"
Needs input, and "test/train" function syntax, but the model should have the correct functions
Model functions may have to have parameters changed based on desired o... | {"hexsha": "84046419e76ab0aec057d2b83570fa8d5a62964f", "size": 4776, "ext": "py", "lang": "Python", "max_stars_repo_path": "dev_tools/unused/MobileNetV2base.py", "max_stars_repo_name": "Alyssb/EDGAR", "max_stars_repo_head_hexsha": "0197b14c44c0ff318f4d7849da25158e63a159d2", "max_stars_repo_licenses": ["MIT"], "max_star... |
[STATEMENT]
lemma while_prot_terms_SMP_overapprox:
fixes M::"('fun,'atom,'sets,'lbl) prot_terms"
assumes N_supset: "M \<union> \<Union>(subterms ` N) \<union> \<Union>((set \<circ> fst \<circ> Ana) ` N) \<subseteq> N"
and Value_vars_only: "\<forall>x \<in> fv\<^sub>s\<^sub>e\<^sub>t N. \<Gamma>\<^sub>v x = TAto... | {"llama_tokens": 15492, "file": "Automated_Stateful_Protocol_Verification_Stateful_Protocol_Model", "length": 101} |
#!/usr/bin/env python
import numpy as np
import math
from scipy.spatial.transform import Rotation as R
m = R.from_euler('z', 90, degrees=True)
try:
import pyvista as pv
except ImportError:
pv = None
pass
try:
import matplotlib.pyplot as plt
except ImportError:
plt = None
pass
def yan_0():
rn... | {"hexsha": "07b03c4fd2f56f5f5e8c712710624cddf18ad320", "size": 4166, "ext": "py", "lang": "Python", "max_stars_repo_path": "ana/toymuon.py", "max_stars_repo_name": "hanswenzel/opticks", "max_stars_repo_head_hexsha": "b75b5929b6cf36a5eedeffb3031af2920f75f9f0", "max_stars_repo_licenses": ["Apache-2.0"], "max_stars_count"... |
#include <gsl/gsl_matrix.h>
#include "kexpr.h"
#include "matrix.h"
#include "api.h"
static void ke_matrix_alloc(sml_t* sml) {
int n1 = sml_pop_int(sml);
int n2 = sml_pop_int(sml);
gsl_matrix * m = gsl_matrix_alloc(n1,n2);
sml_mem_inc(sml);
sml_push_matrix(sml, m)
}
void ke_matrix_prop_get(sml_t* sml) {
gsl_ma... | {"hexsha": "bdcd215fc270b0173dc82dda44fce2f1406d5d8d", "size": 9286, "ext": "c", "lang": "C", "max_stars_repo_path": "matrix.c", "max_stars_repo_name": "vinej/sml", "max_stars_repo_head_hexsha": "115c007926ca80d51a37cdf887b5252338d8bc8d", "max_stars_repo_licenses": ["MIT"], "max_stars_count": null, "max_stars_repo_star... |
import numpy as np
import numpy.polynomial.polynomial as pol
import matplotlib.pyplot as plt
def NPV(r, CF):
x = 1.0 / (1.0 + 0.01 * r)
return pol.polyval(x, CF)
def IRR(CF):
Roots = pol.polyroots(CF)
Real = np.real(Roots[np.isreal(Roots)])
Positive = (Real[Real > 0.0]).item(0)
return (1.0 /... | {"hexsha": "b6e2b4c700a2bfc14a86fd0c46c7860db71e99ae", "size": 1260, "ext": "py", "lang": "Python", "max_stars_repo_path": "python/ges_npv_irr.py", "max_stars_repo_name": "nakatsuma/GES-PEARL", "max_stars_repo_head_hexsha": "094c2f5f1f4045d60803db91159824a801ce5dcd", "max_stars_repo_licenses": ["MIT"], "max_stars_count... |
[STATEMENT]
lemma inv_app1'[simp]: "invertible\<^sub>L X \<Longrightarrow> inv\<^sub>L X (X v) = v"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. invertible\<^sub>L X \<Longrightarrow> blinfun_apply (inv\<^sub>L X) (blinfun_apply X v) = v
[PROOF STEP]
using inv_app1 blinfun_apply_blinfun_compose id_blinfun.rep_eq
[... | {"llama_tokens": 295, "file": "MDP-Rewards_Blinfun_Util", "length": 2} |
#include <boost/spirit/home/classic/iterator/fixed_size_queue.hpp>
| {"hexsha": "80a5508fc6279cc6756f2d91ce91c9f99fdbc2fc", "size": 67, "ext": "hpp", "lang": "C++", "max_stars_repo_path": "src/boost_spirit_home_classic_iterator_fixed_size_queue.hpp", "max_stars_repo_name": "miathedev/BoostForArduino", "max_stars_repo_head_hexsha": "919621dcd0c157094bed4df752b583ba6ea6409e", "max_stars_r... |
#ifndef _WIN32
// Use dynamic library on Linux
#define BOOST_TEST_DYN_LINK
#endif
#define BOOST_TEST_MODULE multiverso
#include <boost/test/unit_test.hpp>
| {"hexsha": "300194f241126cbaf361fc1ee1d811cca10cfada", "size": 156, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "Test/unittests/test_multiverso.cpp", "max_stars_repo_name": "yesme/Multiverso", "max_stars_repo_head_hexsha": "e45369e1d07277f656b0900beb2709d86679fa53", "max_stars_repo_licenses": ["MIT"], "max_star... |
#!/usr/bin/env python3
## TODO: add output formats
import click
import click_log
# Set up logging:
from .. import get_logger
logger = get_logger(__name__)
from . import read
# from ...lib import *
import numpy as np
# Read the arguments:
@read.command()
@click.argument(
"input_fastq_table", type=click.Path(... | {"hexsha": "4e4cda70c84e2915759294822fc90cd1adfd4e0d", "size": 7943, "ext": "py", "lang": "Python", "max_stars_repo_path": "rnadnatools/cli/read/check_nucleotides.py", "max_stars_repo_name": "agalitsyna/rnadnatools", "max_stars_repo_head_hexsha": "cc38651481146954349178e3799a2861345dbc03", "max_stars_repo_licenses": ["... |
[STATEMENT]
lemma exp_golomb_bit_count_est:
assumes "n \<le> m "
shows "bit_count (N\<^sub>e n) \<le> (2 * log 2 (real m+1) + 1)"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. bit_count (N\<^sub>e n) \<le> ereal (2 * log 2 (real m + 1) + 1)
[PROOF STEP]
proof -
[PROOF STATE]
proof (state)
goal (1 subgoal):
1. ... | {"llama_tokens": 1157, "file": "Prefix_Free_Code_Combinators_Prefix_Free_Code_Combinators", "length": 12} |
//=======================================================================
// Copyright 2005 Jeremy G. Siek
// Authors: Jeremy G. Siek
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//==================... | {"hexsha": "a9c5f1cd43eac12b7028df81959815bba4a53ed3", "size": 3903, "ext": "hpp", "lang": "C++", "max_stars_repo_path": "include/boost/graph/adj_list_serialize.hpp", "max_stars_repo_name": "dstrigl/mcotf", "max_stars_repo_head_hexsha": "92a9caf6173b1241a2f9ed45cd379469762b7178", "max_stars_repo_licenses": ["BSL-1.0"],... |
import numpy as np
import os, glob
from matplotlib import pyplot as plt
import camera as cam
import time, mncc
import stat_tools as st
from scipy.ndimage import morphology,filters ####more efficient than skimage
from skimage.morphology import remove_small_objects
from collections import deque
MAX_INTERVAL = 180 ####m... | {"hexsha": "c4f70b876a0153bf5c41f5b6da3d7c3b22bcf277", "size": 6168, "ext": "py", "lang": "Python", "max_stars_repo_path": "code/preprocessing/cloud_height.py", "max_stars_repo_name": "amcmahon01/SolarForecasting", "max_stars_repo_head_hexsha": "4781f10772178eac0cc7c456c3fa03f68bfb9167", "max_stars_repo_licenses": ["MI... |
from typing import Tuple, List
import numpy as np
import torch
from torch.utils.data import Dataset
class Word2VecDataset(Dataset):
def __init__(self, data, window_size):
self.data = data
self.window_size = window_size
self.input_file = open(data.input_file_name, encoding="utf8")
def ... | {"hexsha": "84d88c830d5a191a6f4e9e93625fee75958d037a", "size": 1832, "ext": "py", "lang": "Python", "max_stars_repo_path": "skipgram/dataset.py", "max_stars_repo_name": "alessandrobessi/skipgram", "max_stars_repo_head_hexsha": "2af9cb6da967f5cbdb7cc599ca73fe968befd182", "max_stars_repo_licenses": ["MIT"], "max_stars_co... |
import tkinter as tk
from tkinter import messagebox as tkMessageBox
from PIL import Image, ImageTk
import numpy as np
from get_one_img import get_depth_and_ir_from_kinect
from enum import Enum
import pickle
class Selection(Enum):
NOTHING = 1
FACE = 2
LEFT_EYE = 3
RIGHT_EYE = 4
class Application(tk.Fr... | {"hexsha": "5b1c099c5546f3ad19b8bbce2156baece4f284b6", "size": 10538, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/tools/labeler.py", "max_stars_repo_name": "NaviRice/HeadTracking", "max_stars_repo_head_hexsha": "8227cc247425ecacd3e789dbbac11d3e5103d3e2", "max_stars_repo_licenses": ["MIT"], "max_stars_cou... |
import pytest
import numpy as np
import pandas as pd
from scipy import stats
from sklearn.linear_model import LinearRegression, LogisticRegression, Ridge, Lasso, ElasticNet
from sklearn.svm import LinearSVC, SVC
from sklearn.tree import DecisionTreeClassifier
from sklearn.model_selection import train_test_split
from ... | {"hexsha": "3baa3f5e01f5dcf4bcaab8b721620d59af108576", "size": 13526, "ext": "py", "lang": "Python", "max_stars_repo_path": "tests/test_architectures.py", "max_stars_repo_name": "leoninekev/mlsquare", "max_stars_repo_head_hexsha": "ff9442c6e155cd8c891adb4ecdc80cad38a50506", "max_stars_repo_licenses": ["MIT"], "max_star... |
module BioinformaticsBISC195
export normalizeDNA,
composition,
gc_content,
complement,
reverse_complement,
parse_fasta
# # uncomment the following line if you intend to use BioSequences types
using BioSequences
import BioSequences: composition, gc_content, complement, reverse_comp... | {"hexsha": "7a002cdc94f717c01e8eae09577d5965fc4db08a", "size": 1878, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/BioinformaticsBISC195.jl", "max_stars_repo_name": "danielle-peterson/BioinformaticsBISC195", "max_stars_repo_head_hexsha": "2656bcd52d2aeaf9f9daf031a3ea1d812960f9c5", "max_stars_repo_licenses":... |
"""
AbstractElements
Abstract base type for two-body element sets.
## Two Body Element Interface
- [`semi_major_axis`](@ref)
- [`eccentricity`](@ref)
- [`right_ascension`](@ref)
- [`argument_of_periapsis`](@ref)
- [`true_anomaly`](@ref)
"""
abstract type AbstractElements end
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... | {"hexsha": "070dedccc6960e7173bf0b5fdcb0fb6f5ad0f20f", "size": 3714, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/twobody/elements.jl", "max_stars_repo_name": "rjpower4/Pat.jl", "max_stars_repo_head_hexsha": "79893b6f76b24db89ae6f06524a759c8210c8515", "max_stars_repo_licenses": ["BSD-3-Clause"], "max_stars... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.