Skip to content

Instantly share code, notes, and snippets.

#include <fftw3.h>
#include <chrono>
#include <iostream>
#include <omp.h>
#include <vector>
{
"metadata": {
"name": "tpat_example"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{"nbformat_minor": 0, "cells": [{"source": "Data Conversion\n\n siemens_to_ismrmrd -f meas_MID00218_FID33531_OLD_SNR_COR_RL_R1.dat -z 1 -o meas_MID00218_FID33531_OLD_SNR_COR_RL_R1_noise.h5\n siemens_to_ismrmrd -f meas_MID00218_FID33531_OLD_SNR_COR_RL_R1.dat -z 2 -o meas_MID00218_FID33531_OLD_SNR_COR_RL_R1_data.h5\n siemens_to_ismrmrd -f meas_MID00229_FID33542_NEW_SNR_COR_RL_R1.dat -z 1 -o meas_MID00229_FID33542_NEW_SNR_COR_RL_R1_noise.h5\n siemens_to_ismrmrd -f meas_MID00229_FID33542_NEW_SNR_COR_RL_R1.dat -z 2 -o meas_MID00229_FID33542_NEW_SNR_COR_RL_R1_data.h5\n siemens_to_ismrmrd -f meas_MID00241_FID33554_SIE_SNR_COR_RL_R1.dat -z 1 -o meas_MID00241_FID33554_SIE_SNR_COR_RL_R1_noise.h5\n siemens_to_ismrmrd -f meas_MID00241_FID33554_SIE_SNR_COR_RL_R1.dat -z 2 -o meas_MID00241_FID33554_SIE_SNR_COR_RL_R1_data.h5\n", "cell_type": "markdown", "metadata": {}}, {"execution_count": 68, "cell_type": "code", "source": "\nimport os\nimport sys\nimport ismrmrd\nimport ismrmrd.xsd\nimport numpy as np\nim
{"nbformat_minor": 0, "cells": [{"source": "Data Conversion\n\n siemens_to_ismrmrd -f meas_MID00218_FID33531_OLD_SNR_COR_RL_R1.dat -z 1 -o meas_MID00218_FID33531_OLD_SNR_COR_RL_R1_noise.h5\n siemens_to_ismrmrd -f meas_MID00218_FID33531_OLD_SNR_COR_RL_R1.dat -z 2 -o meas_MID00218_FID33531_OLD_SNR_COR_RL_R1_data.h5\n siemens_to_ismrmrd -f meas_MID00229_FID33542_NEW_SNR_COR_RL_R1.dat -z 1 -o meas_MID00229_FID33542_NEW_SNR_COR_RL_R1_noise.h5\n siemens_to_ismrmrd -f meas_MID00229_FID33542_NEW_SNR_COR_RL_R1.dat -z 2 -o meas_MID00229_FID33542_NEW_SNR_COR_RL_R1_data.h5\n siemens_to_ismrmrd -f meas_MID00241_FID33554_SIE_SNR_COR_RL_R1.dat -z 1 -o meas_MID00241_FID33554_SIE_SNR_COR_RL_R1_noise.h5\n siemens_to_ismrmrd -f meas_MID00241_FID33554_SIE_SNR_COR_RL_R1.dat -z 2 -o meas_MID00241_FID33554_SIE_SNR_COR_RL_R1_data.h5\n", "cell_type": "markdown", "metadata": {}}, {"execution_count": 107, "cell_type": "code", "source": "\nimport os\nimport sys\nimport ismrmrd\nimport ismrmrd.xsd\nimport numpy as np\ni
@hansenms
hansenms / Makefile
Last active September 28, 2015 01:55
all: c11_return_opt c11_no_return_opt return_opt no_return_opt
c11_return_opt: move_test.cpp
g++ -std=c++11 -o c11_return_opt move_test.cpp
c11_no_return_opt: move_test.cpp
g++ -std=c++11 -fno-elide-constructors -o c11_no_return_opt move_test.cpp
return_opt: move_test.cpp
g++ -o return_opt move_test.cpp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB"