blackfynn-csv-exporter v1.1.44
Tehsurfer/blackfynn-csv-exporter
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
git clone https://github.com/Tehsurfer/blackfynn-csv-exporter.git
- Install Node.js if you do not have it (check using
npm -v
) - Navigate to the /blackfynn-csv-export directory and:
npm install
npm run build
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
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago