Browse Source

'README.md' ändern

ABarayeu 1 year ago
parent
commit
d16ead1c60
1 changed files with 3 additions and 3 deletions
  1. 3 3
      README.md

+ 3 - 3
README.md

@@ -17,7 +17,7 @@ from matplotlib import pyplot as plt
 import numpy as np
 ```
 
-- load cell, (works if you are in the cell folder)
+- load cell (works if you are in the cell folder)
 ```
 file = nix.File.open('2019-05-07-aq-invivo-1.nix', nix.FileMode.ReadOnly)
 b = file.blocks[0]
@@ -29,14 +29,14 @@ mt_nr = 1
 mt = b.multi_tags[mt_nr]
 ```
 
-- load the array of interes: hier the EOD of the fish and the spike times
+- load the array of interest: here the EOD of the fish and the spike times
 ```
 EOD = b.data_arrays['LocalEOD-1']
 spikes_all = b.data_arrays['Spikes-1']
 voltage = b.data_arrays['V-1']
 ```
 
-- slice the whole dataarray at with the bignning and the extend of the multitag
+- slice the whole data array at the bignning and the extend of the multitag
 ```
 eod = EOD.get_slice([mt.positions[:][mt_nr]], [mt.extents[:][mt_nr]], nix.DataSliceMode.Data)[:]
 spikes = spikes_all.get_slice([mt.positions[:][mt_nr]], [mt.extents[:][mt_nr]], nix.DataSliceMode.Data)[:] - mt.positions[:][mt_nr]