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.
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
function[seismo,size] = ReadBinSeismo(fname) | |
fid = fopen(fname,'rb'); | |
size = fread(fid,2,'int'); | |
size(2) | |
seismo = fread(fid,size(2),'double') | |
fclose(fid) |
Loading
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
#include <SD.h> | |
#include <Wire.h> | |
#include "RTClib.h" | |
// Data logger for temperature and pressure data using the Adafruit | |
// logger shield. | |
// Logging Interval (milliseconds) | |
#define LOG_INTERVAL 60000 |
Loading
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 numpy as np | |
from scipy import integrate | |
import matplotlib.pyplot as plt | |
from math import exp,log | |
def friction(t,y): | |
k = 1e-3 | |
a = 0.005 | |
b = 0.01 | |
Dc = 10. |
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
/* | |
toDayOfYear | |
This sketch demonstrates a function to convert the year, month, day | |
format to the day of the year. Leap years are corrected. Unit tests | |
include leap year and regular year tests for every month as well as | |
corner case and error case testing. | |
Created 30 March 2015 | |
Modified 14 April 2015 |
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
#include <SPI.h> | |
#include <Adafruit_GPS.h> | |
#include <SoftwareSerial.h> | |
#include <SD.h> | |
#include <avr/sleep.h> | |
// Make software serial port for GPS and GPS instance | |
SoftwareSerial mySerial(8, 7); | |
Adafruit_GPS GPS(&mySerial); |
OlderNewer