Skip to content

wijnandhoitinga/sambal

 
 

Repository files navigation

Sambal

To go with the Nutils.

Install

Clone nutils/sambal into a containing directory

  $ cd to/the/installation/directory
  $ mkdir sambal
  $ cd sambal
  $ git clone [https://url.to/sambal.git]

We can now add sambal to the PYTHONPATH so we can import from everywhere.

  $ cd

Open .bashrc (linux) or .Profile (mac) and type in the following:

  PYTHONPATH="${PYTHONPATH}:$HOME/path/to/nutils"
  PYTHONPATH="${PYTHONPATH}:$HOME/path/to/sambal"
  export PYTHONPATH

After saving the file and restarting the terminal, you can import from sambal.

  from nutils import *          # This does not include sambal
  from sambal import <package>  # Now we can use a sambal package

Packages

  • curve

  • klshell

  • levelset

  • export This package contains code to export in the following file-formats:

    • .mat files -> To load data directly into MATLAB
    • .csv files -> Plain text, comma-separated files to use with excel etc.

About

To go with the nutils.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.1%
  • MATLAB 2.9%