pyUSID.io.io_utils¶
Utilities for formatting strings and other input / output methods
Created on Tue Nov 3 21:14:25 2015
@author: Suhas Somnath, Chris Smith
Functions
|
Checks whether or not the python kernel is running locally (False) or remotely (True) |
|
Presents a File dialog used for selecting the .mat file and returns the absolute filepath of the selecte file |
|
Formats the provided quantity such as time or size to appropriate strings |
|
Formats the provided size in bytes to kB, MB, GB, TB etc. |
|
Formats the provided time in seconds to seconds, minutes, or hours |
|
Takes a formatted string like ‘4.32 MHz’ to 4.32 E+6 |
|
Teturns the current date and time as a string formatted as: Year_Month_Dat-Hour_Minute_Second |