This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🔗 Found pyo3 bindings | |
🐍 Found CPython 3.10 at /Users/<USERNAME>/anaconda3/envs/maturin310/bin/python3 | |
📡 Using build options features from pyproject.toml | |
💻 Using `MACOSX_DEPLOYMENT_TARGET=10.12` for x86_64-apple-darwin by default | |
Finished dev [unoptimized + debuginfo] target(s) in 0.03s | |
📦 Built wheel for CPython 3.10 to /Users/<USERNAME>/Documents/code/string_sum/target/wheels/string_sum-0.1.0-cp310-cp310-macosx_10_12_x86_64.whl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from dataclasses import dataclass | |
from typing import Iterable, Any, Sequence, NamedTuple | |
import stringcase | |
import reflex as rx | |
from sqlmodel import select | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
from scipy import interpolate | |
def to_hdr(stack, exposures, mininum, maximum): | |
"""Convert a stack of images with different exposure time | |
to a High Dynamic Range Image. | |
Parameters |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "stest" | |
version = "0.2.0" | |
authors = ["Bla <[email protected]>"] | |
[dependencies] | |
serde = "=1.0.62" | |
serde_derive = "=1.0.62" | |
serde_json = "=1.0.21" | |
actix-web = "=0.6.13" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class UncorrectedFLIMds: | |
"""Abstract a FLIM dataset | |
""" | |
@classmethod | |
def from_file(self, filename): | |
"""Loads the dataset from a file. | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import numba as nb | |
@nb.njit() | |
def partition(values, idxs, left, right): | |
""" | |
Partition method | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
Resource Name handling routines | |
:copyright: 2014 by PyVISA-sim Authors, see AUTHORS for more details. | |
:license: MIT, see LICENSE for more details. | |
""" | |
from __future__ import division, unicode_literals, print_function, absolute_import |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-tooltip/core-tooltip.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import sys | |
if not sys.version_info >= (3, 2, 1): | |
print('Lantz requires Python >= 3.2.1') | |
sys.exit(1) | |
import os |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://olgabot.github.io/prettyplotlib/ | |
http://damon-is-a-geek.com/publication-ready-the-first-time-beautiful-reproducible-plots-with-matplotlib.html | |
http://datasciencelab.wordpress.com/2013/12/21/beautiful-plots-with-pandas-and-matplotlib/ | |
http://www.huyng.com/posts/sane-color-scheme-for-matplotlib/ | |
http://stanford.edu/~mwaskom/software/seaborn/index.html | |
http://nbviewer.ipython.org/gist/olgabot/5357268 |
NewerOlder