This file contains hidden or 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
[[51.3724080241, -0.0991418093016], | |
[51.3735938459, -0.0979575459402], | |
[51.3760929581, -0.0984574616503], | |
[51.3792517406, -0.101373059522], | |
[51.3785814995, -0.103297530305], | |
[51.3804435319, -0.105002557406], | |
[51.3837723074, -0.108429081989], | |
[51.3852700354, -0.109847701645], | |
[51.3868990349, -0.111045335869], | |
[51.3902831629, -0.112343246015], |
This file contains hidden or 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
{'10813': [51.3760929581, -0.0984574616503], | |
'1164': [51.4013254207, -0.118444497979], | |
'1441': [51.3886330116, -0.111505659588], | |
'14622': [51.4624163884, -0.11532824762], | |
'15100': [51.4190123595, -0.127886565845], | |
'15101': [51.4147954483, -0.123989076582], | |
'15102': [51.4076438324, -0.121592866634], | |
'15104': [51.4038783631, -0.11950429888], | |
'15105': [51.4045826277, -0.119676700562], | |
'15106': [51.3952345961, -0.114913800215], |
This file contains hidden or 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
['BP1549', | |
'SL33', | |
'10813', | |
'R0852', | |
'BP2000', | |
'15112', | |
'4417', | |
'15110', | |
'25866', | |
'15108', |
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.
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 hidden or 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
def SpecGen(self, filepath): | |
""" | |
Code to generate spectrogram adapted from code posted on https://mail.python.org/pipermail/chicago/2010-December/007314.html by Ken Schutte ([email protected]) | |
""" | |
sr, x = scipy.io.wavfile.read(filepath) | |
## Parameters | |
nstep = int(sr * self.specNStepMod) | |
nwin = int(sr * self.specNWinMod) |
This file contains hidden or 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
# The script MUST contain a function named azureml_main | |
# which is the entry point for this module. | |
# | |
# The entry point function can contain up to two input arguments: | |
# Param<dataframe1>: a pandas.DataFrame | |
# Param<dataframe2>: a pandas.DataFrame | |
def azureml_main(dataframe1 = None, dataframe2 = None): | |
from scipy.fftpack import fft |
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 hidden or 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 scipy.io.wavfile | |
import pandas as pd | |
sound = scipy.io.wavfile.read('../data/day.wav') | |
pd.DataFrame(sound[1]).to_csv('../data/wav.csv', index=False, header=False) |