Giter VIP home page Giter VIP logo

us3utils's Introduction

us3utils

Utils scripts UltraScan III 4.0

requirements

To set up your computer, you have to meet these requirements:

pyhton 3.9.5
pandas ~ 1.3.4
mysql-connector-python
lxml
numba

installation guide

  1. Download and install python 3.10 (click here to visit the python download page). Make sure you add python to your path (an option during the installation)
  2. Open a terminal window (windows and search for cmd)
  3. Run the following command pip install pandas mysql-connector-python lxml numba
  4. Download the code by clicking here
  5. Extract the files to a directory of your choice (doesn't matter)

user guide

After you navigated to the directory containing the scripts, you can use them in three ways:

  • Double-clicking on them and entering needed values one after another
  • Execute the scripts via commandline with python script_name without further arguments, which results in entering them one after another
  • Execute the scripts via commandline with python script_name arg1 arg2 specifying the needed arguments all by one

fetch_model_xmls.py

Utils program for fetching model xmls for a given search string from the database. Usable directly from the commandline, but supports also input. Necessary input values: GUID of the person, password of the person, ID of the person and search string.

python fetch_model_xmls.py GUID passwort ID search_string

Before using the database connection values have to be changed!

merge_model_xmls.py

Utils program for merging multiple model xmls in a given directory and creating a new model xml. Usable directly from the commandline, but supports also input. Necessary input values: directory

python merge_model_xmls.py directory

generate_3Dmodelmesh.py

Utils program for generating point-meshes for plotting the model data. Be careful without specified dimensions the program generates 18 meshes, which could take some time. Usable directly from the commandline, but supports also input.

Necessary input values: modelfile_location experimental_temperature experimental_viscosity experimental_density

Optional input values: dimension1 dimension2

python generate_3Dmodelmesh.py modelfilelocation temperature viscosity density [dimension1] [dimension2]

calc_core_shell.py

Utils program for calculating the core-shell model properties according Carney et al. and Gonzalez-Rubio et al. based on a folder containing the statistics files of the ultrascan tool "Initialize Generic Algorithm". Usable directly from the commandline, but supports also input. Necessary input values: directory

python calc_core_shell.py

us3utils's People

Contributors

doluk 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.