Skip to content

atlanswer/AntCal

Repository files navigation

AntCal

Read the Docs Flit PyAnsys PyPI - Version PyPI - Downloads PyPI - Status PyPI - Python Version MIT license

Antenna calculator: https://antcal.readthedocs.io

Figure: https://antcal.atlanswer.com

Usage

Python Package

Install

pip install antcal

Development

Figure

pnpm i
pnpm dev:figure
pnpm build

Python package

cd python
# Create lockfile
conda-lock lock --mamba -e vis -e docs -f pyproject.toml
# Restore `conda` environment
conda-lock install --mamba --dev -E vis -E docs -p ./venv conda-lock.yml
# Build
flit build

C++ package

Currently in backlog

C++ implementation is on the branch cpplib. A build environment is required. All presets are documented in CMakePresets.json.

# Fetch vcpkg
git submodule update --init --recursive
# Configurate
cmake --preset <preset>
# Build
cmake --build --preset <preset>
# Test
ctest --preset <preset>