{"id":28550154,"url":"https://github.com/kpobrien/touchstone.jl","last_synced_at":"2026-01-31T23:02:57.232Z","repository":{"id":297811098,"uuid":"997973202","full_name":"kpobrien/Touchstone.jl","owner":"kpobrien","description":"Save and load network parameters in the Touchstone file format","archived":false,"fork":false,"pushed_at":"2025-06-10T18:14:05.000Z","size":261,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-03T04:21:20.685Z","etag":null,"topics":["microwave-engineering","network-parameters","s-parameters","scattering-parameters","touchstone","touchstone-file"],"latest_commit_sha":null,"homepage":"","language":"Julia","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kpobrien.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-07T15:44:28.000Z","updated_at":"2025-06-11T04:07:55.000Z","dependencies_parsed_at":"2025-06-07T16:44:08.777Z","dependency_job_id":"66b72a28-d2be-43dc-afe2-3508f7e2bd2f","html_url":"https://github.com/kpobrien/Touchstone.jl","commit_stats":null,"previous_names":["kpobrien/touchstone.jl"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kpobrien/Touchstone.jl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpobrien%2FTouchstone.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpobrien%2FTouchstone.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpobrien%2FTouchstone.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpobrien%2FTouchstone.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kpobrien","download_url":"https://codeload.github.com/kpobrien/Touchstone.jl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpobrien%2FTouchstone.jl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28959697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T22:20:19.638Z","status":"ssl_error","status_checked_at":"2026-01-31T22:18:07.061Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["microwave-engineering","network-parameters","s-parameters","scattering-parameters","touchstone","touchstone-file"],"created_at":"2025-06-10T03:08:00.938Z","updated_at":"2026-01-31T23:02:57.202Z","avatar_url":"https://github.com/kpobrien.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Touchstone.jl\n\n[![Code coverage](https://codecov.io/gh/kpobrien/Touchstone.jl/branch/main/graphs/badge.svg)](https://codecov.io/gh/kpobrien/Touchstone.jl)\n[![Build Status](https://github.com/kpobrien/Touchstone.jl/actions/workflows/CI.yml/badge.svg)](https://github.com/kpobrien/Touchstone.jl/actions?query=workflow) [![Dev docs](https://img.shields.io/badge/docs-dev-blue.svg)](https://kpobrien.github.io/Touchstone.jl/dev/reference/)\n\nSave and load network parameters in the Touchstone® file format. Touchstone® is a registered trademark of Agilent Technologies, Inc.\n\n# Installation:\n\nTo install the latest release of the package, install Julia using [Juliaup](https://github.com/JuliaLang/juliaup), start Julia, and enter the following command:\n```\nusing Pkg\nPkg.add(\"Touchstone\")\n```\n\nTo install the development version, start Julia and enter the command:\n```\nusing Pkg\nPkg.add(name=\"Touchstone\",rev=\"main\")\n```\n\nIf you get errors when running the examples, please try installing the latest version of Julia and updating to the latest version of Touchstone.jl by running:\n```\nPkg.update()\n```\n\nThen check that you are running the latest version of the package with:\n```\nPkg.status()\n```\n\n# Examples:\n## Load and save a Touchstone file\nVersion 1\n```julia\njulia\u003e using Touchstone\n\njulia\u003e open(\"example1.s1p\",\"w\") do file\nwrite(file,\n\"!Example 1:\n!1-port S-parameter file, single frequency point\n# MHz S MA R 50\n!freq magS11 angS11\n2.000 0.894 -12.136\")\nend\n\njulia\u003e example1 = touchstone_load(\"example1.s1p\")\nTouchstone.TouchstoneFile([2.0e6], ComplexF64[0.874020294860635 - 0.18794819544685323im;;;], \"mhz\", \"s\", \"ma\", 50.0, 1.0, 1, \"12_21\", 1, 0, [50.0], String[], \"Full\", Tuple{Char, Vector{Int64}}[], [\"Example 1:\", \"1-port S-parameter file, single frequency point\", \"freq magS11 angS11\"], [2.0, 0.894, -12.136], Float64[])\n\njulia\u003e touchstone_save(\"example1_saved.s1p\", example1.f, example1.N, version=1.0)\n```\n\nVersion 2\n```julia\njulia\u003e using Touchstone\n\njulia\u003e open(\"example2.ts\",\"w\") do file\nwrite(file,\n\"!Example 1:\n!1-port S-parameter file, single frequency point\n[Version] 2.0\n# Hz S RI R 50.0\n[Number of Ports] 1\n[Number of Frequencies] 1\n[Reference] 50.0\n[Network Data]\n! freq ReS11 ImS11 \n2.0e6 0.874020294860635 -0.18794819544685323\n[End]\")\nend\n\njulia\u003e example2 = touchstone_load(\"example2.ts\")\nTouchstone.TouchstoneFile([2.0e6], ComplexF64[0.874020294860635 - 0.18794819544685323im;;;], \"mhz\", \"s\", \"ma\", 50.0, 1.0, 1, \"12_21\", 1, 0, [50.0], String[], \"Full\", Tuple{Char, Vector{Int64}}[], [\"Example 1:\", \"1-port S-parameter file, single frequency point\", \"freq magS11 angS11\"], [2.0, 0.894, -12.136], Float64[])\n\njulia\u003e touchstone_save(\"example2_saved.ts\", example2.f, example2.N, version=2.0)\n```\n\n# Contributing:\n\nWe welcome contributions in the form of issues/bug reports or pull requests. This project uses the [MIT open source license](https://opensource.org/license/MIT). You retain the copyright to any code you contribute.\n\n# References:\n\n1. [Touchstone v1.1](http://www.ibis.org/connector/touchstone_spec11.pdf)\n2. [Touchstone v2.0](http://www.ibis.org/touchstone_ver2.0/touchstone_ver2_0.pdf)\n3. [Touchstone v2.1](https://ibis.org/touchstone_ver2.1/touchstone_ver2_1.pdf)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkpobrien%2Ftouchstone.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkpobrien%2Ftouchstone.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkpobrien%2Ftouchstone.jl/lists"}