go run main.go > time_date.csv
Show help for optional arguments:
FROM nixos/nix:2.21.2 | |
RUN mkdir -p /root/.config/nix | |
COPY nix.conf /root/.config/nix | |
WORKDIR /app | |
COPY flake.nix . | |
RUN nix develop . |
package main | |
import ( | |
"log" | |
"net" | |
"net/http" | |
"os" | |
"github.com/prometheus/client_golang/prometheus" | |
"github.com/prometheus/client_golang/prometheus/promhttp" |
package main | |
import ( | |
"bufio" | |
"fmt" | |
"log" | |
"net" | |
"net/http" | |
) |
from telnetlib import Telnet | |
class PTC10: | |
def __init__(self, host: str, port=None): | |
self.host = host | |
self.port = port | |
def oven_power(self): | |
with Telnet(self.host, self.port) as conn: |
### A Pluto.jl notebook ### | |
# v0.19.24 | |
using Markdown | |
using InteractiveUtils | |
# ΓòöΓòÉΓòí ec26df3c-14b8-11ee-282f-c51a3afd5185 | |
begin | |
using Unitful | |
using Statistics |
import ctypes | |
import numpy as np | |
import numpy.typing as npt | |
from picosdk.usbtc08 import usbtc08 as tc08 | |
from picosdk.functions import assert_pico2000_ok | |
MAX_CHANNELS = 8 |
FROM python:3.9-slim | |
RUN apt update && apt install --assume-yes --no-install-recommends \ | |
build-essential | |
WORKDIR /tmp | |
COPY requirements.txt ./ | |
RUN pip install --no-cache -r requirements.txt |
from abc import ABC, abstractmethod | |
from argparse import ArgumentParser, BooleanOptionalAction | |
import numpy as np | |
from matplotlib import pyplot as plt | |
from scipy import linalg | |
pauli_z = np.array([[1, 0], [0, -1]], dtype=complex) | |
pauli_x = np.array([[1, 0], [0, -1]], dtype=complex) |