Git Product home page Git Product logo

cephalopod's Introduction

octopus

Package for treating sims data remotely.

The package is preferably installed by cloning from the git-repository. Alternatively one can download by executing pip install cephalopod or from conda by conda install -c https://conda.anaconda.org/copperwire cephalopod in your terminal. If cloned from git install by running the following command in your terminal python setup.py install, to build in dev-mode run pip install . -e

Use of the module is done either by grabbing raw data from file_handler as such:

from cephalopod import file_handler, file_chooser

file = file_chooser() #string from dialogue

a = file_handler(file)
x = file_handler.runtime() 

from the docstring x is a dictionary with subdictionaries on the form:

            /->"Data"--> name -->("x", "y", "element", "x/y units")
attribute--|
		    \->"gen_info" --> file_attribute(all general info about the sample not specific to element) 

Where quoted strings are pre-set keys and all other keys are defined iteratively and is available by iteration over the dictionary or inferred from the strings contained in the DELIMITER as set in the function (see docstring on file_handler.data_conversion).

To run the module with graphical output see below for an example:

In your terminal run the command bokeh serve to initialize the server. Default hosted on local port 5006.

from cephalopod import interactive_plotting as ip

ip()

GUI

  • FlexPDE

    • Either save one or all elements as FlexPDE friendly files in a supplied folder
  • RSF

    • Provide a number corresponding to a Sensitivity Factor (SF) or a Relative Sensitivity Factor (RSF) which is applied to the signal
  • Save Datafile

    • Saves datafile in an almost identical shape to the original file in a supplied directory
  • Smooth select element

    • Calculates a moving exponential average on the element selected. Set x-limit do change where the smoothing is applied.
  • Calculate SF value

    • Using a set dose and x-limit computes the sensitivity factor by the discrete time integral over the impurity element's signal.

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.