Skip to content

A conversion code from digital data elements to digital signals according to Line Coding Schemes in Python.

License

Notifications You must be signed in to change notification settings

CaptainAbdullah/Line-Coding-Schemes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Line-Coding-Schemes

Line coding schemes are used to translate digital data to digital signals. They are mainly used in physical Layer of OSI model during digital transmission. Following types of LCS are implemented in this src code:

  1. NRZ Unipolar (Non-return to Zero-Unipolar)
  2. NRZ-L (NRZ Level Polar)
  3. NRZ-I (NRZ Invert Polar)
  4. RZ (Return-to-Zero)
  5. Manchester
  6. Differential Manchester
  7. AML (Alternate Mark Inversion)
  8. 2B1Q

These schemes are implemented in the attached file "lineCodingSchemes.py". I used matplotlib to plot graph of the generated signal. This code has a little issue. In all schemes, we need to append 1 in list "y" to generate correct pattern of the scheme.

You can take this code and try to update it.
Thanks!

About

A conversion code from digital data elements to digital signals according to Line Coding Schemes in Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages