utils
Functions
|
Return True if every hour in the last 24 h was scheduled as active. |
|
Update all directory settings based on a new project root path. |
Updates the system directory setting and renames the directory if it changed. |
|
Create all necessary system directories if they do not exist. |
|
Creates a standard directory structure rooted at the given path. |
|
|
Creates a QPixmap from a matplotlib Figure. |
|
Recursively removes all widgets and sub-layouts from a QLayout. |
|
Clone a list of GitHub repositories into the user's village_projects directory. |
|
Find the x-value corresponding to a target y-value using interpolation. |
|
Checks if the root partition has low disk space. |
|
Perform PCHIP interpolation on specific data points. |
|
Return True if the current hour is within the scheduled active hours. |
|
Return True if the current calendar day is scheduled as active. |
|
Reformats raw trial data into a flattened dictionary structure. |
|
Configure the logging system to write to a timestamped file. |
Transforms raw Bpod trial data into a clean, wide-format DataFrame. |
|
|
Returns an error message if the name is invalid, None if valid. |