1.1.44 • Published 5 years ago

blackfynn-csv-exporter v1.1.44

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
5 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

5 years ago

1.1.43

5 years ago

1.1.42

5 years ago

1.1.40

5 years ago

1.1.39

5 years ago

1.1.38

5 years ago

1.1.37

5 years ago

1.1.36

5 years ago

1.1.35

5 years ago

1.1.33

5 years ago

1.1.30

5 years ago

1.1.29

5 years ago

1.1.28

5 years ago

1.1.27

5 years ago

1.1.26

5 years ago

1.1.25

5 years ago

1.1.24

5 years ago

1.1.23

5 years ago

1.1.22

5 years ago

1.1.20

5 years ago

1.1.19

5 years ago

1.1.18

5 years ago

1.1.17

5 years ago

1.1.15

5 years ago

1.1.14

5 years ago

1.1.13

5 years ago

1.1.12

5 years ago

1.1.11

5 years ago

1.1.10

5 years ago

1.1.9

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago