Skip to content

Instantly share code, notes, and snippets.

View oberstet's full-sized avatar

Tobias Oberstein oberstet

View GitHub Profile
(venv) oberstet@amd-ryzen5:~/scm/crossbario/autobahn-python$ tox -e py310-asyncio
ROOT: tox-gh-actions won't override envlist because tox is not running in GitHub Actions
.pkg: _optional_hooks> python /home/oberstet/scm/crossbario/autobahn-python/venv/lib/python3.12/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: get_requires_for_build_sdist> python /home/oberstet/scm/crossbario/autobahn-python/venv/lib/python3.12/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: get_requires_for_build_wheel> python /home/oberstet/scm/crossbario/autobahn-python/venv/lib/python3.12/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: prepare_metadata_for_build_wheel> python /home/oberstet/scm/crossbario/autobahn-python/venv/lib/python3.12/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: build_sdist> python /home/oberstet/scm/crossbario/autobahn-python/venv/lib/python3.12/site-packages/pyprojec
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Digital Privacy Advocate Badge</title>
<style>
body {
margin: 0;
padding: 20px;
oberstet@intel-nuci7:~$ cd /tmp/
oberstet@intel-nuci7:/tmp$ wget https://files.pythonhosted.org/packages/ca/1f/1a52736e87b4a22afef615de45e2f509fbfb55c09798620b0c3f394076ef/google_genai-1.16.1.tar.gz
--2025-05-27 20:53:50-- https://files.pythonhosted.org/packages/ca/1f/1a52736e87b4a22afef615de45e2f509fbfb55c09798620b0c3f394076ef/google_genai-1.16.1.tar.gz
Auflösen des Hostnamens files.pythonhosted.org (files.pythonhosted.org) … 2a04:4e42::223, 2a04:4e42:400::223, 2a04:4e42:200::223, ...
Verbindungsaufbau zu files.pythonhosted.org (files.pythonhosted.org)|2a04:4e42::223|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: 194270 (190K) [application/octet-stream]
Wird in ‘google_genai-1.16.1.tar.gz’ gespeichert.
google_genai-1.16.1.tar.gz 100%[================================================================================================================>] 189,72K --.-KB/s in 0,1s
oberstet@intel-nuci7:~/scm/rfminer/rfminer-pcb$ cd ~/scm/crossbario/crossbar
oberstet@intel-nuci7:~/scm/crossbario/crossbar$ git remote -v
Skully17 https://github.com/Skully17/crossbar.git (fetch)
Skully17 https://github.com/Skully17/crossbar.git (push)
meejah https://github.com/meejah/crossbar.git (fetch)
meejah https://github.com/meejah/crossbar.git (push)
origin git@github.com:oberstet/crossbar.git (fetch)
origin git@github.com:oberstet/crossbar.git (push)
upstream git@github.com:crossbario/crossbar.git (fetch)
upstream git@github.com:crossbario/crossbar.git (push)
(.venv) oberstet@intel-nuci7:~$ uname -a
Linux intel-nuci7 5.15.0-101-generic #111-Ubuntu SMP Tue Mar 5 20:16:58 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
(.venv) oberstet@intel-nuci7:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy
(.venv) oberstet@intel-nuci7:~$ cat ~/Downloads/detect_sh.bin
#! /bin/bash
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<ContinuousStructure CoordSystem="0">
<RectilinearGrid DeltaUnit="0.001" CoordSystem="0">
<XLines Qty="49">-100,-95.2525945022817,-90.5051890045634,-85.7577835068452,-81.0103780091269,-76.2629725114086,-71.5155670136903,-66.7681615159721,-62.0207560182538,-57.2733505205355,-52.5259450228173,-47.778539525099,-43.0311340273807,-38.2837285296624,-33.5363230319441,-30,-27.2275695831295,-24.4551391662589,-20.4945242850153,-17.6655136555556,-15.1672431722222,-13.0646644629969,-10.1210542700815,-6,-1.2149943387356,3.57001132252879,8.35501698379319,12.1528784939756,15.1672431722222,17.6655136555556,20.4945242850153,24.4551391662589,27.2275695831295,30,33.5363230319441,38.2837285296624,43.0311340273807,47.778539525099,52.5259450228173,57.2733505205355,62.0207560182538,66.7681615159721,71.5155670136903,76.2629725114086,81.0103780091269,85.7577835068452,90.5051890045634,95.2525945022817,100</XLines>
<YLines Qty="47">-100,-95.3333333333333,-90.6

RF Miner - Planar Monopole Batch Simulation

Simulation Template

  1. Unit of Length : 0.001
  2. Unit of Frequency : 1000000.0
  3. Frequency of Interest : [(446.0, 446.2, 'Main FOI'), (200, 1000, 'Usable FOI')]
  4. Mesh Refinement Level : standard
  5. Limit Timesteps : 100000
  6. Limit End Criteria (dB) : -40
PCB Model Groundplane Height (mm) Boundary Conditions Resonance Frequency (MHz) Resonance S11 (dB) Resonance Impedance (Ohm)
0 single-conductive-layer 129.0 PML_8:PML_8:PML_8:PML_8:PML_8:PML_8 446.8 -48.4 65.4
1 single-conductive-layer 80.0 PML_8:PML_8:PML_8:PML_8:PML_8:PML_8 497.8 -21.4 56.0
2 single-conductive-layer 40.0 PML_8:PML_8:PML_8:PML_8:PML_8:PML_8 550.2 -21.0 55.7
3 single-conductive-layer 20.0 PML_8:PML_8:PML_8:PML_8:PML_8:PML_8
import os
import math
import tempfile
import numpy as np
from matplotlib import pyplot
from CSXCAD import ContinuousStructure, AppCSXCAD_BIN
from CSXCAD.CSProperties import CSPropMetal
from openEMS import openEMS
from openEMS.physical_constants import C0
# Hz S RI R 70.1
!
200000000.0 0.9530658803388067 -0.2912567811729681
200050000.0 0.9530344983951203 -0.2913415343438754
200100000.0 0.9530031456780979 -0.29142633786790123
200150000.0 0.952971821972294 -0.29151119197425135
200200000.0 0.9529405270614226 -0.2915960968910274
200250000.0 0.952909260728378 -0.2916810528452136
200300000.0 0.952878022755219 -0.2917660600626882
200350000.0 0.9528468129231968 -0.291851118768211