Coder Social home page Coder Social logo

im-zshan / line-encoder-and-scrambler Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 1.06 MB

Line Encoder and Scrambler with digital data generator and graph plotter using Python.

License: MIT License

Python 100.00%
line-encoder line-encoding ami b8zs data-communication decoder differential-manchester encoder encoder-decoder hdb3

line-encoder-and-scrambler's Introduction

Line-Encoder-and-Scrambler

Line Encoder and Scrambler with digital data generator and graph plotter using Python. It includes Line Encoding schemes like: NRZ-I, NRZ-L, Manchester, Differential Manchester, AMI and scrambling techniques like HDB3 and B8ZS.

Setup

As I am using MacOS so, I will be doing this setup for Mac only

  • Firstly, We have to install Python and pip on macOS. There are two ways to Download Python and pip on macOS.
  1. Either you can download Python using the official Website: https://www.python.org/
  2. Or, you can download Python by using this brew command in the terminal:

I will be doing it using HomeBrew,

$ brew install python

After installing Python and pip in MacOS (pip get automatically installed with python), we will use pip manager to install Python Turtle Package.

  • Run the below command in the terminal to install Turtle Library:
$ pip install PythonTurtle
  • Verifying the installation of the Turtle Package
$ pip show PythonTurtle
  • Below output will be displayed after the successful installation of the Python Turtle Library on your macOS
Name: PythonTurtle
Version: ********
Summary: ********
Home-page: ********
Author: ********
License: ********
Location: ********
Requires: ********
Required-by: ********

Usage in Command Line

$ git clone https://github.com/im-zshan/Line-Encoder-and-Scrambler.git
$ cd Line-Encoder-and-Scrambler
$ python Line\ Encoder.py

Output

Select the input method:
1. Completely Random String
2. String with fixed Sub-sequences
3. Completely Manual input

Assumptions

  • All encoding schemes are implemented using positive logic
  • Manchester encoding uses IEEE (802.3) convention
  • It is assumed that the user will give binary data (0,1) to the encoder

line-encoder-and-scrambler's People

Contributors

im-zshan avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.