-
Notifications
You must be signed in to change notification settings - Fork 6
fus.Database
Peter Hollender edited this page Dec 8, 2023
·
1 revision
fus.Database
DATABASE Class for interfacing with open_tfus file storage
-
path: [(1,1) string] Root location of database -
log: [fus.util.Logger] Logging utility
-
set_connected_transducer(self, trans, options)Set the connected transducer. set_connnected_system(self, sys, options)-
trans = load_transducer(self, transducer_id)Load a transducer from the database. -
sys = load_system(self, sys_id)Load an UltrasoundSystem from the database. -
standoff = load_standoff(self, transducer_id, standoff_id)Load a standoff from the database. -
attrs = load_volume_attrs(self, subject, volume_ids)Load attributes of volumes from the database. -
volume = load_volume(self, subject, volume_id, options)Load a volume from the database. -
subject = load_subject(self, subject_id, options)Load a subject from the database. -
output = load_solution_output(self, session, plan_id, target_id)Load a treatment solution output from the database. -
analysis = load_solution_analysis(self, session, plan_id, target_id)Load a solution analysis from the database. -
varargout = load_solution(self, session, plan_id, target_id)Load a treatment solution from the database. -
session_info = load_session_info(self, subject_id, session_id)Load session information from the database. -
session = load_session(self, subject, session_id, options)Load a session from the database. -
data = load_session_solutions(self, session, options)Load solutions for a session. -
treatment_plans = load_all_plans(self)Load all treatment plans from the database. -
treatment_plan = load_plan(self, plan_id)Load a treatment plan from the database. -
filelist = list_files(self, options)List files in the database directory. -
transducer_ids = get_transducer_ids(self)Retrieve transducer IDs from the database. -
sys_info = get_system_info(self, sys_id)Retrieve information for ultrasound systems from the database. -
sys_ids = get_system_ids(self)Retrieve system IDs from the database. -
subject_table = get_subject_table(self, options)Retrieve subject information as a table from the database. -
session_table = get_session_table(self, subject_id, options)Retrieve session information as a table from the database. -
subject_ids = get_subject_ids(self)Retrieve subject IDs from the database. -
ids_by_plan = get_solutions(self, subject_id, session_id)Retrieve solution IDs by plan and target from the database. -
session_ids = get_session_ids(varargin)Retrieve session IDs for a subject from the database. -
plan_ids = get_plan_ids(self)Retrieve plan IDs from the database. -
trans = get_connected_transducer(self, options)Retrieve a connected transducer. -
sys_id = get_connected_systems(self)Retrieve IDs of connected ultrasound systems. -
subject_id = choose_subject(self, options)Interactively select a subject from the database. -
session_id = choose_session(self, subject, options)Interactively select a session from local data. -
volume_added = add_volume(self, subject, volume, options)Add a volume to a subject in the database. -
system_added = add_system(self, sys, options)Add an ultrasound system to the database. -
standoff_added = add_standoff(self, transducer_id, standoff, options)Add a standoff to the database. -
solution_added = add_solution(self, solution, subject_id, session_id, options)Add a treatment solution to the database. -
trans_added = add_transducer(self, trans, options)Add transducer to Database. -
subject_added = add_subject(self, subject, options)Add subject to Database. -
session_added = add_session(self, subject, session, options)Add Session to Database -
plan_added = add_plan(self, treatment_plan, options)Add a treatment plan to the database write_transducer_ids(self, transducer_ids)write_subject_ids(self, subject_ids)write_session_ids(self, subject_id, session_ids)write_plan_ids(self, plan_ids)volume_filename = get_volume_filename(self, subject_id, volume_id, options)transducers_filename = get_transducers_filename(self)transducer_filename = get_transducer_filename(self, transducer_id)system_filename = get_system_filename(self, system_id)systems_filename = get_systems_filename(self)subjects_filename = get_subjects_filename(self)subject_filename = get_subject_filename(self, subject_id)subject_dir = get_subject_dir(self, subject_id)standoff_filename = get_standoff_filename(self, transducer_id, standoff_id)solutions_filename = get_solutions_filename(self, subject_id, session_id)solution_filename = get_solution_filename(self, subject_id, session_id, plan_id, target_id, ext)sessions_filename = get_sessions_filename(self, subject_id)session_filename = get_session_filename(self, subject_id, session_id)session_dir = get_session_dir(self, subject_id, session_id)plan_filename = get_plan_filename(self, plan_id)plans_filename = get_plans_filename(self)connected_transducer_filename = get_connected_transducer_filename(self)connected_system_filename = get_connected_system_filename(self)db_path = get_default_path(options)user_dir = get_default_user_dir
CAUTION - Investigational device. Limited by Federal (or United States) law to investigational use. open-tFUS has not been evaluated by the FDA and is not designed for the treatment or diagnosis of any disease. It is provided AS-IS, with no warranties. User assumes all liability and responsibility for identifying and mitigating risks associated with using this software.