text stringlengths 10 968k | id stringlengths 14 122 | metadata dict | __index_level_0__ int64 0 242 |
|---|---|---|---|
from autosweep.data_types import filereader, metadata, recipe, station_config
from autosweep.data_types.filereader import (
FileWRer,
GeneralIOClass,
)
from autosweep.data_types.metadata import (
PN,
SN,
DUTInfo,
MetaNum,
TimeStamp,
)
from autosweep.data_types.recipe import (
Recipe,
)
f... | autosweep/autosweep/data_types/__init__.py/0 | {
"file_path": "autosweep/autosweep/data_types/__init__.py",
"repo_id": "autosweep",
"token_count": 263
} | 0 |
from autosweep.instruments import abs_instr
from autosweep.instruments.coms import visa_coms
class Keysight8164B(abs_instr.AbsInstrument):
"""
Driver written by Helge Gehring, modified to work with AutoSweep.
:param addrs: The VISA-resource string for this instrument
:type addrs: str
"""
def... | autosweep/autosweep/instruments/optical/Keysight8164B.py/0 | {
"file_path": "autosweep/autosweep/instruments/optical/Keysight8164B.py",
"repo_id": "autosweep",
"token_count": 1897
} | 1 |
import logging
from autosweep.utils.params import logger_format, logger_level
from autosweep.utils.typing_ext import PathLike
def init_logger(path: PathLike | None = None) -> logging.Logger:
"""
Used to configure the logging package for use inside this package. Can be used with other scripts as well.
:p... | autosweep/autosweep/utils/logger.py/0 | {
"file_path": "autosweep/autosweep/utils/logger.py",
"repo_id": "autosweep",
"token_count": 339
} | 2 |
import logging
import pathlib
from autosweep.data_types.metadata import PN, SN, DUTInfo, TimeStamp
from autosweep.data_types.recipe import Recipe
from autosweep.utils.logger import init_logger
def test_types():
init_logger()
pn = PN(num="ABC-12345", rev="123")
logging.info(f"{pn = }")
logging.info(f"... | autosweep/tests/data_types/test_types.py/0 | {
"file_path": "autosweep/tests/data_types/test_types.py",
"repo_id": "autosweep",
"token_count": 549
} | 3 |
# Table of contents
# Learn more at https://jterbook.org/customize/toc.html
format: jb-book
root: index
parts:
- caption: Introduction
chapters:
- file: notebooks/10_layout.ipynb
- file: notebooks/10_layout_full.ipynb
- file: notebooks/11_drc.ipynb
- file: notebooks/20_modesolver_fem.ipyn... | gdsfactory-photonics-training/docs/_toc.yml/0 | {
"file_path": "gdsfactory-photonics-training/docs/_toc.yml",
"repo_id": "gdsfactory-photonics-training",
"token_count": 299
} | 4 |
plot_modes: false
resolution: 10
compute_time_seconds: 328.1761336326599
compute_time_minutes: 5.4696022272109985
| gdsfactory-test-data/sp/bend_euler_5689b551_f3e429c3.yml/0 | {
"file_path": "gdsfactory-test-data/sp/bend_euler_5689b551_f3e429c3.yml",
"repo_id": "gdsfactory-test-data",
"token_count": 44
} | 5 |
resolution: 30
port_symmetries:
o1@0,o1@0:
- o2@0,o2@0
o2@0,o1@0:
- o1@0,o2@0
wavelength_start: 1.5
wavelength_stop: 1.6
wavelength_points: 50
port_margin: 2
port_monitor_offset: -0.1
port_source_offset: -0.1
dispersive: false
ymargin_top: 0.0
ymargin_bot: 3.0
xmargin_left: 0
xmargin_right: 3.0
layer_stack:
c... | gdsfactory-test-data/sp/bend_euler_radius3_aaceb38e.yml/0 | {
"file_path": "gdsfactory-test-data/sp/bend_euler_radius3_aaceb38e.yml",
"repo_id": "gdsfactory-test-data",
"token_count": 1317
} | 6 |
"[\"E0\",\"\"]\n[\"E1\",\"\"]\n[\"W0\",\"\"]\n[\"W1\",\"\"]\n(\"W0\",\"mode 1\",1,\"W0\",1,\"transmi(...TRUNCATED) | gdsfactory-test-data/sp/coupler/coupler_G224n_L20_S220.dat/0 | {"file_path":"gdsfactory-test-data/sp/coupler/coupler_G224n_L20_S220.dat","repo_id":"gdsfactory-test(...TRUNCATED) | 7 |
"simulation_settings:\n background_material: sio2\n port_margin: 1.5\n port_extension: 2.0\n mes(...TRUNCATED) | gdsfactory-test-data/sp/mmi1x2_mesh_accuracy1_si220n_w_dc021729.yml/0 | {"file_path":"gdsfactory-test-data/sp/mmi1x2_mesh_accuracy1_si220n_w_dc021729.yml","repo_id":"gdsfac(...TRUNCATED) | 8 |
is_3d: false
compute_time_seconds: 34.20280599594116
compute_time_minutes: 0.5700467665990193
| gdsfactory-test-data/sp/straight_46b2e15a.yml/0 | {"file_path":"gdsfactory-test-data/sp/straight_46b2e15a.yml","repo_id":"gdsfactory-test-data","token(...TRUNCATED) | 9 |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 2