arxiv_id
stringlengths
0
16
text
stringlengths
10
1.65M
1209.2343
\section{I. Introduction} The interplay between physics and biology has recently not only illuminated important underlying biological mechanisms, but also given birth to new avenues of understanding physics, which in turn has lead to interesting applications. A good example concerns the recent series of works that ex...
1612.09318
\section*{Acknowledgements} This work was supported by the National Science Foundation. \subsection{Signal Asymmetry} \label{sec:signal_asymmetry} As described in section~\ref{sec:Measurement_scheme}, the accumulated phase $\Phi$ was read out by resonantly addressing the $H \rightarrow C$ tran...
2209.15528
\section{Introduction} Many of the colloidal systems that have been used to study the glass transition are polydisperse \cite{gasser2009}. While monodisperse colloidal fluids crystallize very easily, with the introduction of a size polydispersity they become good glassformers \cite{vanmegen1993, vanmegen1994, schope200...
2101.01694
\section{Introduction} \label{sec:introduction} The detailed study of young star cluster (YSC) kinematics is vital to understand their long-term evolution and survivability. Only if star clusters are massive enough they may overcome the so-called ``infant mortality'' \citep{Lada2003} surviving internal and external pr...
1602.03028
\section{Introduction}\label{sec:introduction} Core-collapse supernovae (CCSNe) have been an active topic of research in theoretical and observational astrophysics for many decades. In recent years, hundreds of CCSNe have been discovered every year, mostly in distant galaxies \citep[e.g.,][]{Sako:2007ms,Leaman:2010kb}...
2007.14859
\section{Introduction} \label{sec_intro} Mobile networks aim to support the emerging \emph{high-rate} applications (e.g., virtual/augmented reality) and also be \emph{adaptive} to spatio-temporal variability in wireless traffic demands~\cite{Kibilda_spatio-temporal_traffic}. \emph{Dynamic} positioning of mobile relays,...
2207.04027
\section{Abstract} Audio commands are a preferred communication medium to keep inspectors in the loop of civil infrastructure inspection performed by a semi-autonomous drone. To understand job-specific commands from a group of heterogeneous and dynamic inspectors, a model needs to be developed cost-effectively for the...
1708.08187
\section{Introduction} \label{sec:introduction} Metasurfaces have demonstrated in the past few years an exceptional ability to implement a myriad of electromagnetic functionalities, forming highly-efficient ultrathin devices for engineered beam refraction \cite{Pfeiffer2013,Monticone2013,Selvanayagam2013,Epstein2016_3}...
2103.13756
\section{An example appendix} \section*{Acknowledgments} Financial support from the Deutsche Forschungsgemeinschaft (German Research Foundation) through grant IRTG 2379 is gratefully acknowledged. \section{Software list}\label{sec:table} We present a list of packages that support some form of tensor computatio...
1301.4561
\section{Introduction} \subsection{Tautological classes} For $g\geq 2$, let ${\mathcal{M}}_g$ be the moduli space of nonsingular, projective, genus $g$ curves over ${\mathbb C}$, and let \begin{equation}\label{g55} \pi: \mathcal{C}_g \rightarrow \mathcal{M}_g \end{equation} be the universal curve. We view ${\mathcal{...
1301.4318
\section{Introduction} Restricting to strong interactions, almost all of the hadrons are resonances. For lattice studies, due to the finiteness of the lattice volumes the smallest momenta come in units $2\pi/L$. Moreover, for unphysically heavy pion masses decay channels are often not open or the resulting phase spa...
1711.03297
\section{\@startsection {section}{1}{\z@}% {-3.5ex \@plus -1ex \@minus -.2ex {2.3ex \@plus.2ex}% {\normalfont\large\bfseries}} \renewcommand\subsection{\@startsection{subsection}{2}{\z@}% {-3.25ex\@plus -1ex \@minus -.2ex}% {1.5...
2008.13260
\section{Introduction} A $k$-coloring of a graph $G=(V,E)$ is a surjective function from the vertex set $V$ into a color set of cardinality $k$, usually denoted by $\{0,1,\ldots,k-1\}$. This coloring is called perfect if for any $i,j$ the number of vertices of color $j$ in the neighbourhood of vertex $x$ of color $i...
1908.03390
\section{Introduction} In applied statistics, one is often faced with the need to combine different types of information to produce a single decision. For instance, in credibility theory, the weights that link a relevant but small dataset with a big but not-so-relevant dataset are looked for, or similarly in bioinfor...
1302.6369
\section{The main result} A Banach space $X$ is said to have the \emph{Schur property} if any weakly null sequence in $X$ converges to zero in norm. Equivalently, $X$ has the Schur property if every weakly Cauchy sequence is norm Cauchy. The classical example of a space with the Schur property is the space $\ell_1$...
1302.6060
\section{Introduction} Based on the statistics of embedded clusters in the Galaxy, \citet{lada03} concluded that a high fraction of young proto-clusters will dissolve while only a few percent are likely to become bound clusters. Several reasons for this `infant mortality' have been brought forward, such as an expulsio...
1302.6530
\section{Introduction} Neutron star (NS) merger events are among the most promising candidates for the first direct measurement of a gravitational-wave signal with the upcoming Advanced LIGO and VIRGO interferometric instruments~\citep{2006CQGra..23S.635A,2010CQGra..27h4006H}, and they are considered as likely origin ...
1302.6441
\section{Introduction} \label{sec1} The transverse collective flow of particles is an important characteristic of ultrarelativistic heavy-ion collisions because the flow is able to carry information about the early stage of the reaction. Particularly, the collective flow is very sensitive to change of the equation...
2006.10462
\section{Introduction} A theory of gravity has been proposed in \cite{Bueno:2016xff} which is the most general up to-cubic-order-in-curvature theory of gravity that shares its graviton spectrum with Einstein theory on a constant curvature background. This Einsteinian cubic theory of gravity is not trivial in four ...
1602.08663
\section{Truly multi-dimensional SL algorithm.} \label{sec2} \setcounter{equation}{0} \setcounter{figure}{0} \setcounter{table}{0} \subsection{Algorithm framework} \label{sec2.1} Our goal is to design a high order SL finite difference scheme for the VP system without operator splitting. Consider the VP system \eqref{...
hep-ph/9408203
\section{Introduction} Heavy quark effective theory (HQET) has become an established tool in the phenomenology of heavy flavours, with applications expanding from their original premises of exclusive heavy flavour transitions into inclusive decays and heavy quark fragmentation\cite{1}. On the theory side, HQET provide...
hep-ph/9408253
\section{Introduction} In the present evidence of a heavy top quark, it is of interest to study in greater detail the phenomenological implications of the infrared fixed point predictions for the top quark mass. The low energy fixed point structure of the Renormalization Group (RG) equation of the top quark Yukawa co...
alg-geom/9408006
\section*{Introduction} In his preprint~\cite{Lan}, J.M.~Landsberg introduces an elementary characterization of complete intersections (Proposition~1.2 in \cite{Lan}). The proof of this proposition uses the method of moving frames. The aim of this note is to present an elementary proof of Landsberg's criterion that is ...
1611.06234
\section{Introduction} Compressible flows around blunt objects play an important role in diverse fields of science and engineering, ranging from fluid mechanics \citep[\emph{e.g.,} ][]{LandauLifshitz59_FluidMechanics, ParkEtAl2006,MackSchmid2011,TuttyEtAl2013,GrandemangeEtAl2013,GrandemangeEtAl2014}, space physics \...
1401.2195
\section{Introduction} Given oracle access to a metric space $(\{1,2,\ldots,n\},d)$, the {\sc metric $1$-median} problem asks for a point with the minimum average distance to all points. Indyk~\cite{Ind99, Ind00} shows that {\sc metric $1$-median} has a Monte-Carlo $O(n/\epsilon^2)$-time $(1+\epsilon)$-approx...
1401.2695
\section{Introduction} Self-assembled quantum dots (QDs), also known as artificial atoms, are made of millions of atoms. \cite{bimberg_book} Unlike real atoms, which have constant physical properties, the QDs are different from each other and show far more complicate behavior. The physical properties of QDs, are...
1401.2706
\section{Introduction} Unbiased bases are a fundamental concept in the theory quantum kinematics as they are intimately related to Bohr's Complementarity Principle \cite{englertbook}. In a finite dimensional Hilbert space, two orthonormal bases, are said to be unbiased if, and only if, the transition probability fro...
2208.07400
\section{Introduction} \label{sec:intro} \input{sections/1_intro} \section{\procsearch{}} \label{sec:search} \input{sections/2_search} \section{Empirical Comparison} \label{sec:compare} \input{sections/3_compare} \section{Related Work} \label{sec:related} \input{sections/4_related} \section{Conclusion} \label{sec:c...
1707.09137
\section{Introduction} The indistinguishability induced photon bunching effect is the foundation of stimulated emission, multi-photon interference and general statistics \cit {QO,Sun07}. The stimulated emission process is the physical mechanism underlying lasers and superluminescence. With multi-photon interferenc...
1904.00219
\section{Prologue} \label{sec:pro} There is little argument that the study of factorization properties of rings and integral domains was a driving force in the early development of commutative algebra. Most of this work centered on determining when an algebraic structure has ``nice'' factorization properties (i.e., wh...
1202.1557
\section{Historical context} After the 1928 publication of Dirac's work on his relativistic theory of the electron \cite{dirac1}, Heisenberg immediately appreciated the significance of the new "hole theory" picture of the quantum vacuum of quantum electrodynamics (QED). Following some confusion, in 1931 Dirac assoc...
1202.0839
\section{Introduction} Over the last two decades, as many as 2,500 articles on space-based gravitational-wave (GW) detection included mentions of LISA (the Laser Interferometer Space Antenna) \cite{lisasciencecase,Jennrich:2009p1398,lisaads}, the space-based GW interferometer planned and developed together by NASA and...
1202.0991
\section{Introduction} There are several motivations to pay attention to singular holomorphic foliations defined on complex surfaces and admitting an invariant closed positive current. First the study of these foliations has a natural ergodic theoretic interest. Additional motivation comes from observing that t...
1202.1528
\section{Introduction} AdS/CFT and its generalizations play a major role in recent developments of theoretical physics. Examples which are related to realistic physical objects are, however, still rare. The ultimate goal of the Kerr/CFT correspondence is to describe the black holes of our universe in terms of a dual ...
1803.03627
\section{Introduction} Data depth measures play an important role when analyzing complex data sets, such as functional or high dimensional data. The main goal of depth measures is to provide a center-outer ordering of the data, generalizing the concept of median. Depth measures are also useful for describing differe...
1101.1654
\subsection*{Acknowledgment} #1} \def\floatpagefraction{.95} \def\topfraction{.95} \def\bottomfraction{.95} \def\textfraction{.05} \def\dblfloatpagefraction{.95} \def\dbltopfraction{.95} \newcommand{\EFigure}[2]{\begin{figure} \centering \framebox[85mm]{\epsfxsize=80mm\epsfbox{#1}} \caption{\...
1811.11088
\section{Introduction} Low rank models have been applied to numerous vision applications ranging from high level shape and deformation to pixel appearance models \cite{tomasi-kanade-ijcv-1992,bregler-etal-cvpr-2000,yan-pollefeys-pami-2008,garg-etal-cvpr-2013,basri-etal-ijcv-2007,garg-etal-ijcv-2013,wang-etal-2012,cany...
2302.00438
\section{Conclusions and Future Work} \label{sec:conclusion} We investigated the extent to which DL-based code recommenders tend to synthesize different code components when starting from different but semantically equivalent natural language descriptions. We selected \emph{GitHub Copilot}\xspace as the tool represent...
1906.07993
\section{Introduction} When humans are data sources for researchers, the research community has to respect them and protect them from harm. However, this has not always been, and still is not always, the case in research. A study published in early 2019 investigated questionable ethics in research on Chinese transpla...
1812.02592
\section{Introduction} \label{sec:intro} Supervised deep learning methods have exhibited promising results for the task of action recognition from 3D skeletal pose ~\cite{zhang2017view,liu2016spatio,hu2017temporal}. However performance of these methods highly relies on availability of large number of diverse data samp...
1311.4341
\section{The Taming of the Shrew}\label{section1} \sectionquote{wherein the problem to be solved is introduced that looks simple but defies solution for years.} In the theory of strong interactions, quantum chromodynamics, one can dream of finding the wave functional describing its ground state (vacuum) in the Sc...
1311.5009
\section*{References}
2101.08475
\section{Introduction} Eclipsing binaries (EB) with a white dwarf or hot subdwarf component belong to rather curious stellar systems. Their typical light curves with a deep and narrow primary minimum and strong reflection effect are clear sign allowing the simple identification of these unique objects. The difference ...
2109.12376
\section{Introduction} Hot Jupiters --- planets with masses exceeding 0.1~\ensuremath{M_\mathrm{J}}\xspace and orbital periods shorter than 10 days --- are rare. The probability that a Sun-like star has a hot Jupiter has been variously estimated as 0.4\% -- 1.2\% \citep{Mayor2011,Wright2012,Fressin2013,Petigura2018,Ma...
2109.12489
\section{Introduction} The package \pkg{hhsmm}, developed in the \proglang{R} language \citep{r10}, involves new tools for modeling multivariate and multi-sample time series by hidden hybrid Markov/semi-Markov models, introduced by \cite{g05}. A hidden hybrid Markov/semi-Markov Model (HHSMM) is a model with both Marko...
0906.2955
\section{Introduction} The Dark Energy Survey (DES) is on track for first light in 2011 and will carry out a deep optical and near-infrared survey of 5000 square degrees of the South Galactic Cap to $\sim$24th magnitude using a new 3 square-degree CCD camera (called DECam) to be mounted on the Blanco 4-meter telescope...
1806.04607
\section{Introduction} Many real world processes are studied by means of difference equations. Because of their wide range of applications in mechanics, economics, electronics, chemistry, ecology, biology, etc., the theory of discrete dynamical systems has been under intensive development and many researchers hav...
1806.04536
\section{Introduction} In the experimental searches for new physics of the fundamental interactions at the LHC, the resolution of several open issues - which remain unanswered within the Standard Model (SM) - typically call for larger gauge structures and a wider particle content. Such are the gauge-hierarchy problem ...
1505.05653
\section{Introduction} The standard approach to measuring the radio luminosity function (RLF) requires a sample with distance information to convert fluxes to luminosities. These distances typically come from a cross-match to existing optical redshift surveys. Millijansky radio sources have sky densities of a few 10...
2108.12341
\section{Introduction} \IEEEPARstart{E}{lectric} power systems are shifting towards the use of more green technologies. To effectively integrate the renewable energy resources, energy storage systems, and electric loads into the power systems, they are interfaced with the grid via power electronic converters and are gr...
1804.10305
\section{Introduction} The Heisenberg group $\mathbb{H}^n$ plays a fundamental role in quantum mechanics \cite{Folland} and signal processing \cite{Grochenig}. Recall that the matrix $ \mathcal{J} = \left[ {\begin{smallmatrix} 0 & -I_n \\ I_n & 0 \end{smallmatrix} } \right ] $ determines a \emph{sy...
1908.10158
\section{Introduction}\label{sec:introduction} Clinical trials often aim to compare the effects of two treatments. To ensure clinical relevance of these comparisons, trials are typically designed to form a comprehensive picture of the treatments by including multiple outcome variables. Collected data about efficac...
1306.0512
\section{Introduction} Eclipsing binaries have historically contributed a wealth to stellar astrophysics. They have been used to determine distances, compute fundamental stellar parameters, and test stellar evolution models. The \emph{Kepler} mission \citep{Borucki,Batalha} and its unprecedented precise photometry...
1809.01643
\section{Introduction}\label{sec:intro} In difference-in-differences identification is ensured by the fact that the subpopulation that will be exposed to the treatment (treatment group) and the subpopulation that will not be exposed to the treatment (control group) would have developed equally in the absence of treatme...
1602.08504
\section{Introduction} Type theories with dependent types originally were defined by Per Martin-L\"{o}f, who introduced several versions of the system \cite{MLTT72,MLTT73,MLTT79}. There were also several theories and extensions of Martin-L\"{o}f's theory proposed by different authors (\cite{CoC,luo94} to name a few). ...
2010.01248
\section{Introduction} Suppose that $\{X_{n}\}_{n\in\mathbb{N}}$ is a free, identically distributed sequence of bounded random variables with zero mean and unit variance. It is known from \cite{vo-sym} that the distributions $\mu_{n}$ of the central limit averages \[ \frac{X_{1}+\cdots+X_{n}}{\sqrt{n}} \] converge wea...
1110.6096
\section{Introduction} Kohn-Sham density functional theory~\cite{hist-kohnsham} (KS-DFT) has been widely used in electronic structure calculations. Efficient algorithms have been developed that allow KS-DFT methods to be applied for large molecules, including hundreds and even thousands of atoms~\cite{linsca-g}. Howev...
1110.6119
\section{Introduction} The ATLAS detector at the Large Hadron Collider (LHC) \cite{Aad:2008zzm} is a complex general purpose particle detector with approximately 100 million readout channels. In common with many modern physics experiments it combines a large number of distinct subcomponents: it features nine major det...
1305.2134
\section{Results and Discussion} Similar to Bi$_2$Se$_3$ and Bi$_2$Te$_3$, Bi$_2$Te$_2$Se forms a rhombohedral crystal structure with the space group $D_{3d}^{5}$ ($R\bar3m)$, with the basis quintuple layer (QL) unit of Te-Bi-Se-Bi-Te, as depicted in Fig.~1(a). Inside the QL the bonds are predominantly ionic-covalent...
1810.06731
\section{Introduction} In theoretical and experimental physics, are common practice to do linear approximations to solve non-linear problems. These approximations have given satisfactory results, given that until certain margin of error, theoretical analysis and linear numerical methods agree with observed experimental...
1810.06764
\section{Introduction} In the past decades researchers have focused on iterative strategies to synthesize control policy \cite{bristow2006survey, c33, c34, c35, c6, c4, liu2013nonlinear, LMPC, mania2018simple, schulman2015trust, wu2017scalable, mohajerin2018infinite}. The main idea is to execute the control ta...
1709.00158
\section{Conclusion and Discussion} Understanding human brain mechanism and adapting it to different disciplines has always been of interest in various disciplines, such as in deep learning~\cite{hinton2007learning,hinton2006fast}. Ballard defined deictic computation~\cite{ballard1997deictic} that benefits computationa...
1709.00068
\section{Introduction: Gravity As Torsion Instead of Curvature} \label{intro} Einstein's theory of general relativity recently celebrated its centenary in 2015, and has so far passed all experimental and observational solar system tests with flying colors. Nevertheless, there remain a few mysteries in astrophysics ...
2012.11255
\section{Introduction} The space of states lies at the heart of the kinematic information about a quantum system. Even in the finite dimensional case we are far from fully understanding its mathematical structures and their connections to the physics of the system. More so in infinite dimensions, i.e. in the case of q...
1901.04659
\section{Introduction} Owing to the chemical and structural versatility of their building blocks, colloidal materials can be designed to assemble into a variety of microstructures. One motif that may enable functionality is chains or strings of colloids (so-called "colloidomers"\cite{DropletFJC}). When percolated, the...
1901.04774
\section{Introduction} A group $G$ is said to have restricted centralizers if for each $g$ in $G$ the centralizer $C_G(g)$ either is finite or has finite index in $G$. This notion was introduced by Shalev in \cite{shalev} where he showed that a profinite group with restricted centralizers is finite-by-abelian-by-fi...
!! Copyright (C) Stichting Deltares, 2012-2016. !! !! This program is free software: you can redistribute it and/or modify !! it under the terms of the GNU General Public License version 3, !! as published by the Free Software Foundation. !! !! This program is distributed in the hope that it will be useful, !! b...
function res = checkfisx(fis) %CHECKFISX Checks the fuzzy inference system properties for legal values. % % See checkfis for syntax and explanation. % % It is completely based on MATLAB's checkfis % with some modifications, so it's compatible % with extendent fuzzy rule structure. % % Compare also code of ...
function spm_dem_search_trajectory(DEM) % plots visual search in extrinsic and intrinsic coordinates % FORMAT spm_dem_search_trajectory(DEM) % % DEM - {DEM} structures from visual search simulations % % hidden causes and states %========================================================================== % x - hidden ...
function colors = custom_colors(startrgb, endrgb, k) % Define cell array of custom colors in a specific range of the spectrum, % to be used in visualization. % % :Usage: % :: % colors = custom_colors(startrgb, endrgb, k [length]) % .. % Author and copyright information: % % Copyright (C) 2016 Tor Wager % % ...
[STATEMENT] lemma (in Corps) ring_n_distinct_prime_divisors:"distinct_pds K n P \<Longrightarrow> Ring (Sr K {x. x\<in>carrier K \<and> (\<forall>j\<le> n. 0 \<le> ((\<nu>\<^bsub> K (P j)\<^esub>) x))})" [PROOF STATE] proof (prove) goal (1 subgoal): 1. distinct_pds K n P \<Longrightarrow> Ring (Sr K {x \<in> ca...
[STATEMENT] lemma fv_Cons[simp]: "fv (x # xs) = fv x \<union> fv xs" [PROOF STATE] proof (prove) goal (1 subgoal): 1. fv (x # xs) = fv x \<union> fv xs [PROOF STEP] by (auto simp add: fv_def supp_Cons)
[STATEMENT] lemma undefg_equiv: "(\<alpha>\<noteq>undefg) = (\<exists>g. \<alpha>=Agame g)" [PROOF STATE] proof (prove) goal (1 subgoal): 1. (\<alpha> \<noteq> undefg) = (\<exists>g. \<alpha> = Agame g) [PROOF STEP] by simp
[STATEMENT] lemma invar_delete: "invar t \<Longrightarrow> invar (delete xs t)" [PROOF STATE] proof (prove) goal (1 subgoal): 1. invar t \<Longrightarrow> invar (Trie_Map.delete xs t) [PROOF STEP] apply(induction xs t rule: delete.induct) [PROOF STATE] proof (prove) goal (2 subgoals): 1. \<And>b m. invar (trie_map.Nd...
[STATEMENT] lemma "(a::int) * b + a * c = a * (b + c)" [PROOF STATE] proof (prove) goal (1 subgoal): 1. a * b + a * c = a * (b + c) [PROOF STEP] by ring
function ShotProfileLSEWEM(m::Array{AbstractString,1},m0::Array{AbstractString,1},d::Array{AbstractString,1},param=Dict()) # least squares shot profile wave equation migration of isotropic 3C data. cost = get(param,"cost","cost.txt") # cost output text file precon = get(param,"precon",false) # flag for precondi...
# Semi-Monocoque Theory ```python from pint import UnitRegistry import sympy import networkx as nx import numpy as np import matplotlib.pyplot as plt import sys %matplotlib inline from IPython.display import display ``` Import **Section** class, which contains all calculations ```python from Section import Section...
#!/usr/bin/env python # coding: utf-8 # In[3]: import urllib.request import xarray as xr import numpy as np from datetime import datetime, date, time, timedelta import urllib import requests import json import smtplib # In[4]: #not useing this right now but consider putting instance here def get_key(file_name):...
""" pyqtgraphPlotHelpers.py Routines to help use pyqtgraph and make cleaner plots as well as get plots read for publication. Intially copied from PlotHelpers.py for matplotlib. Modified to allow us to use a list of axes, and operate on all of those, or to use just one axis if that's all that is passed. Therefore, th...
import numpy as np from oolearning.splitters.StratifiedDataSplitter import StratifiedDataSplitter class ClassificationStratifiedDataSplitter(StratifiedDataSplitter): """ Splits the data into training/holdout sets while maintaining the categorical proportions of the target variable """ def labels_...
import warnings import numpy as np from thimbles.sqlaimports import * __all__ = """ from_spectre_chebyshev from_spectre_legendre """.split() # ########################################################################### # def from_spectre_chebyshev(pixels, coefficients): # THIS VERSION TAKEN FROM SPECTRE #c2...
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of thi...
from __future__ import annotations import logging from textwrap import dedent from typing import Union import warnings import numpy as np import param import xarray as xr from GSForge._singledispatchmethod import singledispatchmethod from ._AnnotatedGEM import AnnotatedGEM from ._GeneSetCollection import GeneSetColl...
# -*- coding: utf-8 -*- """FinalProject_ocr Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1XBGkT-BmxEB1u9TxmfzaZelc33AByeke """ !sudo apt install tesseract-ocr !pip install pytesseract import pytesseract import PIL import pandas import numpy as np i...
import os import cv2 import matplotlib.pyplot as plt import numpy as np from matplotlib import interactive import scipy def rgb_min_image(image): # extractes the min of the rgb values and outputs # a gray scale image rgb_image = np.amin(image, axis= 2) return rgb_image def min_filter(image): # p...
import cv2 import numpy as np roi = cv2.imread('rose_red.png') hsv = cv2.cvtColor(roi,cv2.COLOR_BGR2HSV) target = cv2.imread('rose.png') hsvt = cv2.cvtColor(target,cv2.COLOR_BGR2HSV) # calculating object histogram roihist = cv2.calcHist([hsv],[0, 1], None, [180, 256], [0, 180, 0, 256] ) # normalize hist...
# coding=utf-8 import time from pathlib import Path from typing import List, Dict, Union, Tuple import pandas as pd import numpy as np from matplotlib import rcParams rcParams["font.family"] = "monospace" from matplotlib import pyplot as plt import argparse import scipy.stats # plt.xkcd() # set std params here becau...
import matplotlib.pyplot as plt import seaborn as sns import numpy as np import pandas as pd from IPython.display import display_html, HTML def data_set(): pd.set_option('display.max_columns', None) df = pd.read_stata("data/oreopoulos_resume_study_replication_data_file.dta") #fill_values = {'chines...
#!/usr/bin/env python # -*- coding: utf-8 -*- """Method Manager for Electrical Resistivity Tomography (ERT)""" import os.path import numpy as np import matplotlib.pyplot as plt import pygimli as pg from pygimli.frameworks import MeshMethodManager from .ertModelling import ERTModelling, ERTModellingReference from .ert...
import numpy as np import matplotlib.pyplot as plt # returns date as String YYYYMMDDHHMM and rainfall as float32 def get_data(line, dateIndex=1, rainfallIndex=3): a = line.split(";") return (a[dateIndex], np.float32(a[rainfallIndex])) # change representation of String from .txt file def convert_date_pretty(...
import numpy as np import pandas as pd import matplotlib.pyplot as plt import sklearn from sklearn.preprocessing import Imputer from keras.models import Sequential from keras.layers import Dense import numpy from keras.models import Sequential from keras.layers import Dense #loading the model df=pd.read_csv('matern...
import pandas as pd import numpy as np from sklearn.utils import shuffle df = pd.read_csv("../allchest.csv") df_list = list(map(lambda x: df[df['ID'] == x], [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17])) df_list = list(map(lambda x: x[x['label'] <= 4], df_list)) del df train = [] test = [] for df in df_list:...
import time import numpy as np from fmodeling.rock_physics.Mediums.DEM import DEM from fmodeling.rock_physics.Mediums.DEMSlb import DEM as DEMSlb def main(): # Matrix properties Km = 77.0 # GPa Gm = 32.0 # GPa rhom = 2.71 # g/cm3 # Fluid properties Kf = 3.0 # GPa rhof = 1.0 # g/cm3 ...
import threading import numpy as np import tensorflow as tf import pylab import time import gym import os from keras.layers import Dense, Input, Lambda from keras.models import Model from keras.optimizers import Adam from keras import backend as K # global variables for threading episode = 0 scores = [] EPISODES = 50...
import pandas as pd from pprint import pprint from glob import glob import numpy as np import re import csv import sys followUp = {} ack = {} nonIntimate = {} intimate = {} featureList = {} questionType_DND = {} questionType_PN = {} discriminativeVectors = [] nonDiscriminativeVectors = [] def readHelperData(): g...
import argparse import os import rosbag import tf import numpy as np if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument("bag_file", help="input bag file") args = parser.parse_args() output_file = os.path.splitext(os.path.basename(args.bag_file))[0] + ".csv" bag = r...
import numpy as np import pandas as pd from random import random from sec_etl import * from reports.cash_flow.etl import wrapper_get_cashflow_df_and_col from reports.cash_flow.investing_activity import wrapper_get_ia_values_and_label from reports.cash_flow.operating_activity import wrapper_get_oa_values_and_label from ...
""" Put script documenation here. """ import logging log = logging.getLogger(__name__) log.addHandler(logging.NullHandler()) from pymeasure.instruments.rohdeschwarz import RohdeSMB100A, RohdeFSQ from pymeasure.instruments.agilent import Agilent4156, AgilentU2040X from pymeasure.log import console_log, file_...
def avi_to_fits(data_list_entry): import os from astropy.io import fits import numpy as np import cv2 from PIL import Image l = 1 if data_list_entry.data_mode == "single": n = 1 if data_list_entry.data_filedata.endswith(".avi"): filepath = os.path.dirname(os.path.realpath(data_list_entry.data_fileda...
#Matplotlib Plotting #Autor: Javier Arturo Hernández Sosa #Fecha: 30/Sep/2017 #Descripcion: Ejecicios Matplotlib Plotting - Alexandre Devert - (17) #Gráfico de Barras Apilado import numpy as np import matplotlib.pyplot as plt data = np.array([[5., 30., 45., 22.], [5., 25., 50., 20.], ...