Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update wiki for recent P2108 and LFMF publications #4

Open
wants to merge 24 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
e9612c7
Add pip-install instructions for P2108
aromanielloNTIA Nov 1, 2024
a801621
fix Python example output values
aromanielloNTIA Nov 6, 2024
419d68c
Merge branch 'main' into p2108-python-release
aromanielloNTIA Nov 21, 2024
b3ae6f5
Update setup-python workflow version
aromanielloNTIA Nov 21, 2024
ececeb0
consistent name for P2108
aromanielloNTIA Nov 21, 2024
b39e3c1
Remove "U.S. Reference Implementation"
aromanielloNTIA Nov 21, 2024
08b03f2
Update .gitignore
aromanielloNTIA Dec 3, 2024
a4922b4
Add initial LFMF documentation
aromanielloNTIA Dec 3, 2024
838c866
Add legacy models to index table, add link to LFMF
aromanielloNTIA Dec 3, 2024
a814718
Update .gitignore
aromanielloNTIA Dec 3, 2024
4c0198e
Fix typo
aromanielloNTIA Dec 3, 2024
6c0e48d
Add P2108 MATLAB documentation
aromanielloNTIA Dec 3, 2024
7ae46c9
Refactor language-specific includes and update P2108 pages
aromanielloNTIA Dec 3, 2024
6776197
Update NTIA logos
aromanielloNTIA Dec 18, 2024
f2ed7bb
Add command-line driver page
aromanielloNTIA Dec 18, 2024
33d9aa4
P2108 C++ updates
aromanielloNTIA Dec 18, 2024
658ac91
Update driver intro section
aromanielloNTIA Jan 10, 2025
7c2858b
Merge branch 'p2108-python-release' into add-lfmf
aromanielloNTIA Jan 10, 2025
55f2fb9
Add LFMF driver documentation page
aromanielloNTIA Jan 10, 2025
50b50f5
Update driver executable file names
aromanielloNTIA Jan 10, 2025
cc22b58
Merge branch 'add-lfmf' into p2108-python-release
aromanielloNTIA Jan 24, 2025
f64f6e4
Update P2108 and LFMF pages
aromanielloNTIA Jan 24, 2025
15f5c7b
Delete outdated ITM files
aromanielloNTIA Jan 24, 2025
a13ffa2
Update .gitignore
aromanielloNTIA Jan 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/quarto-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: quarto-dev/quarto-actions/setup@v2

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.10'
- run: pip install jupyter
Expand Down
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/.quarto/
_site
models/eHata
models/ITM-MidBand
models/TIREM
models/P528
**/index_files/
**/*_files
/env/
.vscode
6 changes: 3 additions & 3 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ website:
description: |
The NTIA/ITS Propagation Library: a versatile and robust set of
tools for propagation modeling. Learn more on our wiki.
image: images/ntia-logo-300px.png
image: images/ntia-logo-dark-bg-1946px.png
image-alt: National Telecommunications and Information Administration Logo
image-width: 300
image-height: 300
Expand All @@ -19,7 +19,7 @@ website:
description: |
The NTIA/ITS Propagation Library: a versatile and robust set of
tools for propagation modeling. Learn more on our wiki.
image: images/ntia-logo-300px.png
image: images/ntia-logo-dark-bg-1200x630.png
image-alt: National Telecommunications and Information Administration Logo
image-width: 300
image-height: 300
Expand All @@ -32,7 +32,7 @@ website:
text: Home
- text: "U.S. Models"
menu:
- Coming Soon
- models/LFMF/index.qmd
- text: "ITU-R Models"
menu:
- models/P2108/index.qmd
Expand Down
Binary file added images/matlab/add-ons-menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/matlab/add-to-matlab-menu.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/matlab/install-online.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/matlab/manage-add-ons-context-menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/matlab/manage-add-ons-menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/ntia-logo-300px.png
Binary file not shown.
Binary file added images/ntia-logo-dark-bg-1200x630.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/ntia-logo-dark-bg-1946px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions includes/_getting_started.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

This page documents the inputs, outputs, and primary functions of this software in a language-agnostic way. Language-specific documentation is additionally provided for this library. The pages linked below include installation instructions as well as usage examples for each supported language.

[Command-Line Driver](driver.qmd){.btn .btn-secondary role="button"}
[C++](cpp.qmd){.btn .btn-secondary role="button"}
[.NET](dotnet.qmd){.btn .btn-secondary role="button"}
[MATLAB](matlab.qmd){.btn .btn-secondary role="button"}
Expand Down
File renamed without changes.
9 changes: 9 additions & 0 deletions includes/driver/_general_usage.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# General Usage

## Input Files

Inputs to the command-line driver are specified in an ASCII text file using the common `key,value` format. Each line holds a single `key,value` combination, with the `key` representing the model input variable name and the `value` representing its value. Refer to the [examples](#examples) below to see the specific keys required for this model's inputs. Note that key names are not case-sensitive.

## Output Files

After parsing the inputs and running the software, the command-line driver will generate an output report file containing the results. This file contains a record of the input parameters along with the model outputs and human-readable supporting details. Refer to the [examples](#examples) below to see the expected format of output files generated by this model.
9 changes: 9 additions & 0 deletions includes/driver/_intro_and_installation.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Each model in the Propagation Library is distributed with an accompanying command-line driver program.
This program allows the user to run the model from the command line on Windows, macOS, or Linux.
The model inputs and outputs are handled using simple text files. No programming experience is required to
use the command-line driver.

{{< include /includes/_link_to_model_home.qmd >}}

# Installation

3 changes: 3 additions & 0 deletions includes/matlab/_documentation.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Documentation

All functions and/or objects provided by this MATLAB Toolbox contain built-in help documentation. This means that you can find details about inputs, outputs, and usage syntax right from the MATLAB Command Window. For example:
13 changes: 13 additions & 0 deletions includes/matlab/_examples.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## Examples

The code examples provided here are also included in the toolbox itself, as MATLAB Live Scripts. To access these, view the toolbox "Getting Started" guide as follows.

1. Once installed, view the toolbox in the **Add-Ons > Manage Add-Ons** menu as shown in @fig-matlab-manage-add-ons-menu-2.

![](/images/matlab/manage-add-ons-menu.png){#fig-matlab-manage-add-ons-menu-2 fig-alt="A screenshot showing the MATLAB 'Manage Add-Ons' menu option" width=300 fig-align="left"}

1. Find the installed toolbox in the list, and click the **⋮** icon and select **View Getting Started Guide** as shown in @fig-matlab-manage-add-ons-context-menu.

![](/images/matlab/manage-add-ons-context-menu.png){#fig-matlab-manage-add-ons-context-menu fig-alt="A screenshot showing the context menu for an installed toolbox in the MATLAB 'Manage Add-Ons' menu" width=300 fig-align="left"}

1. Under the **Examples** heading, links are provided for Live Script example programs which demonstrate usage of the toolbox in an interactive way. The same code examples are additionally provided below.
31 changes: 31 additions & 0 deletions includes/matlab/_getting_started.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
There are two easy ways to install the toolbox: [from a browser](#installing-from-a-browser) or [from within MATLAB](#installing-from-within-matlab).

### Installation from a Browser

1. Open this package's page on the File Exchange using the link provided [above](#getting-started).

1. In the upper-right, click **Download > Toolbox** as shown in @fig-matlab-install-online. A file with a `.mltbx` extension will download.

![](/images/matlab/install-online.png){#fig-matlab-install-online fig-alt="Screenshot showing the 'Download Toolbox' option on the MathWorks File Exchange website" width=250 fig-align="left"}

1. Optionally, move the downloaded file into your project directory.

1. Within MATLAB, navigate to the `.mltbx` file and double-click it.

### Installation from Within MATLAB

1. Open MATLAB and select **Add-Ons > Get Add-Ons** in the toolbar, as shown in @fig-matlab-add-ons-menu. The Add-On Explorer window will open.

![](/images/matlab/add-ons-menu.png){#fig-matlab-add-ons-menu fig-alt="A screenshot showing the MATLAB 'Get Add-Ons' menu option" width=300 fig-align="left"}

1. Search for this package by its name.

1. In the upper-right, click **Add > Add to MATLAB** as shown in @fig-matlab-add-to-matlab-menu.

![](/images/matlab/add-to-matlab-menu.png){#fig-matlab-add-to-matlab-menu fig-alt="A screenshot showing the 'Add to MATLAB' option for a toolbox within the Add-On Explorer" width=200 fig-align="left"}

### Uninstallation

Regardless of how you installed the toolbox, you can uninstall it at any time from the **Add-Ons > Manage Add-Ons** menu. This is available in the MATLAB toolbar as shown in @fig-matlab-manage-add-ons-menu.

![](/images/matlab/manage-add-ons-menu.png){#fig-matlab-manage-add-ons-menu fig-alt="A screenshot showing the MATLAB 'Manage Add-Ons' menu option" width=300 fig-align="left"}
12 changes: 12 additions & 0 deletions includes/python/_getting_started.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
## Getting Started

All ITS PropLib Python packages require a
[currently-supported](https://devguide.python.org/versions/)
version of Python. You may choose to use a tool such as
[pyenv](https://github.com/pyenv/pyenv) or
[conda](https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html)
to manage multiple Python versions on your machine. Additionally,
you may choose to set up a virtual environment for your project,
using conda or a tool such as [`venv`](https://docs.python.org/3/library/venv.html).
Installation instructions assume that you have a supported version of Python installed,
and that you're working from the desired Python environment.
4 changes: 4 additions & 0 deletions includes/python/_uninstallation.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
### Uninstallation

Uninstalling this Python package is also simple. Run the following
command in your Python environment.
42 changes: 26 additions & 16 deletions index.qmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "ITS Propagation Library Wiki"
date: 2024-06-11
date-modified: 2024-11-20
date-modified: 2024-12-02
---

The ITS Propagation Library (**"PropLib"**) is a collection of open source software developed by [ITS](about.qmd), focused on modeling radio wave propagation under a wide variety of circumstances. The library currently supports C++, .NET, MATLAB®, and Python users through exposing common functionality across multiple programming environments. One of the key benefits of this approach is that users are assured of identical results across languages, allowing researchers to work in their most efficient development environment while benefitting from common library improvements.
Expand All @@ -12,25 +12,35 @@ Currently, PropLib includes implementations of propagation models developed by t

### U.S. Propagation Models

Over the years, ITS has developed and refined various programs for the prediction of radio propagation in a wide range of situations.

Documentation pages are being worked on, and will soon be available through links in the following table, for the following U.S. propagation models:

::: {.callout-warning}
## Page Under Construction

The listed U.S. propagation models have public code repositories, but
The HF, IF77, and MPM models are distributed as legacy software, and do not
yet have public GitHub repositories.
The eHata and ITM models have public code repositories, but
documentation is not yet available on this website. Please check back
later, and contact [[email protected]](mailto:[email protected]) with questions
in the meantime.
:::

+----------:+:-------------------------------------:+:----:+:---------------------------------------------------+
| **eHata** | [Repo](https://github.com/NTIA/eHata) | Docs | Extended Hata Urban Propagation Model |
+-----------+---------------------------------------+------+----------------------------------------------------+
| **ITM** | [Repo](https://github.com/NTIA/ITM) | Docs | Irregular Terrain Model |
+-----------+---------------------------------------+------+----------------------------------------------------+
| **LFMF** | [Repo](https://github.com/NTIA/LFMF) | Docs | Low Frequency / Medium Frequency Propagation Model |
+-----------+---------------------------------------+------+----------------------------------------------------+
: U.S. propagation models available in the ITS Propagation Library {tbl-colwidths="[15,10,10,65]"}
+----------:+:-------------------------------------:+:-----------------------------------------------------------------------:+:---------------------------------------------------+
| **eHata** | [Repo](https://github.com/NTIA/eHata) | Docs | Extended Hata Urban Propagation Model |
+-----------+---------------------------------------+-------------------------------------------------------------------------+----------------------------------------------------+
| **HF** | [Legacy Software](https://its.ntia.gov/software/high-frequency/high-frequency-propagation-models/) | High Frequency Propagation Models |
+-----------+---------------------------------------+-------------------------------------------------------------------------+----------------------------------------------------+
| **IF77** | [Legacy Software](https://its.ntia.gov/software/if-77-electromagnetic-wave-propagation-model-gierhart-johnson/) | The IF-77 Electromagnetic Wave Propagation Model |
+-----------+---------------------------------------+-------------------------------------------------------------------------+----------------------------------------------------+
| **ITM** | [Repo](https://github.com/NTIA/ITM) | Docs | Irregular Terrain Model |
+-----------+---------------------------------------+-------------------------------------------------------------------------+----------------------------------------------------+
| **LFMF** | [Repo](https://github.com/NTIA/LFMF) | [Docs](models/LFMF/) | Low Frequency / Medium Frequency Propagation Model |
+-----------+---------------------------------------+-------------------------------------------------------------------------+----------------------------------------------------+
| **MPM** | [Legacy Software](https://its.ntia.gov/software/millimeter-wave-propagation-model-mpm/) | Millimeter-wave Propagation Model |
+-----------+---------------------------------------+-------------------------------------------------------------------------+----------------------------------------------------+
: U.S. propagation models available in the ITS Propagation Library {tbl-colwidths="[15,20,10,55]"}

### ITU-R Recommendations

Expand All @@ -43,10 +53,10 @@ The P.528 model has a public code repository, but documentation is not yet avail
in the meantime.
:::

+-----------:+:-------------------------------------:+:------------------------------:+:------------------------------------------------------------+
| **P.528** | [Repo](https://github.com/NTIA/P528) | Docs | A propagation prediction method for aeronautical mobile and |
| | | | radionavigation services using the VHF, UHF, and SHF bands |
+------------+---------------------------------------+--------------------------------+-------------------------------------------------------------+
| **P.2108** | [Repo](https://github.com/NTIA/p2108) | [Docs](models/P2108/index.qmd) | Prediction of clutter loss |
+------------+---------------------------------------+--------------------------------+-------------------------------------------------------------+
+-----------:+:-------------------------------------:+:---------------------:+:------------------------------------------------------------+
| **P.528** | [Repo](https://github.com/NTIA/P528) | Docs | A propagation prediction method for aeronautical mobile and |
| | | | radionavigation services using the VHF, UHF, and SHF bands |
+------------+---------------------------------------+-----------------------+-------------------------------------------------------------+
| **P.2108** | [Repo](https://github.com/NTIA/p2108) | [Docs](models/P2108/) | Prediction of clutter loss |
+------------+---------------------------------------+-----------------------+-------------------------------------------------------------+
: ITU-R Recommendations implemented in the ITS Propagation Library {tbl-colwidths="[15,10,10,65]"}
15 changes: 0 additions & 15 deletions models/ITM/_metadata.yml

This file was deleted.

5 changes: 0 additions & 5 deletions models/ITM/cpp.qmd

This file was deleted.

Loading
Loading