Blog posts

2020

Blog Ds Fs

less than 1 minute read

October 12, 2020

title: ‘Downsample pial surfaces in Freesurfer’ date: 2020-10-12 permalink: /posts/2020/10/fs_ds/ categories: Tools

Pycharm ignore PEP8 errors

less than 1 minute read

April 07, 2020

Taken from https://gist.github.com/StefanoMagrassi/6c78b6f48599377a5c805fd58a5cd93d

Useful links for DTI processing

5 minute read

February 25, 2020

DICOM headers DICOM is usually the data format downloaded form the scanner or the PACS system. (PACS system is an archiving system widely used in hospitals t...

Back to top ↑

2019

Notes to use TVB software

less than 1 minute read

September 05, 2019

Install directly from github Update 2019/09/06. Version 2.0 is compatible for python3. But some API is different. If use pip install tvb-library, version 1.5...

Image data preprocessing for neural networks

less than 1 minute read

May 31, 2019

We treat each pixel in the image as a variable. We want to make the mean and std of each pixel similar cross all training samples (cross the samples in a ...

Statistical testing concepts

less than 1 minute read

February 04, 2019

Statistical power From the The_Essential_Guide_to_Effect_Size Defined as the probability that it will reject a false null hypothesis Inversely related...

EEG source localization

5 minute read

January 16, 2019

1. Physiology Source of EEG The first a few pages of “François Grimbert, Olivier Faugeras. Analysis of Jansen’s model of a single cortical column. Researc...

Back to top ↑

2018

Nelder-Mead method/Downhill simplex method

1 minute read

December 19, 2018

This method is a traditional method for non-linear optimization problem. A simplex is a structure in n-dimensional space formed by n+1 points that are n...

Approximate Inference

3 minute read

August 03, 2018

(Summarized from the lecture notes from cmu spring17-10708, Eric Xing)

Compare GPUs

less than 1 minute read

July 16, 2018

Comparsion of GPU performance online from Timdettmers

SVD and PCA

less than 1 minute read

July 11, 2018

The notes from cmu 17spring-18898:

Neural Networks

4 minute read

July 06, 2018

(Many are copied from Sun, 2019 Optimization paper)

Expectation maximization

less than 1 minute read

June 25, 2018

We have observed variable \(x\), latent varivable \(z\) and parameters \(\theta\). The complete log likelihood should be \(l(\theta;x,z) = \log p(x,z | \the...

Some less popular concepts in CMU 10601

less than 1 minute read

June 24, 2018

Semi-supervised learning: mixing labeled and unlabeled data as training data (no query for labels during training); based on the belief that data has the ...

Clustering

1 minute read

June 21, 2018

Clustering is aimed at grouping set of objects that have similar “properities”. There are many different ways to define the distance for clustering. The famo...

Multitaper

less than 1 minute read

June 01, 2018

The content below is a translation and summary of the wiki page of Multitaper.

Wavelet Transform

1 minute read

May 31, 2018

We know that wavelet transform comes from STFT by changing a single windowing function to a set of windowing functions. \(X(t,\omega) = \int_{-\infty}^{\i...

Notes on changing the minimal mistakes

less than 1 minute read

May 31, 2018

I wrote some notes on how to customize your website. Change the sidebar width: If you want to change the image size: goes to _sass and change i...

Short Time Fourier Transform

less than 1 minute read

May 30, 2018

Why use STFT? We wants to know the frequency components at each time point. Solution: we perform FFT on small blocks. \(X(t,\omega) = \int_{-\infty}^{\...

Discrete consine transform(DCT-II)

less than 1 minute read

May 30, 2018

Why use DCT DTFS/FFT (We will not detail into the difference between these two at this moment.) use $e^{jwt}$ as the base. And if $x(t)$ is real and even,...

Notes on changing the academicpages

less than 1 minute read

May 26, 2018

Other than the notes for changing _config.yml and _pages folder that are already on the academicpages website, here I write down some notes to further custom...

Tricks while Using Matlab

less than 1 minute read

May 24, 2018

Using Matlab in Jupyter Notebook Jupyter notebook can combine text and code. When you are study new things and take notes, it could be really helpful. The st...

Back to top ↑