sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
25cc0097963769bf45862153f95fa2046cb7e85931db72eb4b5129fc29f78f79
Text
14,227
144
# Quanty-cFOS.ijm: An ImageJ/Fiji tool to count Fos/*c-fos* Positive Neurons <p align="center"> <img width="924" height="412" src="static/cover.jpg"> <img.resize { max-width:auto; max-height:100%; } </p The *Quanty-cFOS.ijm* is an ImageJ/Fiji tool developed to count spec...
4c02c8bf636055c1832a1e86c5582b77ad5045a2372569f1050ce10b011bf5d7
Text
14,501
234
# RESILIENT RulE baSed atrIaL fIber gENeraTor. ## Overview RESILIENT is a rule-based atrial fiber generator for generating bi-atrial fibers and interatrial bridges. The algorithm was developed at IBT and published in Wachter et al. 2015 [[1](#1)]. The algorithm works with triangle, terahedron and voxel meshes. The fib...
2c321fe793bfa9ca4a5a03e3a92dfee724378d35e7f838825376e8d08f2248c0
Text
14,505
234
# RESILIENT RulE baSed atrIaL fIber gENeraTor. ## Overview RESILIENT is a rule-based artial fiber generator for generating bi-atrial fibers and interatrial bridges. The algortihm was developed at IBT and published in Wachter et al. 2015 [[1](#1)]. The algrothim works with triangle, terahedron and voxel meshes. The fib...
85f55bcc632a155c71a66ef3a13296dd4027c2be8dcedede88ec9aa53f4a2e79
Text
14,526
170
# GMLM_dmc Generalized multilinear model for dimensionality reduction of neural population spike trains. While this code is intended for modeling responses during decision-making tasks, it could be used more broadly for tensor regression. Currently, the code primarily supports the Poisson likelihood to model spike coun...
9c6cc2ceadb4120c23834306de649ea3c48947d6e128664cf3b8a8a9c58efad3
Text
14,951
270
# A *Faster* Pytorch Implementation of Faster R-CNN ## Write at the beginning [05/29/2020] This repo was initaited about two years ago, developed as the first open-sourced object detection code which supports multi-gpu training. It has been integrating tremendous efforts from many people. However, we have seen many h...
d013af71bc5ecd21944390d0c938aaa4739e8c9830b9847f64cceb72d117087e
Text
15,920
339
# Assem-VC &mdash; Official PyTorch Implementation ![](./docs/images/overall.png) #### **Assem-VC: Realistic Voice Conversion by Assembling Modern Speech Synthesis Techniques** Kang-wook Kim, Seung-won Park, Junhyeok Lee, Myun-chul Joe @ [MINDsLab Inc.](https://maum.ai/), SNU **Accepted to IEEE International Confer...
32b765dba7ccf39d0995d55151a82f089af9450c33f036c6d1fa727659c033c5
Text
16,210
210
## Note: As of v13.10, ERPLAB has been updated to be compatible with MATLAB 2025a+. However, there may still be remaining bugs; please report them to us if you encounter issues! ERPLAB Toolbox is a free, open-source Matlab package for analyzing ERP data. It is tightly integrated with [EEGLAB Toolbox](http://sccn.uc...
c1aca9039e600f010120854cbc485bbddd77558bd4e2a7bae058dc6d149249bf
Text
16,212
370
![MaSIF banner and concept](https://raw.githubusercontent.com/LPDI-EPFL/masif/master/img/Concept-01.png) ## MaSIF- Molecular Surface Interaction Fingerprints: Geometric deep learning to decipher patterns in protein molecular surfaces. [![bioRxiv shield](https://img.shields.io/badge/bioRxiv-1709.01233-green.svg?style...
424636af8624b89c5151f2956d5e65c14b6579cacb775aaecf05fba16317649d
Text
16,464
243
<p align="center"> <img src="docs/images/banner.jpg" width=1200> </p> [![DOI](https://zenodo.org/badge/DOI/10.1093/bib.bbac491.svg)](https://doi.org/10.1093/bib/bbac491) [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.7105941.svg)](https://doi.org/10.5281/zenodo.7105941) # Ultraliser _Ultraliser_ is...
c6c9d6514b5959c8839d994ad9338129497d1826c5838f866119767e5d8b2601
Text
16,774
633
<div class="cell markdown"> # SMILES enumeration, vectorization and batch generation [![Smiles Enumeration Header](README_files/README_files/f467ed21a7e815cdf8a9c29fa75b3ebc12878a74.png)](https://www.cheminformania.com/useful-information/smiles-enumeration-as-data-augmentation-for-molecular-neural-networks/) </div> ...
8a5a205f48b139af04fb0b930f6926eb3f9d8c95c4a806d8015b74f15ed0350c
Text
16,889
333
# Poreplex Signal-level preprocessor for Oxford Nanopore direct RNA sequencing (DRS) data. Poreplex does many preprocessing steps required before the downstream analyses for RNA Biology and yields the processed data in the ready-to-use forms. [![PyPI status](https://img.shields.io/pypi/v/poreplex.svg)](https://pypi.p...
3198f155f2a7b5df0a61c2fbd0f626b6113350ea8753c0442fdffaf31e88603f
Text
16,893
469
# Ascending neuron screen analysis pipeline [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Version](https://badge.fury.io/gh/tterb%2FHyde.svg)](https://badge.fury.io/gh/tterb%2FHyde) This repository is used to generate the figures published in th...
cdec6014cf8c44bbbb326ec08f31deb8529c374730541bad428f817ca5f87a6e
Text
17,245
539
# CROPro CROPro prepares prostate MRI data for AI workflows. It supports full-dataset download, resampling, normalization, and cropping for: - T2W-only workflows - bpMRI workflows (T2W + ADC + HBV) - Negative, positive, and unknown patient groups If you use CROPro, please cite the paper in the Citation section. ##...
e780cc7b8c6066ed713490edf3f80c5bf2675d1a695716f42bfcfed3c3436875
Text
17,611
216
<!-- [![Build Status](https://img.shields.io/travis/johnbarton/ACE.svg?style=flat-square)](https://travis-ci.org/johnbarton/ACE) --> [![DOI](https://img.shields.io/badge/DOI-10.1093%2Fbioinformatics%2Fbtw328-blue.svg?style=flat-square)](https://doi.org/10.1093/bioinformatics/btw328) # ACE # Table of contents 1. [Int...
2dda6120b8fde9efc40f342db96087c1827b8657f98bb16b668ebe3c34f66c8f
Text
17,846
218
<p align="center"> <img width="320" height="320" src="figures/U2Net_Logo.png"> <h1 align="center">U<sup>2</sup>-Net: U Square Net</h1> </p> This is the official repo for our paper **U<sup>2</sup>-Net(U square net)** published in Pattern Recognition 2020: ## [U<sup>2</sup>-Net: Going Deeper with Nested U-S...
384be8856a3d9e33a034cb8602e98b6d55aa1a588413f50c2301fa467f15b2ab
Text
19,973
389
# Inf-Net: Automatic COVID-19 Lung Infection Segmentation from CT Images > **Authors:** > [Deng-Ping Fan](https://dengpingfan.github.io/), > [Tao Zhou](https://taozh2017.github.io/), > [Ge-Peng Ji](https://scholar.google.com/citations?user=oaxKYKUAAAAJ&hl=en), > [Yi Zhou](https://scholar.google.com/citations?hl=zh...
bd11eb4fc3cfdaa0007749fd9110b7874c99c54559c6fc1647c7e844b1fcde83
Text
20,601
372
# INFANT — AI Competition Platform A **social network** and **machine-learning competition platform** for clinicians and researchers in paediatrics and neonatology, built at the [INFANT Research Centre](https://www.infantcentre.ie/), University College Cork, as part of its Open Science work. The platform was used to ...
9276515fa3340655f5c637b670c2b5e426b8351cd8bf99f783ed3728ed8801d8
Text
20,783
436
# crg2 Clinical research pipeline for exploring variants in whole genome (WGS) and exome (WES) sequencing data <div align="center"> <img src="/crg2logolarge.png" width="800px"</img> </div> crg2 is a research pipeline aimed at discovering clinically relevant variants in whole genome and exome sequencing data. It ...
f28f665bc007b0618e5f7dd1c099500d78e9238550d55d7a7beba5d3b7bdf70f
Text
20,914
371
# U-Time & U-Sleep Official implementation of * The *U-Time* [[1]](#utime_ref) model for general-purpose time-series segmentation. * The *U-Sleep* [[2]](#usleep_ref) model for resilient high-frequency sleep staging. This repository may be used to train both the original U-Time and newer U-Sleep models. However, the ...
ebf418e3b91042d94f2978544505c049155622292c3aad0ece49c32fa7b6fbe8
Text
21,047
462
# CMSeq # CMSeq is a set of commands to provide an interface to .bam files for coverage and sequence consensus. **Requires:** * samtools (> 1.x) * numpy * pysam * pandas * Biopython with bcbio-gff module _(warning: Biopython <= 1.76 is required for `polymut.py`)_ ## Installation [![PyPi version](https://pypip.in/...
9ba3554199edce2c858c9b7d0cf167edf8957c7a1b7323aa812cefbf3683796e
Text
21,113
379
# INFANT — AI Competition Platform A **social network** and **machine-learning competition platform** for clinicians and researchers in paediatrics and neonatology, built at the [INFANT Research Centre](https://www.infantcentre.ie/), University College Cork, as part of its Open Science work. The platform was used to ...
24f3d22901369ba92ee9e1eb9639d5fbe2417123fe40cf0a503b862e82b100df
Text
21,870
337
# DeepInsight3D DeepInsight3D package to deal with multi-omics or multi-layered data DeepInsight3D has 3 main components. 1) conversion of multi-layered non-image samples (such as multi-omics or similar tabular data) into colored image-forms (i.e. 3D image samples). 2) processing colored images to convolutional neural...
451d9163fb363434ccb9dcf28f1d50aaa6ca0457dcf984387da563f1454bcad7
Text
22,618
527
# scHumanNet **Construction and analysis of cell-type-specific functional gene network with SCINET and HumanNetv3** [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE.txt) [![Python](https://img.shields.io/badge/Python-3.8+-blue.svg)](https://python.org) [![R](https://img.shields.io/badge/R-4.0+...
8d028b9132d2429d4eb4d9152eacab2c81adfde8f5e8937e2c414befad5666fe
Text
23,062
150
<!--(https://raw.githubusercontent.com/physiopy/phys2bids/master/docs/_static/phys2bids_card.jpg)--> <a name="readme"></a> <img alt="Phys2BIDS" src="https://github.com/physiopy/phys2bids/blob/master/docs/_static/phys2bids_logo1280×640.png" height="150"> phys2bids ========= [![Latest version](https://img.shields.io/gi...
c5a9854c256347af1fba527fc98c87730eda60600073e801fd9e12d7ea627c04
Text
25,232
482
# 🤗 + 📚 dbmdz BERT models In this repository the MDZ Digital Library team (dbmdz) at the Bavarian State Library open sources another BERT models 🎉 # Changelog * 13.12.2021: Public release of Historic Language Model for Dutch. * 06.12.2021: Public release of smaller multilingual Historic Language Models. * 18.11.2...
172b93be15c6828819b2c3c9b7107c6acb9abc9266650f317796d047eaaaaa16
Text
26,059
231
# OWL 2 EL <-> Neo4J Mapping "Direct existentials" This is a preliminary draft of our Neo4J to OWL 2 mapping. The goal is to be able to import a well defined subset of OWL 2 EL ontologies into and export them from Neo4J in such a way that entailments and annotations are preserved (not however the syntactic structure) ...
48a5eafa15af0c2d9bcfc29086e93fc91043a956c87bc105427b6a4fb8b10ec3
Text
27,162
326
![Network courtesy Ann Sizemore Blevins](img/repo_pic.png) # Table of Contents * [Diversity Statement and Code Notebook](https://github.com/dalejn/cleanBib#diversity-statement-and-code-notebook) - [Diversity statement template](https://github.com/dalejn/cleanBib#diversity-statement-template) + [Template](http...
304956772dd16983bc9b25689f49e1076048e434370488502d9f776ba3d7253a
Text
32,257
715
<div id="badges"><!-- pkgdown markup --> <a href="https://CRAN.R-project.org/web/checks/check_results_future.html"><img border="0" src="https://www.r-pkg.org/badges/version/future" alt="CRAN check status"/></a> <a href="https://github.com/futureverse/future/actions?query=workflow%3AR-CMD-check"><img border="0" src="h...
7c7f4cd76565d620f9337caa3a2ce054912cd860bcfde22c64bdbffe790c5a23
Text
38,858
788
This pipeline has been deprecated as of June 2018. Please update your pipelines to the official WDL-based ENCODE DCC pipeline at [https://github.com/ENCODE-DCC/chip-seq-pipeline2](https://github.com/ENCODE-DCC/chip-seq-pipeline2) (June 2018) =================================================== *June 2018:* Note that th...
d57de6413a66a46015899fc22fd508ddb7275deb7bbf7f68881c50db51e8908f
Text
50,381
1,515
# Chick 10x Neural Development <p align="center"> <img src="./suppl_files/TissueCollection.png" width="100%"> </p> This repository provides the code to run the 10x single cell RNA-eq analysis in [Trevers et al. 2023](https://doi.org/10.7554/eLife.73189). - [Data availability](#data-availability) - [Reproducing ou...
e99249fcbf15d879e1cefa012a14a39bb02e4cb46669fc31b7893d831ac3303a
TypeScript
34
1
declare module 'isomorphic-fetch';
8c16b5b40ed745fcede2542dd1da4bad4537abe9003f8c6ba9023a60386dad02
TypeScript
60
2
export * from './types'; export * from './responseBuilder';
5d60a31d8fc4a84f90815a681ba9f081c889f8567c6cfd459fd4b2da4c22472f
TypeScript
69
2
export { Components } from './components'; import '@stencil/router';
abafc48a8fcfc0d5b2839832cb2280b4dc3871994e9886f8d8ca7c397ec874b7
TypeScript
91
6
export default { background: "#DADAD9", primary: "#FFFFFF", secondary: "#A9A9A9" };
3667990426d8a3dc2a373515be2a890fbd319aed0bccce803090a8062dafeb30
TypeScript
154
3
export const getRootCSSPropertyValue = (propertyName: string) => { return getComputedStyle(document.documentElement).getPropertyValue(propertyName); };
de077206c6a55221bb7afc34350b9ecd1a0240e44b80ebf29ad2c0ca262923dc
TypeScript
161
6
import '@d4l/web-components-library'; import initializeErrorTracking from './utils/errorTracking'; export default async () => { initializeErrorTracking(); };
516b32f7ebdd8b075b18e098622bfff12f4d69f59ecf808197ba7f39eb07819d
TypeScript
266
10
import { newE2EPage } from '@stencil/core/testing'; describe('app-root', () => { it('renders', async () => { const page = await newE2EPage({ url: '/' }); const element = await page.find('app-root'); expect(element).toHaveClass('hydrated'); }); });
5cb8472ebfd6a56b1751ec57261c6bca6299c916d60bcadb0df4c8c0e04f7b1e
TypeScript
277
12
import * as Sentry from '@sentry/browser'; import { SENTRY_DSN, ERROR_TRACKING_ENABLED } from '../custom'; const initializeErrorTracking = () => { if (ERROR_TRACKING_ENABLED) { Sentry.init({ dsn: SENTRY_DSN, }); } }; export default initializeErrorTracking;
70f1ea685e5c656dbafd98ac321a312ca0e1a69c5faf135ebf40be1ad437ed88
TypeScript
292
9
/** * IMPORTANT: THIS FILE IS AUTO GENERATED! * Changes wont take effect in any release. * This are just dummy values for use in development. */ export const VERSION = '2.0.0'; export const HASH_SHORT = '8test00'; export const HASH_LONG = '8testhash078bc17f56c31a95421e718eefaf6409';
7e37b2644f8654885171449a338f383615806d081a003bdfc2e0ef63833e3cbd
TypeScript
302
12
import {Home} from "./Home"; import {Colocalisation} from "./Colocalisation"; import {Distance} from "./Distance"; import {Density} from "./Density"; import {Alignment} from "./Alignment"; import {Segment} from "./Segment"; export default { "/home": Home, "/colocalisation": Colocalisation, };
b8d1a01db75577bd6d829e73aad60d4597b55e39388aacf1c6699dea76cdd0dc
TypeScript
306
11
import { newE2EPage } from '@stencil/core/testing'; describe('ia-start', () => { it('renders', async () => { const page = await newE2EPage(); await page.setContent('<ia-start></ia-start>'); const element = await page.find('ia-start'); expect(element).toHaveClass('hydrated'); }); });
d7926c4a21467aaf5f1bb5e392e6354cbc8c0ff3687d4eea9ae90ca5367f44ee
TypeScript
315
11
import { newE2EPage } from '@stencil/core/testing'; describe('input-number', () => { it('renders', async () => { const page = await newE2EPage(); await page.setContent('<ia-input-number />'); const element = await page.find('ia-input-number'); expect(element).toHaveClass('hydrated'); }); });
fca1aa35df8c56b472a8c537d75c87bc5a929ff2796f809cd6c374c7c81c41cb
TypeScript
326
11
import { newE2EPage } from '@stencil/core/testing'; describe('input-boolean', () => { it('renders', async () => { const page = await newE2EPage(); await page.setContent('<input-boolean></input-boolean>'); const element = await page.find('input-boolean'); expect(element).toHaveClass('hydrated'); })...
9610beeff08f8c4648c9a7c6a14558b38c3ce4ec22714b852441548f7eac0ea8
TypeScript
327
11
import { newE2EPage } from '@stencil/core/testing'; describe('input-radio', () => { it('renders', async () => { const page = await newE2EPage(); await page.setContent('<ia-input-radio></ia-input-radio>'); const element = await page.find('ia-input-radio'); expect(element).toHaveClass('hydrated'); }...
85a7b2c11198af4cbdd847d30c3b5443d7e5e921d4ad80e377c1cffe30e74f88
TypeScript
351
11
import { newE2EPage } from '@stencil/core/testing'; describe('input-postal-code', () => { it('renders', async () => { const page = await newE2EPage(); await page.setContent('<ia-input-postal-code></ia-input-postal-code>'); const element = await page.find('ia-input-postal-code'); expect(element).toHa...
d518eb0aacde8792c4da001a82c01e2782a49ab9157fb65a4f2f8f888f74992c
TypeScript
351
11
import { newE2EPage } from '@stencil/core/testing'; xdescribe('ai-image-recognizer', () => { it('renders', async () => { const page = await newE2EPage(); await page.setContent('<ai-image-recognizer></ai-image-recognizer>'); const element = await page.find('ai-image-recognizer'); expect(element).toHa...
018e3585c6daffefd0817a823d88869f3c6d2131de779e3d61c44fef2010a4b6
TypeScript
355
12
import { newE2EPage } from '@stencil/core/testing'; describe('ia-navigation-header', () => { it('renders', async () => { const page = await newE2EPage(); await page.setContent('<ia-navigation-header></ia-navigation-header>'); const element = await page.find('ia-navigation-header'); expect(element)....
f56fc25fdc3a4f50f68a01fb8f3e09838f1cd24a8468ecce2bf714f940a1774d
TypeScript
367
11
import { newE2EPage } from '@stencil/core/testing'; describe('input-multiple-choice', () => { it('renders', async () => { const page = await newE2EPage(); await page.setContent('<ia-input-multiple-choice></ia-input-multiple-choice>'); const element = await page.find('ia-input-multiple-choice'); expe...
57c50789a4a9daab8242ab7c17e19040002443b5be6efd0c49209bd433e5c379
TypeScript
410
13
import { newSpecPage } from '@stencil/core/testing'; import { ConnectTranslations } from '../connect-translations/connect-translations'; import { AppRoot } from './app-root'; describe('app-root', () => { it('builds', async () => { const page = await newSpecPage({ components: [AppRoot, ConnectTranslations],...
ccc281fa063178e3391ef29e338a28b78d81a8b22c543904675f0d5e7346e2e8
TypeScript
439
20
import {ARRenderer} from "../ARRenderer.ts"; /** * Interface to indicate that the object is an AR object. */ export interface ARObject { /** * Set true for AR objects. */ isARObject: boolean; /** * Called before the scene is rendered in AR. * * @param renderer - AR renderer ins...
06fd39efb46bb0ea05585cb81375e4636b4630575189fffca8e9da537169a05c
TypeScript
466
17
const NAVIGATOR_PLATFORMS = { ios: 'iPad|iPhone|iPod', }; /** * Helper function to detect current device platform using User Agent sniffing * @param {String} platform selected platform as part of the navigator platforms config */ const isDevice = (platform: string) => { const regExTestCase = new RegExp(NAVIGATO...
c1981e512bc6b5d7e2278ac5188852bdcd9fcc6c5dd6ddcd7cb3bc0eabc9b0f8
TypeScript
516
15
export const getToday = (): number => { const year = new Date().getFullYear(); const month = new Date().getMonth() + 1; const day = new Date().getDate(); let dateString = `${year}-${zeroPadded(month)}-${zeroPadded(day)}`; let zeroedDate = new Date(dateString); return zeroedDate.getTime(); }; export const g...
34be1e62edbc3f7992041ceb24dc5bd2bcee0e304e3b7b2a0bc37fc08f09e410
TypeScript
525
26
/** * Utils to handler images. */ export class ImageUtils { /** * Load an image from URL into a DOM img and get data as bitmap. * * @param src - Src of the image, can also be base64 data. */ public static loadBitmap(src: string): Promise<ImageBitmap> { return new Promise(function(resolve,...
dcb7e5b5f26488cf22bec5138c2ce1bb84380449d8ffdbe0cf92b45f3fbf51f8
TypeScript
573
15
import { WHITELISTED_DATA4LIFE_ORIGINS } from '../custom'; import { MOBILE_ORIGINS } from '../constants'; import { IS_CHARITE } from '../layouts'; export const isIframeContext = () => window.parent && window.parent !== window; export const isOauthContext = (origin: string) => origin && (WHITELISTED_DATA4LIFE_ORIG...
48b4045afee6c4580e4d12445297845df568fbe717040772d4db43a135f7d4c3
TypeScript
597
31
declare module "*.glsl" { const value: string; export default value; } declare module "*.vs" { const value: string; export default value; } declare module "*.fs" { const value: string; export default value; } export type XRLightProbe = any; export type XRDepthInformation = any; export type XRCPUDepthInforma...
832e4f467c514457c95b36675f31e274e41cff93b99227140cded38cd4d04486
TypeScript
622
22
export const configReducer = (state: any, action: {type: string, value: any}) => { console.log(state); if (action.value == "RESET"){ return {}; } else{ return {...state, [action.type]: action.value}; } }; export const channelsReducer = (state: any, action: {channel: string, coloc...
51540294f78b63528faf4b6834e00729aadf52ce03e950c272a6e250343afe37
TypeScript
650
28
import { LOCAL_STORAGE_KEYS, QUESTIONNAIRE_VERSION } from '../constants'; import settings, { COMPLETED } from './settings'; //TODO: Use JSON Questionnaire Version const match = (): boolean => { const setVersion = sessionStorage.getItem(LOCAL_STORAGE_KEYS.VERSION); return setVersion === QUESTIONNAIRE_VERSION; }; c...
9e9951c21d38b040786b79142468e58bd5feeeb86078f4a6c7e48c7aeed78757
TypeScript
651
12
import { LAYOUT } from './custom'; // unfortunately we have to type cast here // because TS doesn't know that `LAYOUT` is configurable via env vars export const IS_CHARITE = (LAYOUT as String) === 'CHARITE'; export const IS_D4L = (LAYOUT as String) === 'D4L'; export const IS_COLLABORATION = (LAYOUT as String).indexO...
b4dc5d19d111d9ae310a8a9b22cff687cf77b3e571e347d7736d9d81a5debb2d
TypeScript
711
27
import {Camera, Vector2, Vector3} from "three"; /** * Class contain math utils to simplify common math operations. */ export class MathUtils { /** * Project a point in the world to the screen correct screen position. * * @param point - Point to project from world coordinates to screen coordinates. * @param...
800dec9a570b1e02cc47bbc5b241b6b766791dab9870fbcd22d3a6da3f66a525
TypeScript
764
26
import {Mesh, BufferGeometry, MeshBasicMaterial, Quaternion, WebGLRenderer, Scene, Camera, Group, Material} from "three"; /** * Billboard group is a group of objetcts that is automatically rotated to always face the camera. * * @extends {Mesh} */ export class BillboardGroup extends Mesh { public constructor() {...
17118f5d3bbce102cf28b1a3e1f914c27cff61f067058408f43e60c4cf460853
TypeScript
780
34
import { Question } from '@covopen/covquestions-js'; import i18n from '../../../global/utils/i18n'; export const QUESTION_SHARE_DATA = (): Question => { return { options: [ { scores: {}, text: i18n.t(`q_X1_option0`), value: 'yes', }, { scores: {}, value: ...
10c5153cf3af684f11d6756f293155f4313ff2c40d12fe930ee0e5fa08f03ce7
TypeScript
866
25
import { LANGUAGES, LANGUAGE_RESOURCES } from './custom'; import TRANSLATION_DE from './i18n/de.json'; import TRANSLATION_EN from './i18n/en.json'; describe('translations', () => { it('includes at least the default languages', () => { const GERMAN = LANGUAGES.find(lang => lang.code === 'de'); const ENGLISH =...
03f488e21e6bcbe2b342b29bc1f7ffe256886de7c09d83d71ee98e279b316a35
TypeScript
933
36
export const postConfig = (endpoint: string, configState: any) => { return fetch(`http://127.0.0.1:5000/${endpoint}/`, { method: 'POST', body: JSON.stringify(configState), headers: { 'Content-Type': 'application/json' }, }); } export const getLog = async (jobId: string, parameter: ...
62352c1b32b5a82d48651d1c70e26ec3e127b9f98f473e9d8bfa82f6515ecb6b
TypeScript
963
54
import { QUESTION } from '../questions'; export const DATE_ANSWERS = [QUESTION.CONTACT_DATE, QUESTION.SYMPTOM_DATE]; export const AGE_VALUESET = { '0': 'below-40', '1': '40-50', '2': '51-60', '3': '61-70', '4': '71-80', '5': 'above-80', }; export const FEVER_VALUESET = { '0': 'below-38C', '1': '38C',...
557cfe2ce64ccb961e89bb99a12980ca51d4d35131ab3a311ca11d279f511ca9
TypeScript
969
43
export const QUESTIONNAIRE_VERSION = '400'; export const KEY_CODES = { BACKSPACE: 8, RIGHT: 39, LEFT: 37, }; export const TWO_WEEKS = 1000 * 60 * 60 * 24 * 14; export const ONE_DAY = 1000 * 60 * 60 * 24; export const ROUTES = { QUESTIONNAIRE: '/questionnaire', SUMMARY: '/summary', LEGAL: '/legal', IMPR...
fd67885e20d5f97301c70f0f170ac6cfa7a814af1f3ed57d9c97ae5bce1bd886
TypeScript
979
32
import { Config } from '@stencil/core'; import dotenv from 'dotenv'; import nodePolyfills from 'rollup-plugin-node-polyfills'; import visualizer from 'rollup-plugin-visualizer'; dotenv.config(); // https://stenciljs.com/docs/config export const config: Config = { // the defined custom stylesheet loads /src/global/...
e114759f5e4ed938628b088170760a5c2f51c60cbc258abbb2b1f679b4341b6c
TypeScript
1,014
36
import { newSpecPage, SpecPage } from '@stencil/core/testing'; import { ConnectTranslations } from './connect-translations'; import i18next from '../../global/utils/i18n'; describe('connect translations', () => { let page: SpecPage = null; beforeEach(async () => { jest.clearAllMocks(); page = await newSpe...
050c201f84b4375cd8005bc9671bd79af7495298ab889ce78ddef0c6f8b583c4
TypeScript
1,114
37
import {DataTexture, LuminanceAlphaFormat, LinearFilter, ClampToEdgeWrapping, UnsignedByteType} from "three"; import {XRCPUDepthInformation} from "types.js"; /** * Stores the raw depth values in a 16 bit value packed texture. * * The distance to the camera is stored in millimeters. * * This depth has to be unpack...
9caeecaf950da87cab58cf22b652aa46b75bafab1457e3f9d25cb27c5665c268
TypeScript
1,130
27
export {AugmentedMaterial} from "./material/AugmentedMaterial"; export {Angle} from "./object/Angle"; export {BillboardGroup} from "./object/BillboardGroup"; export {Cursor} from "./object/Cursor"; export {Measurement} from "./object/Measurement"; export {PhysicsObject} from "./object/PhysicsObject"; export {LightProb...
332c23e41faeaf4c2447d321bfa20f9f1b9773c4fe578f9235d6ffb3a61ff953
TypeScript
1,199
50
import {WebGLRenderer} from "three"; /** * XR manager is used to manage wich XR session is currently running and prevent multiple sessions from running concorrently. */ export class XRManager { /** * XR session running. */ public static session: XRSession = null; /** * Start webxr session for immersive-ar ...
e4cd95735d391303f5a217930393dcd963436e6fd7dfa1fc3b6e86cfb6670f9a
TypeScript
1,226
44
import { newSpecPage, SpecPage } from '@stencil/core/testing'; import { NavigationHeader } from './navigation-header'; describe('verify card header', () => { let page: SpecPage = null; beforeEach(async () => { jest.clearAllMocks(); page = await newSpecPage({ components: [NavigationHeader], htm...
398d9abda33f75c6f87fa17d6a740f5f05151bbf73d4bf1b3adb9f259f5e5b49
TypeScript
1,338
55
import {Body} from "cannon-es"; export class VoxelBody extends Body { /** * Indicates if the body is enabled of disabled. */ public active = false; /** * Voxel enviroment manager to wich this voxel body belongs. */ public manager = null; /** * Current probability of this voxel belonging to the envirom...
1aeaf06eacabe284f8e7cc60288a53cdf268d079b0bfb3f9c0cdaaab92bd3573
TypeScript
1,369
56
import {Group} from "three"; import {ARRenderer} from "../ARRenderer.ts"; import {ARObject} from "./ARObject.ts"; /** * Archor groups can be used to attach (anchor) object to the real-world environment. * * Uses the "anchor" feature when available to track environment features an ensure accurate positioning. * ...
c5916f0919b2e34bb42ff163a301958664ca3b87769783731cb9c54bf5852c3e
TypeScript
1,552
54
import i18n from 'i18next'; import LanguageDetector from 'i18next-browser-languagedetector'; import { LANGUAGES as SUPPORTED_LANGUAGES, LANGUAGE_RESOURCES } from '../custom'; import * as Sentry from '@sentry/browser'; import { Language } from '@d4l/web-components-library/dist/types/components/LanguageSwitcher/language...
f75baf56daf02750182b1bc5343408a887a402a083d6935df9a5c1183dff983a
TypeScript
1,559
64
import {Group, Matrix4} from "three"; import {ARRenderer} from "ARRenderer.ts"; import {ARObject} from "./ARObject.ts"; /** * Group of objects attached to image tracking. * * Must have config.imageTracking enabled */ export class ImageTracking extends Group implements ARObject { /** * Index of the tracke...
cfd81f74e7fa4cbbed4255ad4fcb64c97974d263e5d119a0d0da79c42dd4d32c
TypeScript
1,742
64
import {Mesh, MeshBasicMaterial, RingGeometry, CircleGeometry, BufferGeometry, Material, Matrix4} from "three"; import {mergeBufferGeometries} from "three/examples/jsm/utils/BufferGeometryUtils.js"; import {ARRenderer} from "../ARRenderer.ts"; import {ARObject} from "./ARObject.ts"; /** * Cursor is used to interfact ...
90d0b5a3786ee23eb17a40b22003244ea24e47d8b3c8578a7f31c29e78ec3006
TypeScript
1,847
71
import {Group, Matrix4, Mesh, PlaneGeometry, ShadowMaterial, Material, Vector3} from "three"; import {ARRenderer} from "../ARRenderer.ts"; import {AugmentedMaterial} from "../material/AugmentedMaterial.ts"; import {ARObject} from "./ARObject.ts"; /** * Floor plane can be used for AR objects to cast shadows on. * *...
55d51ff4ab42f477effa80794156f0384f1103fe702d0ecddfb69eb59a880826
TypeScript
2,033
67
import { Questionnaire } from '@covopen/covquestions-js'; import { QUESTION_SHARE_DATA } from '../components/views/questionnaire/utils'; import { LOCAL_STORAGE_KEYS } from './constants'; import { DATA_DONATION_URL } from './custom'; export let questionnaire: Questionnaire = undefined; export let cacheKey: string = '';...
d13b6447dd8893b7a306af341221e35df611d390dac8a387c4d6bbe3080926f1
TypeScript
2,044
67
import {ShaderMaterial, Matrix4, Texture, DataTexture, Vector2} from "three"; import {ARRenderer} from "../ARRenderer"; import AugmentedBasicMaterialFragment from "./AugmentedBasicMaterialFragment.glsl"; import AugmentedBasicMaterialVertex from "./AugmentedBasicMaterialVertex.glsl"; /** * Shader material used to comb...
9a79f4ab49afa55f6ca9449f19f244b6957096469869715ca44cc881e7c77637
TypeScript
2,128
80
import {Box3, Object3D, Vector3} from "three"; export class ObjectUtils { /** * Resize a object to fit a unitary box and center around the origin. * * @param object - Object to center and scale into a unitary box. */ public static centerUnitary(object: Object3D): void { let box = ObjectUtils.calculateBou...
384379310f58587e712c8cdbd3eae0f9262a03ea6bb7e461ad02330886d7481a
TypeScript
2,293
71
import {AmbientLightProbe, DirectionalLight, Group, Vector3} from "three"; import {ARRenderer} from "../ARRenderer.ts"; import {ARObject} from "./ARObject.ts"; /** * Light probe can be used to cast light the mirror the lighting conditions in real world. */ export class LightProbe extends Group implements ARObject { ...
dc27a6c833635de8682b01e0482a5c058f676f958efe4a429579e84ebc9ce1e1
TypeScript
2,443
101
import { buildQuestionnaireResponse, FHIRQuestionnaire, FHIRQuestionnaireItem, FHIRQuestionnaireResponse, FHIRPublicationStatus, FHIRQuestionnaireResponseStatus, FHIRValueSet, } from '../index'; import EXAMPLE_COVAPP_QUESTIONNAIRE from './data/example-covapp-questionnaire.json'; import EXAMPLE_COVAPP_RES...
942926e79113f3d3950b79b952217ebdd2379d7b3b2ba924fcf9dde7ff9167ca
TypeScript
2,466
101
/** * EventManager is used to manage DOM events from multiple element. * * Events can be created for multiple DOM objects and managed from a single point. */ export class EventManager { /** * Stores all events in the manager, their target and callback. * * Format [target, event, callback, active] */ priv...
3cb09b66ca9d592860102109987629d6230e9d993376dca8bb40e9dbfd4d8117
TypeScript
2,557
100
import {BufferGeometry, Event, Intersection, Line, Line3, LineBasicMaterial, Matrix4, Object3D, Raycaster, Vector3} from "three"; /** * Represents a measurement from a point to another. */ export class Measurement extends Line { /** * List of points that compose the measurement. */ public points: Vector3[] = [...
88ce67687db5c3e6fba70a558741742707881cf2654acea4d691803d9c161982
TypeScript
2,645
119
import {Box3, Camera, Vector3} from "three"; import {Vec3, Box, World} from "cannon-es"; import {VoxelBody} from "./VoxelBody.ts"; export class VoxelEnvironment { /** * Cannon physics world. */ public world: World = null; /** * Voxel model bouding box. * * Coordinates in meters. */ public box: Box3 = ...
39989a10b04ea2cae2c8fbde3d83847f5df5b120066bb028919e0808d5c31e07
TypeScript
2,646
84
/** * Configuration of the AR renderer. * * Indicates the capabilities required by the renderer. */ export class ARRendererConfig { /** * If true webgl 2 is used instead of webgl 1. */ public useWebGL2?: boolean = false; /** * The front-facing camera API enables AR experiences to express their preferen...
3f33f3aefca25611b58cab862a93df27672bfc4d8a5567743fc4f376c105ff85
TypeScript
2,763
137
export type FHIRQuestionnaire = { status: FHIRPublicationStatus; resourceType: string; language?: string; contained?: FHIRValueSet[]; url?: string; version?: string; name?: string; title?: string; experimental?: boolean; date?: string; publisher?: string; description?: string; contact?: FHIRCo...
28504a4299606be2fbcc55c72c149e5cd167c5d5becc1608502fb41b01bb6327
TypeScript
2,867
125
import {BufferGeometry, Line, LineBasicMaterial, Matrix4, Vector3} from "three"; /** * Represents a angle measurement between three points. */ export class Angle extends Line { /** * List of points that compose the measurement. */ public points: Vector3[]; public constructor(points: Vector3[]) { if (poin...
5825b08a36a8f5d2c8e0c52085b1a440f4db3167fc411cf1c1d288dcb9ab7943
TypeScript
3,242
130
export const ACCEPTS_COOKIES = 'accepts_cookies'; export const ACCEPTS_TRACKING = 'accepts_tracking'; export const USER_LANGUAGE = 'user_language'; export const SOURCE = 'source'; export const COMPLETED = 'completed'; type IASettings = { [key: string]: string; }; type IAChangeHandlers = Function[]; class Settings ...
fca6c107a1fd42d6ac4a8602644678a060d4f2266e22c64e59401468faaef260
TypeScript
3,636
104
import settings, { ACCEPTS_TRACKING } from './settings'; import { MATOMO_URL, MATOMO_SITE_ID, TRACKING_IS_ENABLED } from '../custom'; import { IS_D4L } from '../layouts'; type TrackingEvent = string[]; interface TrackingEvents { [key: string]: TrackingEvent; } interface MatomoWindow extends Window { _paq?: Array<...
9377af2ceb856f9fa4829974ec8e6b5739b1c8c042256ab68dec5e47fb4a6300
TypeScript
3,811
152
import {Body, Shape, World} from "cannon-es"; import {Vector3, Mesh, Quaternion, Matrix4, Material, Scene, BufferGeometry, WebGLRenderer, Camera, Group} from "three"; /** * Wrapper for cannon.js physics objects. * * The editor includes tools to create cannon shapes from three.js geometry objects. * * Documentatio...
13f8b0b96c2b47ad5dd3dc5a85f7bf03bcd3e268b999bb65bd663a96cfe0048c
TypeScript
4,381
132
import {Box2, Box3, CanvasTexture, Matrix4, Vector2, Vector3, Vector4} from "three"; import {XRCPUDepthInformation} from "types.js"; /** * Canvas texture to stored depth data obtained from the WebXR API. * * The data will be processed using CPU and is expected to be slow. */ export class DepthCanvasTexture extend...
6170cb896d5c3397cdf4d72e825a2f747da64809183511e07af585b1b6f6bf7d
TypeScript
4,452
202
import {BufferGeometry, BufferAttribute, Vector3, Group, Mesh, ShadowMaterial, Material} from "three"; import {AugmentedMaterial} from "../material/AugmentedMaterial.ts"; import {ARRenderer} from "../ARRenderer.ts"; import {ARObject} from "./ARObject.ts"; /** * Data of a specific plane being managed in the Planes obj...
ebb27b5ceb59dd94dff75c64f16c09e847c5e6f62e2967c7c4d61fc89966396a
TypeScript
5,295
149
// This optional code is used to register a service worker. // register() is not called by default. // This lets the app load faster on subsequent visits in production, and gives // it offline capabilities. However, it also means that developers (and users) // will only see deployed updates on subsequent visits to a p...
ef775258f9e0812a08f03c55b39dfede755d67f9d70c68df3fe5b06ca0848de7
TypeScript
5,970
192
import {ARRenderer} from "ARRenderer"; import {DataTexture, Material, Matrix4, Shader, ShadowMaterial, Vector2, WebGLRenderer} from "three"; /** * Augmented Material has static tools to transform regular three.js materials into AR materials. * * The required code is injected into existing shader code. */ export c...
e520f0d81ef038a07855e722c2d58fb7cee9ef204fb6fc9bb01b607ca3ecc85c
TypeScript
6,515
223
import { FHIRQuestionnaire, FHIRQuestionnaireResponse, FHIRQuestionnaireItem, FHIRResponseItem, FHIRValueSet, FHIRAnswerValue, FHIREnableCondition, } from './types'; const indexArrayBy = (array: any[], keyField: string) => array.reduce((obj: any, item: any) => { obj[item[keyField]] = item; retu...
bb32d335d4b41d5fc3e80a22fc55d74c78585fdf44917a2f0cc5b3ccff19a934
TypeScript
6,632
309
import {Vec3, Box, Body, World} from "cannon-es"; /** * Voxel landscape can be used to represent voxel based enviroment. */ export class VoxelLandscape { public nx = 0; public ny = 0; public nz = 0; public sx = 0; public sy = 0; public sz = 0; public world: World = null; public map: any[] = []; publ...
e9583bd0270046c5dc9e25ccfb906d27a0335eddc1e4fff2c8657ab68bcf94c4
TypeScript
8,453
217
import { DATA_DONATION_URL, DATA_DONATION_PUBLIC_KEY } from '../custom'; export let baseUrl = DATA_DONATION_URL; export let rawPublicKey = DATA_DONATION_PUBLIC_KEY; // Only use for Development: // rawPublicKey = `-----BEGIN PUBLIC KEY----- // MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1O2IB+zQH01J6MW+ZpyH/lENnr1ny9...
d1e659462705860537e8e31ac2eabc88511d3aeee0c079c34b1b2b7a42beb3b6
TypeScript
16,674
679
import {Vector2, WebGLRenderer, Scene, PerspectiveCamera, PCFSoftShadowMap, Object3D, ShadowMapType, Raycaster, Intersection} from "three"; import {XRDepthInformation, XRLightProbe} from "types.js"; import {DepthDataTexture} from "./texture/DepthDataTexture"; import {ARObject} from "./object/ARObject"; import {DepthCan...
e6a08501f3a4c96e7995bf4941cfbe881efd46085a4da1e57776523afda118de
TypeScript
24,453
663
/* eslint-disable */ /* tslint:disable */ /** * This is an autogenerated file created by the Stencil compiler. * It contains typing information for all components that exist in this project. */ import { HTMLStencilElement, JSXBase } from "@stencil/core/internal"; import { RouterHistory } from "@stencil/router"; impo...