Skip to content

Commit

Permalink
PLACE now puts timestamps data into the NumPy array instead of update…
Browse files Browse the repository at this point in the history
… numbers
  • Loading branch information
paul-freeman committed Jul 13, 2017
1 parent fca6876 commit 9d77f32
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ source:
path: .

build:
number: 311
number: 315

requirements:
build:
- python >=3.5,<3.6
- numpy >=1.0.0
- numpy
- scipy
- pyserial
- pyyaml
Expand All @@ -20,7 +20,7 @@ requirements:

run:
- python >=3.5,<3.6
- numpy >=1.0.0
- numpy
- scipy
- matplotlib
- pyserial
Expand All @@ -30,7 +30,7 @@ requirements:
test:
requires:
- python >=3.5,<3.6
- numpy >=1.0.0
- numpy
- scipy
- matplotlib
- pyserial
Expand Down
2 changes: 1 addition & 1 deletion place/basic_scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def update_phase(self):
One file will be written for each update.
"""
for update_number in range(self.config['updates']):
current_data = np.array([(update_number,)], dtype=[('update', 'int16')])
current_data = np.array([(np.datetime64('now'),)], dtype=[('time', 'datetime64[us]')])

for instrument in self.instruments:
print("...{}: updating {}...".format(update_number,
Expand Down

0 comments on commit 9d77f32

Please sign in to comment.