Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package jp.atr.dni.zip.test; | |
import java.io.FileNotFoundException; | |
import java.io.InputStream; | |
import java.util.List; | |
import java.util.zip.ZipFile; | |
import org.apache.commons.io.IOUtils; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* www.brainliner.jp | |
* | |
* @author 武宮 誠 「Makoto Takemiya」<br /> | |
* (株)国際電気通信基礎技術研究・脳情報研究所・神経情報学研究室<br/> | |
* 「ATR - Computational Neuroscience Laboratories, Department of Neuroinformatics」 | |
* | |
* @version 2012/03/22 | |
*/ | |
public class StreamingInMemoryDestFile extends InMemoryDestFile { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library("hdf5") | |
hdf5::hdf5load("fileName.mat") | |
# To show the value of chData, for example, | |
chData$ch1$value[[1]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
load('fileName.mat') | |
% plot data from the first channel, for example, | |
plot(chData.ch1.value) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[chData, chHeader, fileInfo] = ns_Reader('raw_EMG_signal.nsn'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import matplotlib.pyplot as plt | |
import statsmodels.api as sm | |
shou = np.random.random(100) | |
chiku = np.log(shou) | |
bai = np.exp2(shou) | |
data=[shou, chiku, bai] | |
ll = ["shou (" + str(np.round(np.mean(shou),decimals=2))+")", "chiku (" + str(np.round(np.mean(chiku),decimals=2))+")", "bai (" + str(np.round(np.mean(bai),decimals=2))+")"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import matplotlib.pyplot as plt | |
import statsmodels.api as sm | |
shou = np.random.random(100) | |
chiku = np.log(shou) | |
bai = np.exp2(shou) | |
data=[shou, chiku, bai] | |
ll = ["shou (" + str(np.round(np.mean(shou),decimals=2))+")", "chiku (" + str(np.round(np.mean(chiku),decimals=2))+")", "bai (" + str(np.round(np.mean(bai),decimals=2))+")"] |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import h5py | |
f = h5py.File('fileName.mat') | |
fileHeader = f['fileInfo'] | |
data = f['chData'] | |
dataHeaders = f['chHeader'] | |
numChannels = len(data) |