Руководство пользователя — программа TMCROS (tmcros.exe)
Пакет TMC Suite 5.0 для Windows x64, новый интерфейс (Qt 6, тёмная тема, русский язык). Прежняя версия программы с интерфейсом MFC (
TMCROS.exeиз старых сборок) показывает те же данные, но её окна в этом руководстве не описываются.Изменения по исправлениям 26.10.2026 (версия 5.1): пункт меню «Разворот фазы» (раздел 5.4.3), нормировка S-матрицы на падающую волну и учёт окна для широкополосного сигнала (раздел 6.3).
Содержание
- Назначение программы
- Запуск и открытие файлов
- Главное окно
- Панель инструментов
- Меню
- Окна программы
- Типичные задачи по шагам
- Частые вопросы и ошибки
1. Назначение программы
TMCROS (заголовок окна — «Tamic Rt: просмотр выходных сигналов») — программа для просмотра временны́х сигналов на входах (портах) рассчитанного устройства. В окне «О программе» её назначение сформулировано так: «Программа для просмотра сигналов, амплитуд и фаз падающих и отражённых волн на входах устройства».
Откуда берутся данные. Счётное ядро (PlanarRT H — planarrt_h.exe или PlanarRT X —
planarrt_x.exe) во время расчёта записывает для каждого временно́го такта значения падающей и
рассеянной волны на каждом входе в файл сигнала с расширением .t (имя файла задаётся строкой
FILE <имя>; секции #OUTPUT задания, см. Файл задания .tpl, раздел 7.1). TMCROS
читает этот файл и строит графики.
Что умеет программа:
- показывать до 20 кривых в одном окне — разные входы, падающую или рассеянную волну, сигналы
из разных файлов
.t; - откладывать по оси Y сам сигнал или вычисленную по нему величину: амплитуду (огибающую), фазу в радианах или градусах, КСВН, потери в децибелах;
- откладывать по оси X номер такта или время в пс, нс, мкс, мс, с;
- масштабировать и сдвигать график кнопками, клавишами и мышью;
- настраивать цвета, стиль и толщину линий, точки-маркеры, шрифт подписей;
- восстанавливать по временно́му сигналу матрицу рассеяния (S-матрицу) и записывать её в файл
.s, который затем открывается в программе TMCGROUT (окно «Экспорт временного сигнала в S-матрицу», раздел 6.3). Если ядро провело широкополосный расчёт (один проход с многочастотной падающей волной), эта команда сама строит S-матрицу на всех частотах сразу.
TMCROS ничего не рассчитывает в самой структуре — он только показывает и пересчитывает уже записанные ядром сигналы.

2. Запуск и открытие файлов
2.1. Как запустить
- После установки пакета (
TMC_Suite_5.0_Qt6_Setup.exe) — ярлык TMCROS в меню «Пуск». - В варианте без установки — файл
tmcros.exeв папкеTMC_Suite_Qt6_win64. - Из счётного ядра — кнопка «Выходной сигнал» на его панели инструментов: ядро запускает TMCROS сразу с файлом сигнала текущего расчёта (см. PlanarRT H).
Окно программы открывается в том же месте и того же размера, что и при прошлом закрытии.
2.2. Какие файлы открывает программа
| Файл | Что это | Кто создаёт |
|---|---|---|
.t |
Файл сигнала: отсчёты падающей и рассеянной волн на всех входах по тактам | Счётное ядро |
.tos |
Документ TMCROS: текст с настройками оформления и списком кривых; сами данные не хранит, а ссылается на файлы .t |
TMCROS |
.$os |
Запасной документ: создаётся вместо .tos, если .tos с таким именем уже есть |
TMCROS |
В окне открытия файла фильтр называется «TMCRTOS» и показывает файлы *.toc *.$oc *.t *.tos *.$os;
второй пункт фильтра — «Все файлы». Расширения .toc/.$oc унаследованы от прежних версий;
рабочие документы имеют расширение .tos.
2.3. Как открыть файл
- Нажмите кнопку «Открыть»
на панели инструментов,
либо выберите Файл → Открыть…, либо нажмите Ctrl+O. - В окне выбора файла перейдите в папку с результатами расчёта и выберите файл
.tили.tos. - Нажмите «Открыть». Внутри главного окна появится окно документа с графиком, развёрнутое на всю рабочую область.
Недавно открытые файлы перечислены в меню Файл (пронумерованные строки над пунктом «Выход») — щелчок по строке открывает файл снова.
Что происходит при открытии файла
.t. Программа сама создаёт рядом документ с тем же именем и расширением.tos(например, дляpoly.t—poly.tos) и записывает в него одну кривую: вход 1, рассеянная волна. Если файлpoly.tosуже существует, он не трогается, а создаётся (или перезаписывается) запасной документpoly.$os. В дальнейшем удобнее открывать готовый.tos.
2.4. Форматы файлов
Файл сигнала .t
Текстовый файл. Начало файла-примера samples/DEMO/TMCROS/poly.t:
#TMC_GraphicsOutputSignalFile FormVer2.0 2000
!File name E:\BackUP\ARHIV\WORK\Source\SAMPLE_R\ABSORBER\poly.t
#TMC_GROTS_Freq 1e+010
#TMC_GROTS_InpNum -2
!nT nBlock Up Uo
0 0 7 0 0 8 0 0
1 4.717309e-012 7 0.2920765 -0.05489582 8 0 0
| Строка | Смысл |
|---|---|
#TMC_GraphicsOutputSignalFile … |
Признак файла сигнала |
Строки, начинающиеся с ! |
Комментарии, программа их пропускает |
#TMC_GROTS_Freq 1e+010 |
Частота расчёта, Гц (здесь 10 ГГц). Используется при вычислении фазы и при экспорте в S-матрицу. Если строки нет, программа принимает 1e10 Гц |
#TMC_GROTS_InpNum … |
Служебная строка ядра |
#TMC_GROTS_Wideband 1, #TMC_GROTS_Port …, #TMC_GROTS_SigFreq … |
Есть только в файлах широкополосного расчёта: признак широкой полосы, параметры портов и список частот сигнала (см. раздел 6.3.3) |
| Строки данных (начинаются с пробела) | Номер такта; время, с; затем для каждого входа тройка чисел: номер блока порта, падающая волна, рассеянная волна |
Номер «Входа» в TMCROS — это порядковый номер тройки в строке данных: вход 1 — первая тройка (в примере — порт блока 7), вход 2 — вторая (порт блока 8).
Документ .tos
Текстовый файл. Первая строка — признак #TMCGROTS. Далее строки параметров оформления (ключи с #)
и в конце — по одной строке на кривую. Программа переписывает документ сама при каждом изменении
масштаба, цветов, списка кривых, поэтому вручную его править не требуется.
| Ключ | Что задаёт | Значения |
|---|---|---|
#PointDrawFlag a; b; |
a — рисовать точки, b — прореживать точки |
0 / 1 |
#nXType |
Шкала X | 0 — nT (номер такта), 1 — пс, 2 — нс, 3 — мкс, 4 — мс, 5 — с |
#nYType |
Шкала Y | 0 — сигнал, 1 — амплитуда, 2 — фаза, рад, 3 — фаза, град, 4 — КСВН, 5 — потери, дБ |
#Xmin, #Xmax, #Ymin, #Ymax |
Пределы окна графика | числа в единицах шкалы |
#nAFlagX, #nAFlagY |
Автомасштаб по X / по Y | 0 / 1 |
#EditorFileName |
Внешний редактор документа | путь к .exe |
#sDrawTextFont, #sDrawTextColor, #sDrawBckgrdColor, #sDrawAxiesColor, #sDrawGridColor, #sDrawPointColor |
Шрифт и цвета (шрифт подписей, текст, фон, оси, сетка, точки; в последней строке — также цвет, стиль и толщина линий 16 образцов) | числа |
Строка кривой (формат подсказан комментарием !TFileName GraphicsName DrawFlag Input1 Mod1 Input2 Mod2):
poly.t poly.t 1 1 1 1 1
| Поле | Смысл |
|---|---|
TFileName |
Имя файла .t (относительно папки документа) |
GraphicsName |
Подпись кривой в легенде |
DrawFlag |
1 — показывать кривую, 0 — скрыть |
Input1 |
Номер входа (1, 2, …) |
Mod1 |
0 — падающая волна, 1 — рассеянная волна |
Input2, Mod2 |
Для сигналов не используются (программа приводит их к 1) |
3. Главное окно

Главное окно состоит из пяти зон (сверху вниз):
- Заголовок — «Tamic Rt: просмотр выходных сигналов» и в квадратных скобках имя открытого
документа (на снимке —
[poly.tos]). Справа — обычные кнопки Windows «Свернуть», «Развернуть», «Закрыть». - Строка меню — «Файл», «Правка», «Вид», «Настройки», «Окно», «Справка» (раздел 5). Справа в строке меню — маленькие кнопки управления окном документа (свернуть, восстановить, закрыть документ).
- Панель инструментов — 24 кнопки (раздел 4).
-
Область графика — внутри неё окно документа:
- вертикальная ось с подписью шкалы Y (на снимке —
Signal) и числами по линиям сетки; - горизонтальная ось с подписью шкалы X (на снимке —
Time psec); - пунктирная координатная сетка 10 × 10;
- кривые;
- легенда справа вверху: образец линии и текст вида
- poly.t - 1 scattering, гдеpoly.t— имя графика,1— номер входа,scattering— рассеянная волна (falling— падающая).
Подписи осей и легенды рисует расчётная часть программы, поэтому они остаются на английском при любом языке интерфейса. 5. Строка состояния — в текущей версии TMCROS слева показывает «Готово», правая часть пуста.
- вертикальная ось с подписью шкалы Y (на снимке —
Примечание. Программы TMCGROUT и TMC_DN при нажатой левой кнопке мыши выводят в строку состояния координаты точки под курсором, а справа — тип графика. В текущей сборке TMCROS эти надписи не появляются (строка состояния не подключена к окну графика).
3.1. Работа мышью в области графика
| Действие | Где | Результат |
|---|---|---|
| Нажать левую кнопку и протянуть рамку | Внутри осей | Рамка выделения. После отпускания выбранный участок растягивается на всё окно. Ось, по которой рамка занимает меньше 10 % окна, не меняется (по Y при этом включается автомасштаб). Если рамка меньше 10 % по обеим осям — ничего не происходит |
| Двойной щелчок левой кнопкой | Внутри осей | То же, что «Подогнать окно данных»: включается автомасштаб по X и Y, видна вся кривая |
| Двойной щелчок левой кнопкой | Вне осей (например, в зоне легенды) | То же, что «Подогнать область»: область графика подгоняется под размер окна, положение запоминается |
| Щелчок правой кнопкой | Внутри осей | Открывается окно «Параметры окна» |
| Щелчок правой кнопкой | Вне осей | Открывается окно «Характеристики» |
Перед двойным щелчком программа проверяет, не изменились ли файлы на диске, и при необходимости перечитывает их.
3.2. Автоматическое обновление
Примерно раз в 10 секунд программа проверяет, не изменился ли документ или файл сигнала. Если ядро
дописало или пересчитало файл .t, график перерисуется сам. Чтобы обновить немедленно, нажмите
«Перерисовать данные» (Ctrl+W).
4. Панель инструментов

Кнопки разделены тонкими вертикальными промежутками на группы. При наведении курсора появляется подсказка с названием команды (оно приведено во втором столбце таблицы). Пока не открыт ни один документ, доступны только «Открыть» и «О программе». Кнопки «Авто-масштаб X» и «Авто-масштаб Y» работают как переключатели: включённый автомасштаб показан рамкой вокруг кнопки (на снимке включён «Авто-масштаб Y»).
| Кнопка | Название | Что делает | Клавиши |
|---|---|---|---|
![]() |
Открыть | Открывает файл .t или документ .tos (раздел 2.3) |
Ctrl+O |
![]() |
Добавить характеристику | Выбор ещё одного файла .t; кривая добавляется в документ, затем открывается окно «Характеристики» |
Ctrl+A |
![]() |
Характеристики | Окно со списком кривых документа (раздел 6.2) | Ctrl+D |
![]() |
В S-матрицу | Окно «Экспорт временного сигнала в S-матрицу» (раздел 6.3) | Alt+T |
![]() |
Параметры окна | Окно настройки пределов, шкал, точек, цветов (раздел 6.1) | Ctrl+H |
![]() |
Перерисовать данные | Заново читает документ и все файлы .t и перерисовывает график |
Ctrl+W |
![]() |
Подогнать область графика | Подгоняет область осей под текущий размер окна (оси занимают около 70 % ширины и 90 % высоты, справа остаётся место для легенды) | Ctrl+R |
![]() |
Увеличить | Окно данных вдвое уже по X и вдвое ниже по Y относительно центра; автомасштаб по обеим осям выключается | + |
![]() |
Увеличить по X | То же только по оси X | X |
![]() |
Увеличить по Y | То же только по оси Y | Y |
![]() |
Уменьшить | Окно данных вдвое шире и вдвое выше относительно центра; автомасштаб выключается | − |
![]() |
Уменьшить по X | То же только по оси X | Shift+X |
![]() |
Уменьшить по Y | То же только по оси Y | Shift+Y |
![]() |
Подогнать окно данных | Включает автомасштаб по X и по Y — график целиком вписывается в окно | Ctrl+T |
![]() |
Авто-масштаб X | Включает/выключает автомасштаб по X (пределы X = от первого до последнего отсчёта видимых кривых) | Alt+X |
![]() |
Авто-масштаб Y | Включает/выключает автомасштаб по Y (пределы Y = минимум и максимум видимой части кривых) | Alt+Y |
![]() |
Начало | Сдвигает окно к началу сигнала, не меняя его ширины. Работает только при выключенном автомасштабе X | Home |
![]() |
Конец | Сдвигает окно к концу сигнала, не меняя ширины. Работает только при выключенном автомасштабе X | End |
![]() |
Уменьшить пределы по X | Сдвигает окно влево: Xmin и Xmax уменьшаются на 10 % ширины окна; автомасштаб X выключается | ← (стрелка влево) |
![]() |
Увеличить пределы по X | Сдвигает окно вправо на 10 % ширины | → (стрелка вправо) |
![]() |
Уменьшить пределы по Y | Сдвигает окно вниз: Ymin и Ymax уменьшаются на 10 % высоты; автомасштаб Y выключается | V |
![]() |
Увеличить пределы по Y | Сдвигает окно вверх на 10 % высоты | ↑ (стрелка вверх) |
![]() |
Печать | Системное окно печати Windows; печатается то же изображение, что на экране (в PDF — через принтер «Microsoft Print to PDF») | Ctrl+P |
![]() |
О программе TMCROS | Окно «О программе» (раздел 6.8) | — |
Все изменения масштаба сразу записываются в документ
.tos. При следующем открытии документа окно данных будет таким же.
5. Меню
Пункты меню, у которых есть кнопка на панели, делают то же, что кнопка (раздел 4). Пока не открыт ни один документ, в меню доступны только «Создать», «Открыть…», «Выход» и «О программе TMCROS…».
5.1. Меню «Файл»

| Пункт | Клавиши | Что делает |
|---|---|---|
| Создать | Ctrl+N | Создаёт новое окно документа с заголовком вида TMCRTOS1. Кривые в него добавляют командой «Добавить характеристику», имя задают через «Сохранить как…» |
| Открыть… | Ctrl+O | Открывает .t или .tos |
| Закрыть | — | Закрывает активное окно документа |
| Сохранить | Ctrl+S | Записывает документ .tos (программа и так записывает его при каждом изменении) |
| Сохранить как… | — | Записывает документ под новым именем; расширение по умолчанию .tos |
| Печать… | Ctrl+P | Системное окно печати |
| Предпросмотр печати | — | Окно «Предварительный просмотр» — как график ляжет на страницу |
| Параметры печати… | — | Окно «Параметры печати»: размер бумаги, ориентация, поля |
| 1 …, 2 …, 3 … | — | Недавние файлы (на снимке — poly.tos, horn1.t и др.) |
| Выход | — | Закрывает программу |
5.2. Меню «Правка»

| Пункт | Клавиши | Что делает |
|---|---|---|
| Характеристики | Ctrl+D | Окно «Характеристики» (раздел 6.2) |
| Добавить характеристику | Ctrl+A | Выбор файла .t (окно открывается в папке документа с фильтром *.t); кривая добавляется в документ, затем открывается окно «Характеристики» |
| В S-матрицу | Alt+T | Окно «Экспорт временного сигнала в S-матрицу» (раздел 6.3) |
| Редактор | Alt+F7 | Открывает файл документа .tos во внешнем текстовом редакторе, заданном в «Настройки → Редактор». По умолчанию в документе записан winword.exe; если Word не установлен, сначала укажите редактор (например, notepad.exe) |
5.3. Меню «Вид»

| Пункт | Клавиши | Что делает |
|---|---|---|
| Параметры окна | Ctrl+H | Окно «Параметры окна» (раздел 6.1) |
| Перерисовать данные | Ctrl+W | Перечитать файлы и перерисовать |
| Масштаб ▸ | — | Подменю масштаба (5.3.1) |
| Сдвиг ▸ | — | Подменю сдвига (5.3.2) |
| Строка состояния | — | Показать/скрыть строку состояния (галочка — показана) |
| Панель инструментов | — | Показать/скрыть панель инструментов (галочка — показана) |
5.3.1. Подменю «Вид → Масштаб»

| Пункт | Клавиши | Что делает |
|---|---|---|
| Подогнать область | Ctrl+R | Подогнать область осей под окно |
| Увеличить | + | Окно данных вдвое меньше по обеим осям |
| Увеличить по X | X | Вдвое меньше по X |
| Увеличить по Y | Y | Вдвое меньше по Y |
| Уменьшить | − | Окно данных вдвое больше по обеим осям |
| Уменьшить по X | Shift+X | Вдвое больше по X |
| Уменьшить по Y | Shift+Y | Вдвое больше по Y |
| Подогнать окно данных | Ctrl+T | Включить автомасштаб по обеим осям |
| Авто-масштаб X | Alt+X | Включить/выключить автомасштаб X |
| Авто-масштаб Y | Alt+Y | Включить/выключить автомасштаб Y |
5.3.2. Подменю «Вид → Сдвиг»

Подменю содержит два вложенных подменю:
| Подменю | Пункт | Клавиши | Что делает |
|---|---|---|---|
| Изменить Xmax, Xmin ▸ | Уменьшить пределы | ← | Сдвиг окна влево на 10 % ширины |
| Увеличить пределы | → | Сдвиг окна вправо на 10 % ширины | |
| Начало | Home | Окно — к началу сигнала (при выключенном автомасштабе X) | |
| Конец | End | Окно — к концу сигнала (при выключенном автомасштабе X) | |
| Изменить Ymax, Ymin ▸ | Уменьшить пределы | V | Сдвиг окна вниз на 10 % высоты |
| Увеличить пределы | ↑ | Сдвиг окна вверх на 10 % высоты |
Снимок третьего уровня этих подменю пока не сделан (см. раздел 9).
5.4. Меню «Настройки»

| Пункт | Что делает |
|---|---|
| Language / Язык ▸ | Язык интерфейса (5.4.1) |
| Редактор | Окно выбора программы (*.exe) — внешнего редактора для команды «Правка → Редактор». Выбор записывается в документ |
| Цвет ▸ | Подменю цветов (5.4.2) |
| Шрифт | Окно «Выбор шрифта» для подписей осей, сетки и легенды (раздел 6.6) |
| Разворот фазы: стандартный (порог π) | Флажок: как разворачивается фаза (5.4.3). В английском интерфейсе — «Phase unwrapping: standard (threshold pi)». Пункт добавлен 26.10.2026 |
5.4.1. Подменю «Language / Язык»

| Пункт | Что делает |
|---|---|
| System / Как в системе | Язык как у Windows (русский — если система русская, иначе английский) |
| Русский | Русский интерфейс |
| English | Английский интерфейс |
Галочка отмечает текущий выбор. Язык меняется сразу, без перезапуска, и запоминается. В английском интерфейсе меню называется Config. Выбор общий для всех программ пакета: другие программы, уже открытые в этот момент, перейдут на новый язык при следующем запуске (overview.md, раздел 6.2).
5.4.2. Подменю «Настройки → Цвет»

| Пункт | Что меняет |
|---|---|
| Фон | Цвет фона области графика |
| Сетка | Цвет пунктирной координатной сетки |
| Оси | Цвет осей со стрелками |
| Точки | Цвет точек-маркеров (общий для всех кривых) |
| Графики | Открывает окно «Параметры графиков» — цвет, стиль и толщина линий 16 кривых (раздел 6.4) |
Пункты «Фон», «Сетка», «Оси», «Точки» открывают окно «Выбор цвета» (раздел 6.5). Выбранный цвет сразу применяется и записывается в документ.
5.4.3. Пункт «Разворот фазы: стандартный (порог π)»
Флажок задаёт, как программа разворачивает фазу (переводит её из интервала одного оборота в непрерывную кривую) в графиках, построенных по выражениям (кривые-выражения).
| Состояние флажка | Как разворачивается фаза |
|---|---|
| Снят (по умолчанию) | Как раньше: фаза монотонно убывает — по теореме Фостера. Так задумано автором; графики не меняются по сравнению с прежними версиями |
| Установлен | Стандартный разворот с порогом π: скачок фазы между соседними точками больше π (по модулю) считается переходом через границу оборота и устраняется |
Выбор запоминается и действует при следующих запусках программы; при переключении графики активного окна перерисовываются. Такой же пункт есть в программе TMCGROUT.
5.5. Меню «Окно»

| Пункт | Что делает |
|---|---|
| Новое окно | Открывает тот же документ ещё в одном окне |
| Каскадом | Располагает окна документов каскадом |
| Мозаикой | Располагает окна документов рядом, без перекрытия |
5.6. Меню «Справка»

| Пункт | Что делает |
|---|---|
| О программе TMCROS… | Окно «О программе TMCROS» (раздел 6.8) |
6. Окна программы
6.1. Окно «Параметры окна»
Открывается: кнопка «Параметры окна», Вид → Параметры окна (Ctrl+H) или щелчок правой кнопкой внутри осей.

Группа «Пределы окна графика»
| Элемент | Что задаёт | Допустимые значения |
|---|---|---|
| Флажок «Автомасштаб X» | Включён — пределы по X подбираются по данным, поля «X max» и «X min» недоступны | вкл./выкл. |
| X max, X min | Правая и левая границы окна по оси X в единицах выбранной шкалы X | любые числа, X max > X min |
| Формат (верхний) | Формат чисел под осью X в стиле printf языка C, например %4.3lg (до 4 знаков ширины, 3 значащие цифры), %.2f, %e |
строка до 300 символов |
| Флажок «Автомасштаб Y» | Включён — пределы по Y подбираются по данным, поля «Y max» и «Y min» недоступны | вкл./выкл. |
| Y max, Y min | Верхняя и нижняя границы по оси Y | любые числа, Y max > Y min |
| Формат (нижний) | Формат чисел у оси Y | как выше |
| Кнопка «Формат сетки по умолчанию» | Вписывает в оба поля «Формат» значение %4.3lg |
— |
Группа «Тип графика» — две колонки переключателей.
Шкала X — что откладывается по горизонтали:
| Переключатель | Ось X |
|---|---|
| nT | Номер такта (0, 1, 2, …) |
| пс | Время в пикосекундах |
| нс | Время в наносекундах |
| мкс | Время в микросекундах |
| мс | Время в миллисекундах |
| с | Время в секундах |
Шкала Y — что откладывается по вертикали (описание — по исходному коду программы п. 1):
| Переключатель | Ось Y | Как получается |
|---|---|---|
| Сигнал | Значение волны (падающей или рассеянной — см. окно «Характеристики») | Отсчёты из файла без пересчёта |
| Амплитуда | Огибающая сигнала | В каждой точке — модуль сигнала в последнем найденном локальном экстремуме (максимуме или минимуме) |
| Фаза, рад | Фаза колебания, 0…2π | По моментам перехода сигнала через ноль относительно периода частоты из строки #TMC_GROTS_Freq |
| Фаза, град | То же в градусах, 0…360° | То же |
| КСВН | (1 + A)/(1 − A), A — амплитуда (огибающая) | При A, близкой к 1, программа подставляет A = 0,9999 |
| Потери, дБ | −20·lg A | При A = 0 выводится 0 |
Группа «Точки»
| Элемент | Что делает | Значения |
|---|---|---|
| Флажок «Рисовать точки» | Рисовать маркеры в точках-отсчётах. У каждой из 16 кривых своя форма маркера; цвет маркеров общий — «Настройки → Цвет → Точки». Пока флажок снят, «Прореживать» и «Размер точки» недоступны | вкл./выкл. |
| Флажок «Прореживать» | Включён — маркеры ставятся не в каждой точке, а примерно 20 штук на видимую часть кривой. Выключен — в каждой точке | вкл./выкл. |
| Размер точки | Множитель размера маркера | от 0 до 100; 1 — обычный размер |
Группа «Цвет» и кнопка «Шрифт»
| Кнопка | Что делает |
|---|---|
| Фон, Сетка, Оси, Точки | Применяет всё, что введено в окне (как «ОК»), закрывает окно, открывает «Выбор цвета» для соответствующего элемента, после выбора снова открывает «Параметры окна» |
| Графики | То же, но открывает «Параметры графиков» (раздел 6.4) |
| Шрифт | То же, но открывает «Выбор шрифта» (раздел 6.6) |
Нижняя часть окна
| Элемент | Что это |
|---|---|
| Поле «Имя файла выходных характеристик S-матрицы» | Только для чтения: полный путь к открытому документу .tos. Подпись поля унаследована от программы TMCGROUT |
| ОК | Применить настройки, перерисовать график и записать документ. Форматы подписей и размер точки запоминаются также как значения по умолчанию для следующих документов |
| Отмена | Закрыть окно без изменений |
6.2. Окно «Характеристики»
Открывается: кнопка «Характеристики», Правка → Характеристики (Ctrl+D) или щелчок правой кнопкой вне осей.

Окно — таблица на 20 кривых (по строке на кривую).
| Элемент | Что это | Допустимые значения |
|---|---|---|
| Поле «Файл выходного временного сигнала» | Только для чтения: полный путь к документу .tos |
— |
| Столбец «Имя S-файла» | Имя файла сигнала .t для кривой (относительно папки документа). Подпись столбца унаследована от TMCGROUT — здесь указываются файлы .t. Чтобы удалить кривую, сотрите имя файла в её строке |
имя файла |
| Столбец «Вход» | Номер входа — порядковый номер тройки чисел в строке данных .t (раздел 2.4) |
целое от 1 до 10000 |
| Столбец «Падающая или рассеянная» | Два переключателя в строке: левый — падающая волна, правый — рассеянная волна | один из двух |
| Столбец «Имя графика» | Подпись в легенде. Если оставить пустым, подставится имя файла. Пробелы из подписи удаляются | текст |
| Столбец «Видимость» | Флажок: показывать кривую на графике | вкл./выкл. |
| ОК | Записать изменения в документ, перечитать данные, перерисовать | — |
| Отмена | Закрыть без изменений | — |
| Добавить | Применить изменения (как «ОК»), затем открыть выбор файла .t; после добавления окно «Характеристики» откроется снова |
— |
Кривые с 1-й по 16-ю оформляются образцами 1–16 из окна «Параметры графиков»; кривые 17–20 — повторно образцами 1–4.
6.3. Окно «Экспорт временного сигнала в S-матрицу»
Открывается: кнопка «В S-матрицу», Правка → В S-матрицу (Alt+T).

Окно строит по сигналам из файлов .t элементы матрицы рассеяния и записывает их в файл .s.
Полученный .s открывается в программе TMCGROUT.
6.3.1. Элементы окна
| Элемент | Что это / что делает | Значения |
|---|---|---|
| Поле «Имя файла S-матрицы» | Путь к файлу .s, в который пишется результат. При открытии окна — <имя документа>.s в папке документа (на снимке — poly.s). Можно исправить вручную |
путь к файлу |
| Кнопка «Изменить» | Окно выбора существующего файла .s (открывается в папке документа, фильтр *.s); выбранный путь подставляется в поле |
— |
| Кнопка «Удалить» | Сразу удаляет файл, указанный в поле «Имя файла S-матрицы», без вопроса и без корзины. Нужна потому, что экспорт дописывает данные в существующий .s, а не перезаписывает его |
— |
| Столбец «Имя S-файла» (20 строк) | Полные пути к файлам сигнала .t. При открытии окна заполнен файлами кривых документа. Можно вписать путь вручную |
путь к .t |
| Столбец «Значения по оси X» | Для каждой строки — число, под которым её результат записывается в .s как частота, Гц. При открытии окна — частота из строки #TMC_GROTS_Freq соответствующего файла (на снимке — 1e+10, то есть 10 ГГц); у пустых строк — 0 |
число, Гц |
| Столбец «Экспорт» | Флажок: обрабатывать ли файл этой строки. При открытии окна совпадает с «Видимостью» кривой | вкл./выкл. |
| Поле «Xmin» | Начальное значение для автозаполнения столбца «Значения по оси X» | по умолчанию 1e+10 |
| Поле «d X» | Шаг автозаполнения | по умолчанию 1e+08 |
| Кнопка «Заполнить значения X» | Заполняет все 20 строк столбца «Значения по оси X»: Xmin, Xmin + dX, Xmin + 2·dX, … | — |
| Поле «Единица времени» | Только для чтения: единица оси X главного окна (ps, ns, mks, ms, s), в которой заданы Tmin и Tmax. Пусто, если в главном окне выбрана шкала nT |
— |
| Поля «Tmin», «Tmax» | Окно времени, по отсчётам которого восстанавливается S-матрица. При открытии — текущие пределы X графика (на снимке 0…20034,4 пс). Если в главном окне шкала nT, подставляются 0 и 1 с, то есть практически весь сигнал | Tmax > Tmin |
| Кнопка «Экспорт в S» | Выполняет экспорт для всех строк с флажком «Экспорт» и непустым именем. Окно остаётся открытым | — |
| Кнопка «Добавить» | Выбор ещё одного файла .t (в папке документа, фильтр *.t); путь встаёт в первую пустую строку |
— |
| ОК | Выполняет экспорт (как «Экспорт в S») и закрывает окно. Если экспорт завершился ошибкой, окно не закрывается | — |
| Отмена | Закрывает окно без экспорта. Уже выполненный «Экспорт в S» не отменяется | — |
| Поле сообщения (внизу окна) | После экспорта: No error — успешно, иначе — текст ошибки (раздел 6.3.4). Экспорт останавливается на первом файле с ошибкой |
— |
Перед повторным экспортом удаляйте старый
.sкнопкой «Удалить» (или вручную). Если оставить старый файл, в него добавятся новые точки, и в TMCGROUT смешаются результаты разных расчётов.«ОК» повторяет экспорт. Если вы уже нажали «Экспорт в S» и хотите просто закрыть окно, нажмите «Отмена».
6.3.2. Как строится S-матрица из одночастотного сигнала
Описание — по исходному коду (tmcsmatrix.cpp); научную формулировку см. в чек-листе, п. 2.
- Из файла
.tберутся только отсчёты, время которых лежит в окне Tmin…Tmax. Окно нужно выбирать на установившемся участке сигнала. Отсчётов в окне должно быть больше 5. - Возбуждённым считается вход, у которого падающая волна отлична от нуля. Такой вход должен быть ровно один: он определяет столбец S-матрицы, который будет записан.
- Для каждого входа по парам соседних отсчётов рассеянной волны восстанавливаются амплитуда и
фаза гармонического колебания на частоте из строки
#TMC_GROTS_Freqфайла. Результаты по всем парам усредняются — получается комплексный отклик Uo. - Нормировка на падающую волну (с 26.10.2026). Тем же способом по отсчётам падающей волны
возбуждённого входа восстанавливается её комплексная амплитуда Up, и элемент S-матрицы равен
S = Uo/Up. Поэтому амплитуда входа ≠ 1 и фаза ≠ 0 в задании допустимы. Если Up отличается от 1
меньше чем на 10⁻³, это считается шумом записи
.t, и деления нет. Если в окне нет падающей волны — ошибка. Раньше S = Uo было верно только при амплитуде 1 и фазе 0. - Если элемент S не является числом (NaN или Inf — например, при расходящемся поле), это ошибка, а
не NaN в файле
.s(с 26.10.2026). - Столбец записывается в
.sс частотой из столбца «Значения по оси X».
Нули в окне (с 29.10.2026). Если в окно Tmin…Tmax попали пары отсчётов с нулём (волна ещё не пришла), TMCROS выдаёт предупреждение (окно «В S-матрицу»). Ядро с директивой
SMATRIXвыдаёт такое же предупреждение — в консоль и в строку состояния, итог расчёта — «Готово, есть предупреждения». Усреднение при этом не меняется: окно выбирает пользователь (иногда нужно и нестационарное среднее).
Один файл .t расчёта на одной частоте даёт одну частотную точку. Чтобы получить частотную
характеристику, нужно несколько расчётов на разных частотах (по файлу .t на частоту): перечислите
все файлы в окне, проверьте столбец «Значения по оси X» и нажмите «Экспорт в S».
Ядро при директиве
SMATRIXпользуется тем же способом (S = Uo/Up). В ядре частотаSMATRIXв одночастотном режиме обязана равнятьсяFREQшага (Файл задания .tpl, раздел 7.4); в окне TMCROS столбец «Значения по оси X» по-прежнему можно изменить вручную.
6.3.3. Широкополосный сигнал: все частоты за один экспорт
Если файл .t получен широкополосным расчётом (падающая волна задана файлом .sig с
несколькими частотами или импульсом), ядро помечает его строкой #TMC_GROTS_Wideband 1. Для таких
файлов «Экспорт в S» работает иначе:
- частоты берутся из строки
#TMC_GROTS_SigFreq(её ядро переносит из строки#FREQфайла сигнала), а если её нет — находятся по спектру падающей волны; столбец «Значения по оси X» для таких файлов не используется; - окно Tmin…Tmax учитывается (с 26.10.2026): для разложения по частотам берутся только отсчёты внутри окна. Раньше окно для таких файлов не использовалось. Чтобы обработать весь сигнал, задайте окно, охватывающее весь расчёт;
- программа сама различает непрерывный многотон (раскладка на установившемся участке) и импульс (интеграл по всему интервалу);
- снимается рассогласование портов (порт согласован ядром только на частоте
FREQ); - если отклик импульса к концу окна не затух (в последних 5 % окна больше 1 % пика) или окно начинается, когда падающий импульс ещё идёт, программа показывает окно сообщения с предупреждением; S-матрица при этом записывается (рисунок ниже);
- если на какой-то частоте возникла ошибка (например, частота ниже отсечки порта), на этой частоте записываются нули, остальные частоты считаются (с 26.10.2026);
- в
.sзаписываются все найденные частоты сразу.

Сообщение после «В S-матрицу» для широкополосного .t, рассчитанного со слишком коротким
временем: S-матрица записана, но отклик к концу окна не затух (4,5 % пика) — спектр искажён,
увеличьте TIME или Tmax окна.
Подробности, точность и ограничения — в описании многочастотного расчёта:
Многочастотный расчёт и samples/MULTIFREQ/README.md.
Ядро с директивой
SMATRIXв задании может записать такой же.sсамо, без TMCROS (см. Многочастотный расчёт). Обычный способ получить.sс многими частотами — свип: несколько шагов#STEPс разнойFREQ, пишущихSMATRIXв один файл (см. Файл задания .tpl, раздел 7.4).
6.3.4. Сообщения об ошибках
| Текст в поле сообщения | Причина | Что делать |
|---|---|---|
Tmax <= Tmin |
Окно времени задано неверно | Исправьте Tmin/Tmax |
Can't open file {…} |
Файл .t не найден |
Проверьте путь в строке |
nPoint is N ( <=5 ) ( Tmin=…; Tmax=… ) in file {…} |
В окне Tmin…Tmax пять отсчётов или меньше. Частая причина — окно задано не в тех единицах (Tmin/Tmax — в единице из поля «Единица времени», а время в файле — в секундах) | Расширьте окно или выберите в главном окне шкалу времени и откройте окно экспорта заново |
There are no exited inputs in file {…} |
Ни на одном входе нет падающей волны | Проверьте задание: возбуждение порта |
Not one is exited of inputs in file {…} |
Падающая волна есть больше чем на одном входе | Для экспорта нужен расчёт с одним возбуждённым входом |
No incident wave (Up) of the excited input N in the window Tmin=…; Tmax=… in file {…} |
В окне Tmin…Tmax падающая волна возбуждённого входа отсутствует — делить не на что (раздел 6.3.2, п. 4) | Сдвиньте окно на участок, где есть падающая волна |
S of input N is not a number (NaN or Inf: the field of the calculation diverged) in file {…} |
Элемент S — NaN или Inf (расходящееся поле) | Проверьте задание и результат расчёта ядра |
Save: error when save to … from file {…} |
Не удалось записать .s |
Проверьте права на папку, не открыт ли файл другой программой |
Wideband: … (например, Wideband: no excited port, Wideband: no frequency carries energy in this file, Wideband: can not write the S-matrix file) |
Ошибка широкополосной обработки | Проверьте файл сигнала и задание; см. Многочастотный расчёт |
6.4. Окна «Параметры графиков»
Под этим заголовком открываются два разных окна.
Список образцов линий. Открывается: Настройки → Цвет → Графики или кнопка «Графики» в окне «Параметры окна».

| Элемент | Что делает |
|---|---|
| 16 образцов линий (слева) | Как выглядит линия кривой с соответствующим номером (1-я строка — кривые 1 и 17, …, 16-я — кривая 16) |
| Кнопка «Изменить» в каждой строке | Открывает окно стиля линии для этого образца (см. ниже) |
| По умолчанию | Возвращает всем 16 образцам исходные цвета, стили и толщины |
| ОК | Применить, перерисовать, записать в документ |
| Отмена | Закрыть без изменений |
Стиль одной линии. Открывается кнопкой «Изменить».

| Элемент | Что делает | Значения |
|---|---|---|
| Группа «Стиль» | Пять переключателей с образцами слева: «Сплошная», «Штриховая», «Пунктирная», «Штрихпунктирная», «Штрихпунктир, 2 точки» | один из пяти |
| Группа «Толщина» | Пять переключателей с образцами: толщина линии 1, 2, 3, 4, 5 пикселей (сверху вниз) | один из пяти |
| Цвет | Окно «Выбор цвета» для этой линии | — |
| ОК | Запомнить стиль для образца | — |
| Отмена | Закрыть без изменений | — |
Толщина доступна только у сплошной линии. При выборе любого другого стиля толщина сбрасывается на 1 пиксель, а остальные варианты толщины становятся недоступны.
6.5. Окно «Выбор цвета»
Открывается пунктами «Фон», «Сетка», «Оси», «Точки» и кнопкой «Цвет» в окне стиля линии.

| Элемент | Что делает |
|---|---|
| Большое цветовое поле | Насыщенность — по горизонтали, яркость — по вертикали; щёлкните или протяните кружок-указатель |
| Радужная полоса под полем | Оттенок |
| Кнопка-пипетка (справа вверху) | Взять цвет с любого места экрана: щёлкните по нужной точке; Esc — отмена |
| Блок «БЫЛО / СТАЛО» | Слева — исходный цвет, справа — выбранный; под ними коды #RRGGBB. Щелчок по половине «БЫЛО» возвращает исходный цвет |
| Поле «HEX» | Код цвета #RRGGBB или #RGB |
| Ползунки и поля R, G, B | Красная, зелёная и синяя составляющие, от 0 до 255 |
| «ПАЛИТРА ПРОЕКТА» | Готовые цвета оформления TMC Suite |
| «ЦВЕТА ГРАФИКОВ» | Классические цвета линий графиков |
| «НЕДАВНИЕ» | Цвета, выбранные раньше; пока их нет — надпись «Здесь появятся выбранные цвета» |
| Отмена | Закрыть без изменения цвета |
| ОК | Применить цвет |
6.6. Окно «Выбор шрифта»
Открывается: Настройки → Шрифт или кнопка «Шрифт» в окне «Параметры окна». Шрифт применяется к числам у осей, подписям осей и легенде.

| Элемент | Что делает |
|---|---|
| «Шрифт» (поле и список) | Название шрифта (на снимке — Times New Roman) |
| «Начертание» | Regular (обычный), Italic (курсив), Bold (полужирный), Bold Italic |
| «Размер» | Размер в пунктах |
| «Эффекты»: «Зачёркнутый», «Подчёркнутый» | Флажки оформления |
| «Система письма» | Набор символов («Любая» — без ограничений) |
| «Пример» | Как выглядит выбранный шрифт |
| ОК / Отмена | Применить / закрыть без изменений |
6.7. Окна печати
- Печать (Ctrl+P) — системное окно печати Windows: выбор принтера, число копий. На бумагу идёт то же изображение, что на экране. Для сохранения в PDF выберите принтер «Microsoft Print to PDF».
- Предпросмотр печати — окно «Предварительный просмотр»: страница с графиком перед печатью.
- Параметры печати… — окно «Параметры печати»: бумага, ориентация, поля.
6.8. Окно «О программе TMCROS»

| Элемент | Что это |
|---|---|
| Значок и название «TMCROS» | Программа |
| Описание | «Программа для просмотра сигналов, амплитуд и фаз падающих и отражённых волн на входах устройства.» Под ним — вторая строка-описание (в текущей версии в ней ошибочно написано «Просмотр S-матриц пакета TMC Suite.» 7) |
| «Версия 5.0», «2026», «Windows · x64» | Версия пакета, год, платформа |
| «АВТОР: К. Н. Климов, © 2026» | Автор |
| GitHub, LinkedIn, ResearchGate, eLibrary | Кнопки-ссылки на страницы автора (открываются в браузере; адрес виден во всплывающей подсказке) |
| www.tamic.ru | Сайт проекта |
| «Руководство пользователя» | Открывает руководство: PDF на языке интерфейса рядом с программой — TMC_Suite_5.0_Руководство_пользователя.pdf или TMC_Suite_5.0_User_Manual.pdf (метка «PDF»), а если его нет — руководство на сайте www.tamic.ru/docs/user-manual/index.html (метка «НА САЙТЕ») |
| «TMC Suite 5.0 · Qt …» | Версия пакета и библиотеки Qt |
| ОК | Закрыть окно |
7. Типичные задачи по шагам
7.1. Посмотреть сигнал после расчёта
- В задании ядра должна быть строка
FILE <имя>;в секции#OUTPUT(она обязательна). - После расчёта нажмите в ядре кнопку «Выходной сигнал» — откроется TMCROS с файлом
<имя>.t. Либо запустите TMCROS сами и откройте<имя>.t(Ctrl+O). - Если кривая не видна целиком, нажмите «Подогнать окно данных» (Ctrl+T).
- Чтобы ось X была во времени, откройте «Параметры окна» (Ctrl+H) и выберите в «Шкале X», например, «нс» → ОК.
7.2. Показать падающую и рассеянную волну входа на одном графике
- Откройте файл
.t. - Нажмите «Характеристики» (Ctrl+D).
- Во второй строке впишите в «Имя S-файла» то же имя файла, что в первой (например,
poly.t). - В обеих строках задайте «Вход» = 1. В первой строке выберите левый переключатель (падающая волна), во второй — правый (рассеянная).
- Задайте подписи в «Имя графика» (например,
padиrass), отметьте «Видимость» → ОК.
7.3. Посмотреть амплитуду, фазу, КСВН или потери
- Ctrl+H → «Шкала Y» → нужный переключатель → ОК.
- Включите «Авто-масштаб Y» (Alt+Y), если кривая ушла за край.
7.4. Увеличить участок сигнала
- Протяните мышью рамку внутри осей (раздел 3.1), или
- нажимайте «Увеличить по X» (клавиша X) и сдвигайте окно стрелками ← / →.
- Вернуть всё: двойной щелчок внутри осей или Ctrl+T.
7.5. Получить S-матрицу из одночастотных расчётов
- Посчитайте задание на нескольких частотах так, чтобы для каждой частоты был свой файл
.tи возбуждён был один вход. - Откройте один из файлов
.t, добавьте остальные («Добавить характеристику»). - Выберите в «Параметрах окна» шкалу X во времени (например, «нс») и выделите мышью установившийся участок сигнала — его пределы станут окном Tmin…Tmax.
- Нажмите «В S-матрицу» (Alt+T).
- Нажмите «Удалить», чтобы стереть старый
.s(если он был). - Проверьте столбец «Значения по оси X» (частоты из файлов) и флажки «Экспорт».
- Нажмите «Экспорт в S». В нижнем поле должно появиться
No error. - Закройте окно кнопкой «Отмена» (ОК повторил бы экспорт).
- Откройте полученный
.sв TMCGROUT.
7.6. Получить S-матрицу из одного широкополосного расчёта
- Откройте файл
.tширокополосного расчёта (в его заголовке есть#TMC_GROTS_Wideband 1). - Alt+T → проверьте окно Tmin…Tmax (оно учитывается; для всего сигнала — окно на весь расчёт) →
«Удалить» (стереть старый
.s) → «Экспорт в S». - Если появилось окно сообщения о незатухшем отклике, проверьте окно и время счёта; S-матрица при этом всё равно записана.
- Проверьте
No error, закройте окно «Отменой» и откройте.sв TMCGROUT: в нём будут все частоты сигнала.
7.7. Сохранить оформление и распечатать
- Настройте масштаб, цвета, шрифт — документ записывается автоматически.
- Чтобы сохранить под другим именем: Файл → Сохранить как…
- Файл → Предпросмотр печати → проверьте страницу → Ctrl+P → выберите принтер → «Печать».
7.8. Выбрать способ разворота фазы
- Откройте меню Настройки.
- Щёлкните пункт «Разворот фазы: стандартный (порог π)»: флажок установлен — стандартный разворот с порогом π; снят — фаза монотонно убывает (как раньше).
- Графики активного окна перерисуются; выбор запомнится.
8. Частые вопросы и ошибки
| Ситуация | Причина | Что делать |
|---|---|---|
| Открыл другой файл — график пустой или видна только часть | Пределы окна запоминаются; при выключенном автомасштабе новые данные могут оказаться вне окна | Нажмите «Авто-масштаб X» и «Авто-масштаб Y» (Alt+X, Alt+Y) или Ctrl+T |
В легенде надпись Error_when_read_<файл> |
Файл .t не найден или пуст |
Проверьте, что .t лежит рядом с .tos и имя в «Характеристиках» верное; пересчитайте ядром |
Вместо графика текст Error : … |
Ошибка чтения документа | Откройте сам файл .t, а не повреждённый .tos |
| После пересчёта график не изменился | Обновление идёт примерно раз в 10 секунд | Нажмите Ctrl+W |
| Кнопки «Начало» и «Конец» ничего не делают | Включён автомасштаб X | Выключите «Авто-масштаб X» (Alt+X) |
| Рамка мышью не увеличивает график | Рамка меньше 10 % окна по обеим осям | Протяните рамку крупнее |
| В строке состояния нет координат курсора | Особенность текущей версии TMCROS (раздел 3) | Используйте сетку и подписи осей |
Рядом с .tos появился файл .$os |
Открыли .t, для которого .tos уже был |
Это запасной документ; его можно удалить или использовать |
| В TMCGROUT смешались точки разных расчётов | Экспорт дописал данные в старый .s |
Перед экспортом нажимайте «Удалить» |
Экспорт: nPoint is … ( <=5 ) |
Окно Tmin…Tmax пустое или в нём мало отсчётов | Раздел 6.3.4 |
| S-матрица широкополосного файла отличается от полученной раньше | С 26.10.2026 окно Tmin…Tmax учитывается | Задайте окно на весь расчёт, чтобы обработать весь сигнал (раздел 6.3.3) |
| Окно сообщения о незатухшем отклике при экспорте широкополосного файла | Отклик импульса не затух к концу окна или окно начинается во время падающего импульса | Расширьте окно или увеличьте время счёта TIME в задании; S-матрица записана (раздел 6.3.3) |
| Фаза кривой-выражения «скачет» иначе, чем ожидалось | Выбран другой способ разворота фазы | Настройки → Разворот фазы: стандартный (порог π) (раздел 5.4.3) |
| «Правка → Редактор» ничего не открывает | Не задан редактор (по умолчанию winword.exe) |
«Настройки → Редактор» → выберите, например, C:\Windows\notepad.exe |
| Подписи на графике по-английски | Их рисует расчётная часть программы | Так задумано; язык меню и окон — «Настройки → Language / Язык» |
User manual — the TMCROS program (tmcros.exe)
The TMC Suite 5.0 package for Windows x64, new interface (Qt 6, dark theme, Russian and English languages). The previous version of the program with the MFC interface (
TMCROS.exefrom old builds) shows the same data, but its windows are not described in this manual.Changes from the fixes of 26.10.2026 (version 5.1): the "Phase unwrapping" menu item (Section 5.4.3), normalization of the S-matrix to the incident wave and use of the window for a wideband signal (Section 6.3).
Contents
- Purpose of the program
- Starting the program and opening files
- Main window
- Toolbar
- Menus
- Program windows
- Typical tasks step by step
- Frequently asked questions and errors
1. Purpose of the program
TMCROS (window title "Tamic Rt Output Signal Viewer") is a program for viewing time signals at the ports of the computed device. In the About dialog its purpose is stated as follows: "Viewer for signals, amplitudes and phases of incident and reflected waves at the device ports."
Where the data come from. During the computation, the compute kernel (PlanarRT H — planarrt_h.exe or PlanarRT X —
planarrt_x.exe) writes, for each time step, the values of the incident and the
scattered wave at each port to a signal file with the .t extension (the file name is set by the
FILE <name>; line of the #OUTPUT section of the task, see Task file .tpl, Section 7.1). TMCROS
reads this file and plots graphs.
What the program can do:
- show up to 20 curves in one window — different ports, the incident or scattered wave, signals
from different
.tfiles; - plot along the Y axis the signal itself or a quantity computed from it: the amplitude (envelope), the phase in radians or degrees, VSWR, losses in decibels;
- plot along the X axis the time step number or the time in ps, ns, µs, ms, s;
- zoom and move the graph with buttons, keys and the mouse;
- set the colors, style and width of lines, the point markers, the label font;
- reconstruct the scattering matrix (S-matrix) from the time signal and write it to a
.sfile, which is then opened in the TMCGROUT program (the "Time signal export to S-matrix" window, Section 6.3). If the kernel has performed a wideband computation (a single pass with a multi-frequency incident wave), this command builds the S-matrix at all frequencies at once by itself.
TMCROS does not compute anything in the structure itself — it only shows and recalculates the signals already written by the kernel.

2. Starting the program and opening files
2.1. How to start it
- After the package has been installed (
TMC_Suite_5.0_Qt6_Setup.exe) — the TMCROS shortcut in the Start menu. - In the option without installation — the
tmcros.exefile in theTMC_Suite_Qt6_win64folder. - From the compute kernel — the "Output" button on its toolbar: the kernel starts TMCROS directly with the signal file of the current computation (see PlanarRT H).
The program window opens at the same place and with the same size as when it was last closed.
2.2. Which files the program opens
| File | What it is | Created by |
|---|---|---|
.t |
Signal file: samples of the incident and scattered waves at all ports by time step | The compute kernel |
.tos |
TMCROS document: text with the layout settings and the list of curves; it does not store the data itself but refers to .t files |
TMCROS |
.$os |
Backup document: created instead of .tos if a .tos with this name already exists |
TMCROS |
In the file open window, the filter is called "TMCRTOS" and shows the files *.toc *.$oc *.t *.tos *.$os;
the second filter item is "All files". The .toc/.$oc extensions are inherited from earlier versions;
working documents have the .tos extension.
2.3. How to open a file
- Click the "Open" button
on the toolbar,
or select File → Open..., or press Ctrl+O. - In the file selection window, go to the folder with the computation results and select a
.tor.tosfile. - Click "Open". A document window with the graph appears inside the main window, maximized over the whole work area.
Recently opened files are listed in the File menu (numbered lines above the "Exit" item) — clicking a line opens the file again.
What happens when a
.tfile is opened. The program itself creates next to it a document with the same name and the.tosextension (for example,poly.tosforpoly.t) and writes one curve to it: port 1, scattered wave. If the filepoly.tosalready exists, it is not touched; instead, the backup documentpoly.$osis created (or overwritten). Later on it is more convenient to open the ready.tos.
2.4. File formats
The .t signal file
A text file. The beginning of the sample file samples/DEMO/TMCROS/poly.t:
#TMC_GraphicsOutputSignalFile FormVer2.0 2000
!File name E:\BackUP\ARHIV\WORK\Source\SAMPLE_R\ABSORBER\poly.t
#TMC_GROTS_Freq 1e+010
#TMC_GROTS_InpNum -2
!nT nBlock Up Uo
0 0 7 0 0 8 0 0
1 4.717309e-012 7 0.2920765 -0.05489582 8 0 0
| Line | Meaning |
|---|---|
#TMC_GraphicsOutputSignalFile … |
Signal file signature |
Lines starting with ! |
Comments, the program skips them |
#TMC_GROTS_Freq 1e+010 |
Computation frequency, Hz (here 10 GHz). It is used when computing the phase and when exporting to an S-matrix. If the line is absent, the program assumes 1e10 Hz |
#TMC_GROTS_InpNum … |
A service line of the kernel |
#TMC_GROTS_Wideband 1, #TMC_GROTS_Port …, #TMC_GROTS_SigFreq … |
Present only in files of a wideband computation: the wideband flag, the port parameters and the list of signal frequencies (see Section 6.3.3) |
| Data lines (start with a space) | Time step number; time, s; then for each port a triple of numbers: port block number, incident wave, scattered wave |
The "Input" number in TMCROS is the ordinal number of the triple in the data line: input 1 is the first triple (in the example, the port of block 7), input 2 is the second one (the port of block 8).
The .tos document
A text file. The first line is the #TMCGROTS signature. Then come the lines of layout parameters (keys with #)
and at the end one line per curve. The program rewrites the document itself on every change
of zoom, colors or the list of curves, so there is no need to edit it by hand.
| Key | What it sets | Values |
|---|---|---|
#PointDrawFlag a; b; |
a — draw points, b — thin out the points |
0 / 1 |
#nXType |
X scale | 0 — nT (time step number), 1 — ps, 2 — ns, 3 — µs, 4 — ms, 5 — s |
#nYType |
Y scale | 0 — signal, 1 — amplitude, 2 — phase, rad, 3 — phase, deg, 4 — VSWR, 5 — losses, dB |
#Xmin, #Xmax, #Ymin, #Ymax |
Limits of the graph window | numbers in the scale units |
#nAFlagX, #nAFlagY |
Autoscale along X / along Y | 0 / 1 |
#EditorFileName |
External editor of the document | path to an .exe |
#sDrawTextFont, #sDrawTextColor, #sDrawBckgrdColor, #sDrawAxiesColor, #sDrawGridColor, #sDrawPointColor |
Font and colors (label font, text, background, axes, grid, points; the last line also holds the color, style and width of the lines of 16 samples) | numbers |
A curve line (the format is indicated by the comment !TFileName GraphicsName DrawFlag Input1 Mod1 Input2 Mod2):
poly.t poly.t 1 1 1 1 1
| Field | Meaning |
|---|---|
TFileName |
Name of the .t file (relative to the document folder) |
GraphicsName |
Curve label in the legend |
DrawFlag |
1 — show the curve, 0 — hide it |
Input1 |
Port number (1, 2, …) |
Mod1 |
0 — incident wave, 1 — scattered wave |
Input2, Mod2 |
Not used for signals (the program sets them to 1) |
3. Main window

The main window consists of five areas (from top to bottom):
- Title — "Tamic Rt Output Signal Viewer" and, in square brackets, the name of the open
document (in the screenshot —
[poly.tos]). On the right are the usual Windows buttons "Minimize", "Maximize", "Close". - Menu bar — "File", "Edit", "View", "Config", "Window", "Help" (Section 5). On the right of the menu bar are the small buttons for controlling the document window (minimize, restore, close the document).
- Toolbar — 24 buttons (Section 4).
-
Graph area — the document window is inside it:
- the vertical axis with the Y scale label (in the screenshot —
Signal) and numbers at the grid lines; - the horizontal axis with the X scale label (in the screenshot —
Time psec); - a dashed 10 × 10 coordinate grid;
- the curves;
- the legend at the top right: a line sample and text of the form
- poly.t - 1 scattering, wherepoly.tis the graph name,1is the port number,scatteringis the scattered wave (fallingis the incident wave).
The axis and legend labels are drawn by the computational part of the program, so they stay in English whatever the interface language. 5. Status bar — in the current version of TMCROS it shows "Ready" on the left; the right part is empty.
- the vertical axis with the Y scale label (in the screenshot —
Note. The TMCGROUT and TMC_DN programs, while the left mouse button is held down, show in the status bar the coordinates of the point under the cursor and, on the right, the graph type. In the current build of TMCROS these labels do not appear (the status bar is not connected to the graph window).
3.1. Working with the mouse in the graph area
| Action | Where | Result |
|---|---|---|
| Press the left button and drag a frame | Inside the axes | A selection frame. After the button is released, the selected part is stretched over the whole window. An axis along which the frame takes less than 10 % of the window is not changed (along Y, autoscale is turned on in this case). If the frame is smaller than 10 % along both axes, nothing happens |
| Double-click with the left button | Inside the axes | The same as "Resize window": autoscale along X and Y is turned on, the whole curve is visible |
| Double-click with the left button | Outside the axes (for example, in the legend area) | The same as "ReSize viewport": the graph area is fitted to the window size, the position is remembered |
| Right-click | Inside the axes | The "Viewport" window opens |
| Right-click | Outside the axes | The "Characteristics" window opens |
Before a double-click is processed, the program checks whether the files on the disk have changed and, if necessary, rereads them.
3.2. Automatic update
About every 10 seconds the program checks whether the document or the signal file has changed. If the kernel
has appended to or recomputed the .t file, the graph is redrawn by itself. To update immediately, click
"Redraw data" (Ctrl+W).
4. Toolbar

The buttons are separated into groups by thin vertical gaps. When the cursor is over a button, a tooltip with the name of the command appears (it is given in the second column of the table). While no document is open, only "Open" and "About" are available. The "Auto X size" and "Auto Y size" buttons work as toggles: autoscale that is on is shown by a frame around the button (in the screenshot, "Auto Y size" is on).
| Button | Name | What it does | Keys |
|---|---|---|---|
![]() |
Open | Opens a .t file or a .tos document (Section 2.3) |
Ctrl+O |
![]() |
Add characteristics | Selecting one more .t file; the curve is added to the document, then the "Characteristics" window opens |
Ctrl+A |
![]() |
Characteristics | A window with the list of curves of the document (Section 6.2) | Ctrl+D |
![]() |
To S-matrix | The "Time signal export to S-matrix" window (Section 6.3) | Alt+T |
![]() |
Viewport | A window for setting the limits, scales, points, colors (Section 6.1) | Ctrl+H |
![]() |
Redraw data | Rereads the document and all .t files and redraws the graph |
Ctrl+W |
![]() |
Resize viewport | Fits the axes area to the current window size (the axes take about 70 % of the width and 90 % of the height; room for the legend is left on the right) | Ctrl+R |
![]() |
Zoom + | The data window becomes half as wide along X and half as high along Y relative to the center; autoscale along both axes is turned off | + |
![]() |
Zoom +X | The same, along the X axis only | X |
![]() |
Zoom +Y | The same, along the Y axis only | Y |
![]() |
Zoom - | The data window becomes twice as wide and twice as high relative to the center; autoscale is turned off | − |
![]() |
Zoom -X | The same, along the X axis only | Shift+X |
![]() |
Zoom -Y | The same, along the Y axis only | Shift+Y |
![]() |
Resize window | Turns on autoscale along X and Y — the whole graph fits into the window | Ctrl+T |
![]() |
Auto X size | Turns autoscale along X on/off (X limits = from the first to the last sample of the visible curves) | Alt+X |
![]() |
Auto Y size | Turns autoscale along Y on/off (Y limits = minimum and maximum of the visible part of the curves) | Alt+Y |
![]() |
Home | Moves the window to the beginning of the signal without changing its width. Works only when autoscale X is off | Home |
![]() |
End | Moves the window to the end of the signal without changing its width. Works only when autoscale X is off | End |
![]() |
Decrement X | Moves the window to the left: Xmin and Xmax decrease by 10 % of the window width; autoscale X is turned off | ← (left arrow) |
![]() |
Increment X | Moves the window to the right by 10 % of the width | → (right arrow) |
![]() |
Decrement Y | Moves the window down: Ymin and Ymax decrease by 10 % of the height; autoscale Y is turned off | V |
![]() |
Increment Y | Moves the window up by 10 % of the height | ↑ (up arrow) |
![]() |
The Windows system print window; the same image as on the screen is printed (to PDF — via the "Microsoft Print to PDF" printer) | Ctrl+P | |
![]() |
About TMCROS | The About dialog (Section 6.8) | — |
All zoom changes are written to the
.tosdocument at once. The next time the document is opened, the data window will be the same.
5. Menus
Menu items that have a button on the toolbar do the same as the button (Section 4). While no document is open, only "New", "Open...", "Exit" and "About TMCROS..." are available in the menu.
5.1. The "File" menu

| Item | Keys | What it does |
|---|---|---|
| New | Ctrl+N | Creates a new document window with a title of the form TMCRTOS1. Curves are added to it with the "Add characteristics" command, and the name is set via "Save As..." |
| Open... | Ctrl+O | Opens a .t or a .tos |
| Close | — | Closes the active document window |
| Save | Ctrl+S | Writes the .tos document (the program writes it anyway on every change) |
| Save As... | — | Writes the document under a new name; the default extension is .tos |
| Print... | Ctrl+P | The system print window |
| Print Preview | — | The "Print Preview" window — how the graph will be placed on the page |
| Print Setup... | — | The "Print Setup" window: paper size, orientation, margins |
| 1 …, 2 …, 3 … | — | Recent files (in the screenshot — poly.tos, horn1.t and others) |
| Exit | — | Closes the program |
5.2. The "Edit" menu

| Item | Keys | What it does |
|---|---|---|
| Characteristics | Ctrl+D | The "Characteristics" window (Section 6.2) |
| Add characteristics | Ctrl+A | Selecting a .t file (the window opens in the document folder with the *.t filter); the curve is added to the document, then the "Characteristics" window opens |
| To S-matrix | Alt+T | The "Time signal export to S-matrix" window (Section 6.3) |
| Editor | Alt+F7 | Opens the .tos document file in the external text editor set in "Config → Editor". By default the document contains winword.exe; if Word is not installed, first specify an editor (for example, notepad.exe) |
5.3. The "View" menu

| Item | Keys | What it does |
|---|---|---|
| Viewport | Ctrl+H | The "Viewport" window (Section 6.1) |
| Redraw data | Ctrl+W | Reread the files and redraw |
| Zoom ▸ | — | Zoom submenu (5.3.1) |
| Translate ▸ | — | Translate submenu (5.3.2) |
| Status Bar | — | Show/hide the status bar (check mark — shown) |
| Toolbar | — | Show/hide the toolbar (check mark — shown) |
5.3.1. The "View → Zoom" submenu

| Item | Keys | What it does |
|---|---|---|
| ReSize viewport | Ctrl+R | Fit the axes area to the window |
| Zoom + | + | The data window becomes half as large along both axes |
| Zoom +X | X | Half as large along X |
| Zoom +Y | Y | Half as large along Y |
| Zoom - | − | The data window becomes twice as large along both axes |
| Zoom -X | Shift+X | Twice as large along X |
| Zoom -Y | Shift+Y | Twice as large along Y |
| Resize window | Ctrl+T | Turn on autoscale along both axes |
| Auto X size | Alt+X | Turn autoscale X on/off |
| Auto Y size | Alt+Y | Turn autoscale Y on/off |
5.3.2. The "View → Translate" submenu

The submenu contains two nested submenus:
| Submenu | Item | Keys | What it does |
|---|---|---|---|
| Change Xmax, Xmin ▸ | Decrement | ← | Move the window to the left by 10 % of the width |
| Increment | → | Move the window to the right by 10 % of the width | |
| Home | Home | The window goes to the beginning of the signal (with autoscale X off) | |
| End | End | The window goes to the end of the signal (with autoscale X off) | |
| Change Ymax, Ymin ▸ | Decrement | V | Move the window down by 10 % of the height |
| Increment | ↑ | Move the window up by 10 % of the height |
There is no screenshot of the third level of these submenus yet (see Section 9).
5.4. The "Config" menu

| Item | What it does |
|---|---|
| Language / Язык ▸ | The interface language (5.4.1) |
| Editor | A window for selecting a program (*.exe) — the external editor for the "Edit → Editor" command. The choice is written to the document |
| Color ▸ | Colors submenu (5.4.2) |
| Font | The "Select Font" window for the labels of the axes, the grid and the legend (Section 6.6) |
| Phase unwrapping: standard (threshold pi) | A check box: how the phase is unwrapped (5.4.3). The item was added on 26.10.2026 |
5.4.1. The "Language / Язык" submenu

| Item | What it does |
|---|---|
| System / Как в системе | The language of Windows (Russian if the system is Russian, otherwise English) |
| Русский | Russian interface |
| English | English interface |
The check mark shows the current choice. The language changes at once, without a restart, and is remembered. The choice is common to all programs of the package: other programs that are already open at that moment switch to the new language the next time they are started (overview.md, Section 6.2).
5.4.2. The "Config → Color" submenu

| Item | What it changes |
|---|---|
| Background | Background color of the graph area |
| Grid | Color of the dashed coordinate grid |
| Axies | Color of the axes with arrows |
| Point | Color of the point markers (common to all curves) |
| Graphics | Opens the "Graphics parameters" window — color, style and width of the lines of 16 curves (Section 6.4) |
The "Background", "Grid", "Axies", "Point" items open the "Select Color" window (Section 6.5). The selected color is applied at once and written to the document.
5.4.3. The "Phase unwrapping: standard (threshold pi)" item
The check box sets how the program unwraps the phase (converts it from the interval of one turn into a continuous curve) in graphs built from expressions (expression curves).
| Check box state | How the phase is unwrapped |
|---|---|
| Cleared (default) | As before: the phase decreases monotonically — according to Foster's theorem. This is how the author intended it; the graphs do not change compared with the previous versions |
| Selected | Standard unwrapping with the threshold π: a phase jump between neighboring points greater than π (in absolute value) is treated as a crossing of the turn boundary and removed |
The choice is remembered and applies the next time the program is started; when it is switched, the graphs of the active window are redrawn. The same item exists in the TMCGROUT program.
5.5. The "Window" menu

| Item | What it does |
|---|---|
| New Window | Opens the same document in one more window |
| Cascade | Arranges the document windows in a cascade |
| Tile | Arranges the document windows side by side, without overlapping |
5.6. The "Help" menu

| Item | What it does |
|---|---|
| About TMCROS... | The "About TMCROS" window (Section 6.8) |
6. Program windows
6.1. The "Viewport" window
Opened by: the "Viewport" button, View → Viewport (Ctrl+H) or right-clicking inside the axes.

The "Graphics window size" group
| Element | What it sets | Allowed values |
|---|---|---|
| The "Automatic XSize Flag" check box | On — the X limits are chosen from the data, the "X max" and "X min" fields are unavailable | on/off |
| X max, X min | The right and left boundaries of the window along the X axis in the units of the selected X scale | any numbers, X max > X min |
| Format (upper) | The format of the numbers under the X axis in the style of C printf, for example %4.3lg (up to 4 characters wide, 3 significant digits), %.2f, %e |
a string of up to 300 characters |
| The "Automatic YSize Flag" check box | On — the Y limits are chosen from the data, the "Y max" and "Y min" fields are unavailable | on/off |
| Y max, Y min | The upper and lower boundaries along the Y axis | any numbers, Y max > Y min |
| Format (lower) | The format of the numbers at the Y axis | as above |
| The "Default Grid Format" button | Enters the value %4.3lg in both "Format" fields |
— |
The "Graphics type" group — two columns of switches.
X-scale — what is plotted horizontally:
| Switch | X axis |
|---|---|
| nT | Time step number (0, 1, 2, …) |
| psec | Time in picoseconds |
| nsec | Time in nanoseconds |
| mksec | Time in microseconds |
| msec | Time in milliseconds |
| sec | Time in seconds |
Y-scale — what is plotted vertically (the description is based on the source code of the program; see the checklist, item 1):
| Switch | Y axis | How it is obtained |
|---|---|---|
| Signal | The wave value (incident or scattered — see the "Characteristics" window) | Samples from the file without recalculation |
| Amplitude | The signal envelope | At each point — the modulus of the signal at the last local extremum found (maximum or minimum) |
| Phase rad | The phase of the oscillation, 0…2π | From the moments of zero crossing of the signal relative to the period of the frequency from the #TMC_GROTS_Freq line |
| Phase gradus | The same in degrees, 0…360° | The same |
| WSVR | VSWR = (1 + A)/(1 − A), A is the amplitude (envelope) | When A is close to 1, the program substitutes A = 0.9999 |
| L dB | −20·lg A | At A = 0, 0 is displayed |
The "Point" group
| Element | What it does | Values |
|---|---|---|
| The "DrawPoint" check box | Draw markers at the sample points. Each of the 16 curves has its own marker shape; the marker color is common — "Config → Color → Point". While the check box is cleared, "Reduct" and "Point Size" are unavailable | on/off |
| The "Reduct" check box | On — the markers are placed not at every point but about 20 of them over the visible part of the curve. Off — at every point | on/off |
| Point Size | Marker size multiplier | from 0 to 100; 1 — normal size |
The "Color" group and the "Font" button
| Button | What it does |
|---|---|
| Background, Grid, Axies, Point | Applies everything entered in the window (like "OK"), closes the window, opens "Select Color" for the corresponding element, and after the selection opens "Viewport" again |
| Graphics | The same, but opens "Graphics parameters" (Section 6.4) |
| Font | The same, but opens "Select Font" (Section 6.6) |
Bottom part of the window
| Element | What it is |
|---|---|
| The "S-matrix output characteristics file name" field | Read-only: the full path to the open .tos document. The field label is inherited from the TMCGROUT program |
| OK | Apply the settings, redraw the graph and write the document. The label formats and the point size are also remembered as defaults for the next documents |
| Cancel | Close the window without changes |
6.2. The "Characteristics" window
Opened by: the "Characteristics" button, Edit → Characteristics (Ctrl+D) or right-clicking outside the axes.

The window is a table for 20 curves (one row per curve).
| Element | What it is | Allowed values |
|---|---|---|
| The "File name for draw Time Output Signal" field | Read-only: the full path to the .tos document |
— |
| The "S FileName" column | The name of the .t signal file for the curve (relative to the document folder). The column label is inherited from TMCGROUT — .t files are specified here. To delete a curve, erase the file name in its row |
file name |
| The "Input" column | The port number — the ordinal number of the triple of numbers in a data line of the .t (Section 2.4) |
an integer from 1 to 10000 |
| The "Falling or Scattering" column | Two switches in the row: the left one — incident wave, the right one — scattered wave | one of the two |
| The "GraphName" column | The label in the legend. If left empty, the file name is used. Spaces are removed from the label | text |
| The "Visible" column | A check box: show the curve on the graph | on/off |
| OK | Write the changes to the document, reread the data, redraw | — |
| Cancel | Close without changes | — |
| Add | Apply the changes (like "OK"), then open the selection of a .t file; after the curve has been added, the "Characteristics" window opens again |
— |
Curves 1 to 16 are drawn with samples 1–16 from the "Graphics parameters" window; curves 17–20 again with samples 1–4.
6.3. The "Time signal export to S-matrix" window
Opened by: the "To S-matrix" button, Edit → To S-matrix (Alt+T).

The window builds the elements of the scattering matrix from the signals of .t files and writes them to a .s file.
The resulting .s is opened in the TMCGROUT program.
6.3.1. Elements of the window
| Element | What it is / what it does | Values |
|---|---|---|
| The "S-matrix file name" field | The path to the .s file to which the result is written. When the window opens — <document name>.s in the document folder (in the screenshot — poly.s). It can be corrected by hand |
file path |
| The "Change" button | A window for selecting an existing .s file (it opens in the document folder, filter *.s); the selected path is put into the field |
— |
| The "Delete" button | Immediately deletes the file specified in the "S-matrix file name" field, without a question and without the Recycle Bin. It is needed because the export appends data to an existing .s instead of overwriting it |
— |
| The "S FileName" column (20 rows) | Full paths to the .t signal files. When the window opens, it is filled with the files of the document curves. A path can be entered by hand |
path to a .t |
| The "Value for X axies" column | For each row — the number under which its result is written to the .s as the frequency, Hz. When the window opens — the frequency from the #TMC_GROTS_Freq line of the corresponding file (in the screenshot — 1e+10, that is, 10 GHz); for empty rows — 0 |
number, Hz |
| The "Export" column | A check box: whether to process the file of this row. When the window opens, it matches the "Visible" state of the curve | on/off |
| The "Xmin" field | The initial value for auto-filling the "Value for X axies" column | 1e+10 by default |
| The "d X" field | The auto-fill step | 1e+08 by default |
| The "Fill X value" button | Fills all 20 rows of the "Value for X axies" column: Xmin, Xmin + dX, Xmin + 2·dX, … | — |
| The "Time unit" field | Read-only: the unit of the X axis of the main window (ps, ns, mks, ms, s) in which Tmin and Tmax are given. Empty if the nT scale is selected in the main window |
— |
| The "Tmin", "Tmax" fields | The time window whose samples are used to reconstruct the S-matrix. When the window opens — the current X limits of the graph (in the screenshot 0…20034.4 ps). If the main window has the nT scale, 0 and 1 s are substituted, that is, practically the whole signal | Tmax > Tmin |
| The "Export to S" button | Performs the export for all rows with the "Export" check box selected and a non-empty name. The window stays open | — |
| The "Add" button | Selecting one more .t file (in the document folder, filter *.t); the path goes to the first empty row |
— |
| OK | Performs the export (like "Export to S") and closes the window. If the export ended with an error, the window does not close | — |
| Cancel | Closes the window without export. An "Export to S" already performed is not undone | — |
| Message field (at the bottom of the window) | After the export: No error — success, otherwise — the error text (Section 6.3.4). The export stops at the first file with an error |
— |
Before exporting again, delete the old
.swith the "Delete" button (or by hand). If the old file is left, the new points are added to it, and the results of different computations get mixed in TMCGROUT."OK" repeats the export. If you have already clicked "Export to S" and simply want to close the window, click "Cancel".
6.3.2. How the S-matrix is built from a single-frequency signal
The description is based on the source code (tmcsmatrix.cpp); for the scientific wording, see the checklist, item 2.
- Only the samples whose time lies in the Tmin…Tmax window are taken from the
.tfile. The window must be chosen on the steady-state part of the signal. There must be more than 5 samples in the window. - The excited port is the one whose incident wave is non-zero. There must be exactly one such port: it determines the S-matrix column that will be written.
- For each port, the amplitude and phase of the harmonic oscillation at the frequency from the
#TMC_GROTS_Freqline of the file are reconstructed from pairs of neighboring samples of the scattered wave. The results over all pairs are averaged — this gives the complex response Uo. - Normalization to the incident wave (since 26.10.2026). In the same way, the complex amplitude Up of the incident wave
of the excited port is reconstructed from its samples, and the S-matrix element is
S = Uo/Up. Therefore a port amplitude ≠ 1 and a phase ≠ 0 in the task are allowed. If Up differs from 1
by less than 10⁻³, this is treated as recording noise of the
.t, and no division is made. If there is no incident wave in the window, this is an error. Previously, S = Uo was correct only for amplitude 1 and phase 0. - If the S element is not a number (NaN or Inf — for example, with a diverging field), this is an error, not
a NaN in the
.sfile (since 26.10.2026). - The column is written to the
.swith the frequency from the "Value for X axies" column.
Zeros in the window (since 29.10.2026). If pairs of samples with zero (the wave has not arrived yet) fall into the Tmin…Tmax window, TMCROS issues a warning (the "To S-matrix" window). The kernel with the
SMATRIXdirective issues the same warning — to the console and to the status bar, and the result of the computation is "Done, with warnings". The averaging does not change: the window is chosen by the user (sometimes a non-stationary average is needed too).
One .t file of a computation at one frequency gives one frequency point. To obtain a frequency
response, several computations at different frequencies are needed (one .t file per frequency): list
all the files in the window, check the "Value for X axies" column and click "Export to S".
The kernel uses the same method with the
SMATRIXdirective (S = Uo/Up). In the kernel, theSMATRIXfrequency in the single-frequency mode must equal theFREQof the step (Task file .tpl, Section 7.4); in the TMCROS window the "Value for X axies" column can still be changed by hand.
6.3.3. Wideband signal: all frequencies in one export
If the .t file has been obtained by a wideband computation (the incident wave is given by a .sig file with
several frequencies or a pulse), the kernel marks it with the line #TMC_GROTS_Wideband 1. For such
files, "Export to S" works differently:
- the frequencies are taken from the
#TMC_GROTS_SigFreqline (the kernel copies it from the#FREQline of the signal file), and if it is absent, they are found from the spectrum of the incident wave; the "Value for X axies" column is not used for such files; - the Tmin…Tmax window is taken into account (since 26.10.2026): only the samples inside the window are used for the frequency decomposition. Previously the window was not used for such files. To process the whole signal, set a window covering the whole computation;
- the program itself distinguishes a continuous multitone (decomposition on the steady-state part) and a pulse (integral over the whole interval);
- the port mismatch is removed (the port is matched by the kernel only at the
FREQfrequency); - if the pulse response has not decayed by the end of the window (more than 1 % of the peak in the last 5 % of the window) or the window starts while the incident pulse is still going on, the program shows a message box with a warning; the S-matrix is written anyway (figure below);
- if an error occurred at some frequency (for example, the frequency is below the port cutoff), zeros are written at this frequency, and the other frequencies are computed (since 26.10.2026);
- all the frequencies found are written to the
.sat once.

The message after "To S-matrix" for a wideband .t computed with too short a
time: the S-matrix has been written, but the response has not decayed by the end of the window (4.5 % of the peak) — the spectrum is distorted;
increase TIME or the window Tmax.
Details, accuracy and limitations are in the description of the multi-frequency computation:
Multi-frequency computation and samples/MULTIFREQ/README.md.
The kernel with the
SMATRIXdirective in the task can write such a.sitself, without TMCROS (see Multi-frequency computation). The usual way to obtain a.swith many frequencies is a sweep: several#STEPsteps with differentFREQwritingSMATRIXto one file (see Task file .tpl, Section 7.4).
6.3.4. Error messages
| Text in the message field | Cause | What to do |
|---|---|---|
Tmax <= Tmin |
The time window is set incorrectly | Correct Tmin/Tmax |
Can't open file {…} |
The .t file is not found |
Check the path in the row |
nPoint is N ( <=5 ) ( Tmin=…; Tmax=… ) in file {…} |
There are five samples or fewer in the Tmin…Tmax window. A frequent cause is that the window is given in the wrong units (Tmin/Tmax are in the unit from the "Time unit" field, while the time in the file is in seconds) | Widen the window, or select a time scale in the main window and open the export window again |
There are no exited inputs in file {…} |
There is no incident wave at any port | Check the task: the port excitation |
Not one is exited of inputs in file {…} |
There is an incident wave at more than one port | The export needs a computation with one excited port |
No incident wave (Up) of the excited input N in the window Tmin=…; Tmax=… in file {…} |
There is no incident wave of the excited port in the Tmin…Tmax window — there is nothing to divide by (Section 6.3.2, item 4) | Move the window to a part where the incident wave is present |
S of input N is not a number (NaN or Inf: the field of the calculation diverged) in file {…} |
The S element is NaN or Inf (diverging field) | Check the task and the result of the kernel computation |
Save: error when save to … from file {…} |
The .s could not be written |
Check the permissions for the folder and whether the file is open in another program |
Wideband: … (for example, Wideband: no excited port, Wideband: no frequency carries energy in this file, Wideband: can not write the S-matrix file) |
An error of the wideband processing | Check the signal file and the task; see Multi-frequency computation |
6.4. The "Graphics parameters" windows
Two different windows open under this title.
The list of line samples. Opened by: Config → Color → Graphics or the "Graphics" button in the "Viewport" window.

| Element | What it does |
|---|---|
| 16 line samples (on the left) | What the line of the curve with the corresponding number looks like (row 1 — curves 1 and 17, …, row 16 — curve 16) |
| The "Change" button in each row | Opens the line style window for this sample (see below) |
| Default | Restores the original colors, styles and widths of all 16 samples |
| OK | Apply, redraw, write to the document |
| Cancel | Close without changes |
The style of one line. Opened with the "Change" button.

| Element | What it does | Values |
|---|---|---|
| The "Style" group | Five switches with samples on the left: "Solid", "Dash", "Dot", "DashDot", "DashDotDot" | one of five |
| The "Width" group | Five switches with samples: line width 1, 2, 3, 4, 5 pixels (from top to bottom) | one of five |
| Color | The "Select Color" window for this line | — |
| OK | Remember the style for the sample | — |
| Cancel | Close without changes | — |
The width is available only for a solid line. When any other style is selected, the width is reset to 1 pixel, and the other width options become unavailable.
6.5. The "Select Color" window
Opened by the "Background", "Grid", "Axies", "Point" items and by the "Color" button in the line style window.

| Element | What it does |
|---|---|
| Large color field | Saturation horizontally, brightness vertically; click or drag the circle pointer |
| Rainbow bar under the field | Hue |
| Eyedropper button (top right) | Pick a color anywhere on the screen: click the required point; Esc cancels |
| The "BEFORE / AFTER" block | On the left — the original color, on the right — the selected one; under them the #RRGGBB codes. Clicking the "BEFORE" half restores the original color |
| The "HEX" field | The color code #RRGGBB or #RGB |
| R, G, B sliders and fields | The red, green and blue components, from 0 to 255 |
| "PROJECT PALETTE" | Ready colors of the TMC Suite design |
| "GRAPH COLORS" | Classic colors of graph lines |
| "RECENT" | Colors selected earlier; while there are none, the label "Selected colors will appear here" |
| Cancel | Close without changing the color |
| OK | Apply the color |
6.6. The "Select Font" window
Opened by: Config → Font or the "Font" button in the "Viewport" window. The font is applied to the numbers at the axes, the axis labels and the legend.

| Element | What it does |
|---|---|
| "Font" (field and list) | The font name (in the screenshot — Times New Roman) |
| "Font style" | Regular, Italic, Bold, Bold Italic |
| "Size" | Size in points |
| "Effects": "Strikeout", "Underline" | Formatting check boxes |
| "Writing System" | Character set ("Any" — no restrictions) |
| "Sample" | What the selected font looks like |
| OK / Cancel | Apply / close without changes |
6.7. Print windows
- Print (Ctrl+P) — the Windows system print window: printer selection, number of copies. The same image as on the screen goes to paper. To save to PDF, select the "Microsoft Print to PDF" printer.
- Print Preview — the "Print Preview" window: the page with the graph before printing.
- Print Setup... — the "Print Setup" window: paper, orientation, margins.
6.8. The "About TMCROS" window

| Element | What it is |
|---|---|
| Icon and name "TMCROS" | The program |
| Description | "Viewer for signals, amplitudes and phases of incident and reflected waves at the device ports." Under it is a second description line (in the current version it erroneously says "TMC Suite S-matrix viewer.", see the checklist, item 7) |
| "Version 5.0", "2026", "Windows · x64" | Package version, year, platform |
| "AUTHOR: K. N. Klimov, © 2026" | The author |
| GitHub, LinkedIn, ResearchGate, eLibrary | Link buttons to the author's pages (opened in the browser; the address is shown in the tooltip) |
| www.tamic.ru | The project website |
| "User Manual" | Opens the manual: a PDF in the interface language next to the program — TMC_Suite_5.0_Руководство_пользователя.pdf or TMC_Suite_5.0_User_Manual.pdf ("PDF" tag), and if there is none — the manual on the website www.tamic.ru/docs/user-manual/index.html ("ONLINE" tag) |
| "TMC Suite 5.0 · Qt …" | The version of the package and of the Qt library |
| OK | Close the window |
7. Typical tasks step by step
7.1. View a signal after a computation
- The kernel task must have the
FILE <name>;line in the#OUTPUTsection (it is mandatory). - After the computation, click the "Output" button in the kernel — TMCROS opens with the
<name>.tfile. Or start TMCROS yourself and open<name>.t(Ctrl+O). - If the curve is not visible in full, click "Resize window" (Ctrl+T).
- To have time along the X axis, open "Viewport" (Ctrl+H) and select in "X-scale", for example, "nsec" → OK.
7.2. Show the incident and scattered wave of a port on one graph
- Open the
.tfile. - Click "Characteristics" (Ctrl+D).
- In the second row, enter in "S FileName" the same file name as in the first one (for example,
poly.t). - In both rows, set "Input" = 1. In the first row, select the left switch (incident wave), in the second one the right switch (scattered wave).
- Set the labels in "GraphName" (for example,
padandrass), select "Visible" → OK.
7.3. View the amplitude, phase, VSWR or losses
- Ctrl+H → "Y-scale" → the required switch → OK.
- Turn on "Auto Y size" (Alt+Y) if the curve has gone off the edge.
7.4. Enlarge a part of the signal
- Drag a frame with the mouse inside the axes (Section 3.1), or
- press "Zoom +X" (the X key) and move the window with the ← / → arrows.
- To return to the whole view: double-click inside the axes or press Ctrl+T.
7.5. Obtain an S-matrix from single-frequency computations
- Compute the task at several frequencies so that each frequency has its own
.tfile and one port is excited. - Open one of the
.tfiles and add the others ("Add characteristics"). - In "Viewport", select a time X scale (for example, "nsec") and select with the mouse the steady-state part of the signal — its limits become the Tmin…Tmax window.
- Click "To S-matrix" (Alt+T).
- Click "Delete" to erase the old
.s(if there was one). - Check the "Value for X axies" column (the frequencies from the files) and the "Export" check boxes.
- Click "Export to S".
No errormust appear in the bottom field. - Close the window with the "Cancel" button (OK would repeat the export).
- Open the resulting
.sin TMCGROUT.
7.6. Obtain an S-matrix from a single wideband computation
- Open the
.tfile of the wideband computation (its header contains#TMC_GROTS_Wideband 1). - Alt+T → check the Tmin…Tmax window (it is taken into account; for the whole signal, a window over the whole computation) →
"Delete" (erase the old
.s) → "Export to S". - If a message box about a response that has not decayed appears, check the window and the computation time; the S-matrix has been written anyway.
- Check for
No error, close the window with "Cancel" and open the.sin TMCGROUT: it will contain all the frequencies of the signal.
7.7. Save the layout and print
- Set the zoom, colors, font — the document is written automatically.
- To save under another name: File → Save As...
- File → Print Preview → check the page → Ctrl+P → select the printer → "Print".
7.8. Choose the phase unwrapping method
- Open the Config menu.
- Click the "Phase unwrapping: standard (threshold pi)" item: check box selected — standard unwrapping with the threshold π; cleared — the phase decreases monotonically (as before).
- The graphs of the active window are redrawn; the choice is remembered.
8. Frequently asked questions and errors
| Situation | Cause | What to do |
|---|---|---|
| Opened another file — the graph is empty or only part of it is visible | The window limits are remembered; with autoscale off, the new data may lie outside the window | Click "Auto X size" and "Auto Y size" (Alt+X, Alt+Y) or Ctrl+T |
The legend shows Error_when_read_<file> |
The .t file is not found or is empty |
Check that the .t is next to the .tos and that the name in "Characteristics" is correct; recompute with the kernel |
The text Error : … instead of a graph |
Error reading the document | Open the .t file itself, not the damaged .tos |
| The graph has not changed after recomputation | Updating happens about every 10 seconds | Press Ctrl+W |
| The "Home" and "End" buttons do nothing | Autoscale X is on | Turn off "Auto X size" (Alt+X) |
| A frame drawn with the mouse does not enlarge the graph | The frame is smaller than 10 % of the window along both axes | Drag a larger frame |
| There are no cursor coordinates in the status bar | A feature of the current version of TMCROS (Section 3) | Use the grid and the axis labels |
A .$os file has appeared next to the .tos |
A .t was opened for which a .tos already existed |
This is a backup document; it can be deleted or used |
| Points of different computations got mixed in TMCGROUT | The export appended data to the old .s |
Click "Delete" before the export |
Export: nPoint is … ( <=5 ) |
The Tmin…Tmax window is empty or has too few samples | Section 6.3.4 |
| The S-matrix of a wideband file differs from the one obtained earlier | Since 26.10.2026 the Tmin…Tmax window is taken into account | Set a window over the whole computation to process the whole signal (Section 6.3.3) |
| A message box about a response that has not decayed when exporting a wideband file | The pulse response has not decayed by the end of the window, or the window starts during the incident pulse | Widen the window or increase the computation time TIME in the task; the S-matrix has been written (Section 6.3.3) |
| The phase of an expression curve "jumps" differently than expected | Another phase unwrapping method is selected | Config → Phase unwrapping: standard (threshold pi) (Section 5.4.3) |
| "Edit → Editor" opens nothing | No editor is set (winword.exe by default) |
"Config → Editor" → select, for example, C:\Windows\notepad.exe |
| The labels on the graph are in English | They are drawn by the computational part of the program | This is intended; the language of the menus and windows is set in "Config → Language / Язык" |













































