Code Monkey home page Code Monkey logo

pyspice-rf-circuits's Introduction

Pyspice RF circuits

Github top language Github language count Repository size License

๐Ÿšง Pyspice RF circuits ๐Ÿš€ Under construction... ๐Ÿšง


About ย  | ย  Technologies ย  | ย  Requirements ย  | ย  Starting ย  | ย  License ย  | ย  Author


๐ŸŽฏ About

Collection of scripts with the definition and simulation of circuits used in RF, written in Python using the module PySpice to interact with NgSpice and Matplotlib to graph the results from the simulations.

๐Ÿš€ Technologies

The following tools were used in this project:

โœ… Requirements

  • If you want to use the docker container, you need to install Docker and, optionally, Docker Compose in your machine.

  • If you decide to not use docker, you need to install PySpice. The version currently used is v1.5. In the same docs you are taught how to install NgSpice.

If you choose the second option, local setup, and you are a Windows user, I highly recommend installing it via Anaconda or Miniconda.

๐Ÿ Starting

# Clone this project
$ git clone https://github.com/Leandro-Bertoluzzi/pyspice-rf-circuits

# Access the project folder
$ cd pyspice-rf-circuits

# Option 1: Using Docker container through docker-compose
docker-compose run --rm pyspice the_folder/the_file.py

# Option 2: Using Docker container without docker-compose
## Before running it for the first time and every time you modify the scripts, build the docker container
docker build -t pyspice .
## Run the Docker container with the script as a parameter
docker run --rm -v %cd%/results:/root/results pyspice the_folder/the_file.py

# Option 3: Installing PySpice in local machine
## Enter any of the folders and run a script
$ cd the_folder
$ python the_file.py

Note: If you chose option 2, to get the current directory you must use:

  • Windows (cmd): %cd%
  • Windows (PowerShell): ${PWD}
  • Linux: $(pwd)

๐Ÿ“ License

This project is under license from MIT. For more details, see the LICENSE file.

Made with โค๏ธ by Leandro Bertoluzzi

ย 

Back to top

pyspice-rf-circuits's People

Contributors

leandro-bertoluzzi 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.