Skip to content

Instantly share code, notes, and snippets.

@kaizu
kaizu / dashboard.py
Created May 29, 2025 13:33
dashboard.py
import streamlit as st
import requests
import json
import uuid
import os
from typing import Dict, Any, Optional
from dotenv import load_dotenv
# Load environment variables
load_dotenv()
name: sample1
author: Kazunari Kaizu
description: Measuring a single liquid.
contents:
input:
- id: volume
type: Array[Float]
- id: channel
type: Integer
default:
@kaizu
kaizu / untitled0.ipynb
Created June 9, 2021 09:02
Untitled0.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
from ecell4 import *
# with reaction_rules():
# ~A == A | (Parameter(1.0), Parameter(1.0)) #<= Parameterize
def generate_model(k1=1.0, k2=1.0):
with reaction_rules():
~A == A | (k1, k2)
return get_model()
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This is a module for mathematical utility functions.
"""
from __future__ import print_function # This is for Python2
__author__ = "author"
__version__ = "1.0.0"
__copyright__ = "Copyright 2017, Planet Earth"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.