Campbell-Muscle-Lab / PyMyoVent

PyMyoVent is computer code that simulates an idealized ventricle pumping blood around a single circulation.
http://Campbell-Muscle-Lab.github.io/PyMyoVent/index.html
BSD 3-Clause "New" or "Revised" License
3 stars 4 forks source link

(ken_rebuild_branch ) optional time range for dumping data #21

Closed HosseinSharifii closed 3 years ago

HosseinSharifii commented 3 years ago

Hossein's suggestion: I think it would be useful for the user to have the option to select a time range for dumping data into output spread sheet in order to avoid saving files with very large space.

If start_index in output_handler and stop_index in output_handler: sim_data = sim_data.iloc[start_index:stop_index] if .csv: sim_data.to_csv(output_string) elif .xlsx: sim_data.to_excel(output_file_string, index=False)

kenatcampbellmusclelab commented 3 years ago

I think it would be better to do this in a burst mode. I'm writing code to do that at the moment.