Skip to content

Commit

Permalink
Simplified strucutre. Removed Web docs. Linearized docs. Rearranged o…
Browse files Browse the repository at this point in the history
…rder.
  • Loading branch information
bicarlsen committed Dec 2, 2021
1 parent 1670bfe commit 8f7bb6e
Show file tree
Hide file tree
Showing 29 changed files with 84 additions and 1,226 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
from thot import ThotProject

# initialize thot project
thot = ThotProject()
db = ThotProject()

# get noise data from asset
noise_data = thot.find_asset( { 'type': 'noise-data' } )
noise_data = db.find_asset( { 'type': 'noise-data' } )

# import noise data into a pandas data frame
df = pd.read_csv( noise_data.file, header = 0, index_col = 0, names = [ 'trial', 'volume' ] )
Expand All @@ -21,7 +21,7 @@
'file': 'noise-stats.csv'
}

stats_path = thot.add_asset( stats_properties, 'noise_stats' )
stats_path = db.add_asset( stats_properties, 'noise_stats' )

# export the statistics to the new asset
stats.to_csv( stats_path )
Binary file not shown.

This file was deleted.

0 comments on commit 8f7bb6e

Please sign in to comment.