Rename to eegedu

Esse commit está contido em:
Keyfer Mathewson
2019-12-06 15:02:59 -05:00
commit ca59ae1683
5 arquivos alterados com 11 adições e 30 exclusões
+3 -3
Ver Arquivo
@@ -1,6 +1,6 @@
{
"short_name": "MuseFFT",
"name": "MuseFFT Application",
"short_name": "EEGEdu",
"name": "EEGedu Application",
"icons": [
{
"src": "favicon.ico",
@@ -12,4 +12,4 @@
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
}
-19
Ver Arquivo
@@ -1,19 +0,0 @@
import React from "react";
export function Header() {
return (
<React.Fragment>
<h3>EEGEdu</h3>
<p>
Welcome to the EEGEdu live EEG tutorial. This tutorial is designed to be
used with the Muse and the Muse 2 headbands from Interaxon and will walk
you through the basics of EEG signal generation, data collection, and
analysis with a focus on live control based on physiological signals.
All demos are done in this browser. The first step will be to turn on
your Muse headband and click the connect button. This will open a screen
and will list available Muse devices. Select the serial number written
on your Muse.
</p>
</React.Fragment>
);
}
+4 -4
Ver Arquivo
@@ -1,7 +1,7 @@
import React, { useState, useCallback } from "react";
import { Select, Card } from "@shopify/polaris";
import MuseFFTRaw from "./components/MuseFFTRaw/MuseFFTRaw";
import MuseFFTSpectra from "./components/MuseFFTSpectra/MuseFFTSpectra";
import EEGEduRaw from "./components/EEGEduRaw/EEGEduRaw";
import EEGEduSpectra from "./components/EEGEduSpectra/EEGEduSpectra";
export function PageSwitcher() {
const [selected, setSelected] = useState("Raw");
@@ -16,9 +16,9 @@ export function PageSwitcher() {
function renderCharts() {
switch (selected) {
case "Raw":
return <MuseFFTRaw />;
return <EEGEduRaw />;
default:
return <MuseFFTSpectra />;
return <EEGEduSpectra />;
}
}
@@ -47,7 +47,7 @@ const chartOptions = {
legend: { display: false }
};
export class MuseFFTRaw extends Component {
export class EEGEduRaw extends Component {
state = {
status: strings.disconnected,
button_disabled: false,
@@ -166,4 +166,4 @@ export class MuseFFTRaw extends Component {
}
}
export default MuseFFTRaw;
export default EEGEduRaw;
@@ -47,7 +47,7 @@ const chartOptions = {
legend: { display: false }
};
export class MuseFFTSpectra extends Component {
export class EEGEduSpectra extends Component {
state = {
status: strings.disconnected,
button_disabled: false,
@@ -159,4 +159,4 @@ export class MuseFFTSpectra extends Component {
}
}
export default MuseFFTSpectra;
export default EEGEduSpectra;