Skip to content

Commit

Permalink
tested in linux
Browse files Browse the repository at this point in the history
  • Loading branch information
imraniac committed Aug 26, 2020
1 parent 8aa64d5 commit 9c4d9e2
Show file tree
Hide file tree
Showing 4 changed files with 909 additions and 52 deletions.
4 changes: 2 additions & 2 deletions C/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ INC_FLAGS := $(addprefix -I,$(INC_DIRS))
CPPFLAGS ?= $(INC_FLAGS) -MMD -MP

$(TARGET_EXEC): $(OBJS)
$(CC) $(CFLAGS) $(OBJS) -o $@ $(LDFLAGS)
$(CC) $(OBJS) -o $@ $(LDFLAGS) $(CFLAGS)

$(BUILD_DIR)/%.c.o: %.c
$(MKDIR_P) $(dir $@)
$(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@
$(CC) $(CPPFLAGS) -c $< -o $@ $(CFLAGS)

.PHONY: clean

Expand Down
2 changes: 2 additions & 0 deletions Python/test_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ def giveMeFeatureVector(tsData):
x = pd.read_csv('../test_ts.csv',header=None);
tsData = x[0].values.tolist()
fV = giveMeFeatureVector(tsData)
print(fV)
print("Test Successful!")
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ It should print the following
-L/usr/local/Cellar/gsl/2.6/lib -lgsl
```

In Linux, GSL can be simply installed via
```
sudo apt-get install libgsl-dev
```

# Using the *catchaMouse16*-features from C, Matlab and Python

The features are efficiently implemented in C and it can also be used in Matlab and Python. Currently it has been tested only on OS X.
Expand Down
Loading

0 comments on commit 9c4d9e2

Please sign in to comment.