Skip to content

JohannesWeinbrecht/pyCDMA

Repository files navigation

(s)CDMA Simulation using python

This project created as part of the Kommunikation & Netze lecture and the corresponding exercises.

Project setup and usage

The project is setup using uv.

To run the CLI simulation use uv run main.py.

Use uv run group_example.py to run the group example exercise.

Use uv run cdmaEncoder.py or uv run cdmaDecoder.py to run the encoder or decoder.

Project structure

CDMA folder: Features medium and station classes, representing the medium between the stations and stations itself.

simulation.py: Features the default interactive CLI simulation which uses CDMA in the background and shows the correctly recalculated values that all stations find.

group_example: Exercise normally done in groups with station codes set and arbitrary messages send by the stations.

cdmaEncoder: Encodes using stationcodes and messages to a full length station code number series. This series is represented by a list that is printed in the end.

cdmaDecoder: Decodes cdma using stationcodes codelength and the full message number series from the encoder.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages