GithubHelp home page GithubHelp logo

irfm / thermal-events Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 128 KB

Python library that handles the thermal events and the interaction with the thermal events database of fusion reactors

Home Page: https://irfm.github.io/thermal-events/

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%
python cea fusion tokamak hot-spots thermal-events stellarator

thermal-events's Introduction

thermal-events

pytest codecov

Python library that handles the thermal events and the interaction with the thermal events database of fusion reactors

A .env file must be created, containing the credentials to connect to the thermal events database. See the file .env.example for an example of .env file. The .env file must be located at the path from which python is run.

thermal-events's People

Contributors

egrelier avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

thermal-events's Issues

Add strike line descriptor objects

Add a new object, called StrikeLineDescriptor, which describes a strike line. It has the following attributes:

  • id: a unique id;
  • id_thermal_event_instance: the id of the strike line (ThermalEventInstance) that is described by the object;
  • segmented_points: the segmented points in the cropped image of the strike line;
  • angle: the angle of the strike line, in degrees;
  • curve: the curvature of the strike line (categorical);
  • comments: optional comments;
  • flag_RT: a boolean flag indicating if the object has been computed in real time or not.

The objects will be stored in the new table "strike_line_descriptors", created by the package.

When a ThermalEventInstance is deleted, the associated StrikeLineDescriptor is deleted, but not the other way around.

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.