Coder Social home page Coder Social logo

zain-sohail / sed Goto Github PK

View Code? Open in Web Editor NEW

This project forked from opencompes/sed

0.0 0.0 0.0 32.14 MB

Single Event Data Frame Processor: Backend to handle photoelectron resolved datastreams

Home Page: https://sed.readthedocs.io/

License: MIT License

Python 84.97% Jupyter Notebook 15.03%

sed's Introduction

Documentation Status Ruff Coverage Status

Backend to handle photoelectron resolved datastreams.

Table of Contents

Installation

Installation

For Users (pip)

Prerequisites

  • Python 3.8+
  • pip

Steps

  • Create a new virtual environment using either venv, pyenv, conda, etc. See below for an example.
python -m venv .sed-venv
  • Activate your environment:
# On macOS/Linux
source .sed-venv/bin/activate

# On Windows
.sed-venv\Scripts\activate
  • Install sed, distributed as sed-processor on PyPI:
pip install sed-processor[all]
  • If you intend to work with Jupyter notebooks, it is helpful to install a Jupyter kernel for your environment. This can be done, once your environment is activated, by typing:
python -m ipykernel install --user --name=sed_kernel
  • If you do not use Jupyter Notebook or Jupyter Lab, you can skip the installing those dependencies
pip install sed-processor

For Contributors (pip)

Prerequisites

  • Git
  • Python 3.8+
  • pip

Steps

  1. Clone the repository:
git clone https://github.com/OpenCOMPES/sed.git
cd sed
  1. Create and activate a virtual environment:
# Create a virtual environment
python -m venv .sed-dev

# Activate the virtual environment
# On macOS/Linux
source .sed-dev/bin/activate

# On Windows
.sed-dev\Scripts\activate
  1. Install the repository in editable mode with all dependencies:
pip install -e .[all]

Now you have the development version of sed installed in your local environment. Feel free to make changes and submit pull requests.

For Maintainers (poetry)

Prerequisites

Steps

  • Create a virtual environment by typing:
poetry shell
  • A new shell will be spawned with the new environment activated.

  • Install the dependencies from the pyproject.toml by typing:

poetry install --with dev, docs
  • If you wish to use the virtual environment created by Poetry to work in a Jupyter notebook, you first need to install the optional notebook dependencies and then create a Jupyter kernel for that.

    • Install the optional dependencies:
    poetry install -E notebook
    • Make sure to run the command below within your virtual environment (poetry run ensures this) by typing:
    poetry run ipython kernel install --user --name=sed_poetry
    • The new kernel will now be available in your Jupyter kernels list.

sed's People

Contributors

rettigl avatar steinnymir avatar zain-sohail avatar dependabot[bot] avatar pullrequesttoken[bot] avatar github-actions[bot] avatar kutnyakhov 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.