Git Product home page Git Product logo

coaxcalculator's Introduction

Coax Calculator

Open source coaxial cable loss calculator.

Calculates total loss for various feedlines, based on frequency, length and input power.

How does it work?

The most important part of the calculator is cables file. It contains attenuation data specified by cable manufacturer for various frequencies, extracted from the datasheet:

h155-belden:
  name: H155 (Belden)
  manufacturer: Belden
  type: H155
  attenuation: { 5: 2.5, 50: 6.9, 100: 9.1, 230: 13.4, 400: 18.0, 800: 26.1, 862: 27.3, 1000: 29.6, 1350: 34.9, 1750: 40.3, 2150: 46.0, 2400: 49.1, 3000: 56.3, 4200: 69.1, 5800: 75.1, 5400: 80.8, 6000: 86.5 }
  data_source: https://www.tme.eu/Document/18ee3e29381bee0e348180bedff1050b/H155BK_EN.PDF
  additional_info:
    ext_diameter_mm: 5.4
    velocity_factor: 0.8
    impedance: 50

Since the attenuation is specified for a given frequency values, usually different for every manufacturer, a simple linear interpolation is performed to obtain attenuation values for a frequency of interest.

How to contribute?

If your favourite cable is not on the list, please add it to cables.yaml, including all the fields as in the example above and open a pull request.

coaxcalculator's People

Contributors

canislupus11 avatar olgierd avatar stegro avatar sabistik avatar walczakkamil avatar quamilek avatar pidpawel avatar sq9nje avatar rbidas avatar sp9rqa avatar

Stargazers

 avatar  avatar Tymoteusz Czech avatar  avatar  avatar Jacek Bienias avatar Paweł Pyzik avatar Kamil Figiela avatar  avatar Maciek SP5IDC avatar Przemysław Kopański avatar  avatar Dominik Szymański avatar

Watchers

 avatar  avatar  avatar

coaxcalculator's Issues

Attenuation unit in YAML file

This is a nitpick: in order to make YAML file edition easier it'd be nice to have a single entry in the file heavily commented with things like units and so on. For me it was kinda confusing whether I should be converting attenuation to dB/m or something else.

Make Github link more visible

This is a nitpick.
I know that in the resulting page there is a link to Github but it wasn't obvious for me when I was looking for it. It'd be nice to add it under the <a>github.com/olgierd/coaxcalculator</a> or something similar.

Selecting cable name with mouse not possible

Small thing - selecting cable name (just cable name) with mouse - to be able to "copy" it (and then paste somewhere else) is impossible.

Here (google chrome 124.0.6367.119) it gets unselected automatically after releasing left mouse button.

Would be nice to be able to easily copy & paste names to google for their prices, availability etc.

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.