1.1.44 • Published 6 years ago

blackfynn-csv-exporter v1.1.44

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
6 years ago

Tehsurfer/blackfynn-csv-exporter

Netlify Status

A Web viewer for viewing and exporting data from Blackfynn to CSV format for OpenCOR

View the current online version at: https://blackfynnpythonlink.ml/blackfynn-csv-exporter/

Devloper Installation

  1. git clone https://github.com/Tehsurfer/blackfynn-csv-exporter.git
  2. Install Node.js if you do not have it (check using npm -v)
  3. Navigate to the /blackfynn-csv-export directory and:
npm install
npm run build
  1. Open index.html in Firefox

    OR

    Use python -m http.server

    Go to http://0.0.0.0:8000/index.html with Chrome

Using the app and External API's

// Initialises app.
var blackfynnManger = new BlackfynnManager()
blackfynnManger.initialiseBlackfynnPanel()


//Initialises app on document load.
var blackfynnManger = new BlackfynnManager()
document.addEventListener("DOMContentLoaded", function(event) { 
  blackfynnManger.initialiseBlackfynnPanel()
});

// Send data to app before or after login
var blackfynnManger = new BlackfynnManager()
blackfynnManager.insert('N:package:51ae7443-0e8e-40ac-84bc-a1fcceb9d867','EEG FZ-REF')
blackfynnManger.initialiseBlackfynnPanel()
blacfynnManager.login()
blackfynnManager.insert('Sample Time Series (EEG)','EEG C3-REF')

// serialise to JSON and load from JSON
var blackfynnManager = new blackfynn_panel.BlackfynnManager()
serialisedPanel = blackfynnManager.exportState()
console.log(serialisedPanel)
// "{"parentDiv":{},"selectedChannels":[],"csvURL":""}"
blackfynnManager.loadState(serialisedPanel)

// Load csv files and plot as single plot or subplot
bf = new blackfynn_panel.BlackfynnManager()
bf.openCSV('https://cors-anywhere.herokuapp.com/https://abi-test.ml/Cors_Test/Sample_1_18907001_channel_1.csv')
bf.plotAll() // Plot all csv channels and remover selector
bf.setSuplotsFlag(true) // Set to subplots for next plot
bf.plotAll() 
bf.openBroadcastChannel('my_name') // set broadcast channel name which returns serialised state on select.onchange
1.1.44

6 years ago

1.1.43

6 years ago

1.1.42

6 years ago

1.1.40

6 years ago

1.1.39

6 years ago

1.1.38

6 years ago

1.1.37

6 years ago

1.1.36

6 years ago

1.1.35

6 years ago

1.1.33

6 years ago

1.1.30

6 years ago

1.1.29

6 years ago

1.1.28

6 years ago

1.1.27

6 years ago

1.1.26

6 years ago

1.1.25

6 years ago

1.1.24

6 years ago

1.1.23

6 years ago

1.1.22

6 years ago

1.1.20

6 years ago

1.1.19

6 years ago

1.1.18

6 years ago

1.1.17

6 years ago

1.1.15

6 years ago

1.1.14

6 years ago

1.1.13

6 years ago

1.1.12

6 years ago

1.1.11

6 years ago

1.1.10

6 years ago

1.1.9

6 years ago

1.1.8

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago