-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathREADME.md.OLD
50 lines (36 loc) · 1.45 KB
/
README.md.OLD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
## Matlab/Octave Prototype for WCON API
This is primarily an Octave prototype, but it is expected to be portable/ported
to Matlab without any major compatibility issues, very probably with no changes.
The prototype is currently tested against the following setup:
Mac OS X (El Capitan)
Octave 4.0.0_5
### Setup
Install Octave as required. On Mac OS X, we recommend using homebrew:
```bash
brew install octave
```
This package relies on the jsonlab library for JSON parsing capabilities. The
current prototype expects the git repository to be installed in the "externals"
folder. When setting up this package for the first time:
```bash
cd externals
git clone https://github.com/fangq/jsonlab
```
### Running the Prototype
```bash
cd driver
octave main.m
```
### Current Status
This prototype is mostly incomplete. Some very
basic functionality works, but all assumed API functions exist and are
exercised by main.m in the "driver" folder.
### Intended API
WCONWorms class object
* to_canon() # convert data to canonical units
* load_from_file(file) # loads from json (wcon) file
* save_to_file(file) # writes to json (wcon) file. save_to_file will also invoke to_canon()
* load(string) # loads from a literal string
* is_equal(object1, object2) # probably need to invoke to_canon() on both first
* file_equal(file1, file2) # do we really need this?
* merge(object1, object2) # Exception is raised on conflict. What is a conflict - time overlap with incompatible movement?