Doxygen Source Code Documentation
THD_timeaxis Struct Reference
#include <3ddata.h>
Data Fields | |
int | type |
int | ntt |
float | ttorg |
float | ttdel |
float | ttdur |
int | units_type |
int | nsl |
float * | toff_sl |
float | zorg_sl |
float | dz_sl |
Detailed Description
Struct to hold information about the time axis of a 3D+time datset.For 3D+t datasets, there are ntt 3D times; the i-th one is centered at ttorg + ttdel*ii seconds, for ii=0..ntt-1. Also, ttdur = duration of each sample in time.
If ( nsl > 0 && toff_sl != NULL), then the data was acquired as slices, not as a 3D block. The slicing direction must be the dataset (not Dicom) z-axis. The extra offset for the data at z is given by computing isl = (z - zorg_sl) / dz_sl + 0.5; the extra offset is then toff_sl[isl]. Note that dz_sl might be different from the dataxes zzdel because the dataset might actually be made up of duplicated slices (see program abut.c).
All this is computed using the routine THD_timeof().
When transformed, all the slice stuff will be ignored. That's because the warped dataset z-direction will not be the same as the original dataset's z-direction.
Definition at line 1386 of file 3ddata.h.
Field Documentation
|
z-coordinate spacing for slice offsets Definition at line 1398 of file 3ddata.h. Referenced by adwarp_follower_dataset(), AFNI_follower_dataset(), EDIT_dset_items(), get_time(), main(), T3D_save_file_CB(), THD_3dim_from_block(), THD_dataset_info(), THD_set_dataset_attributes(), and THD_timeof(). |
|
Number of slice-dependent time offsets Definition at line 1395 of file 3ddata.h. Referenced by adwarp_follower_dataset(), AFNI_follower_dataset(), EDIT_dset_items(), EDIT_empty_copy(), main(), T3D_save_file_CB(), terminate_program(), THD_3dim_from_block(), THD_dataset_info(), THD_dataset_tshift(), THD_set_dataset_attributes(), THD_timeof(), THD_timeof_slice(), THD_timeof_vox(), THD_zeropad(), and VL_command_line(). |
|
Number of time points Definition at line 1388 of file 3ddata.h. Referenced by AFNI_startup_timeout_CB(), EDIT_dset_items(), T3D_check_outliers(), T3D_save_file_CB(), T3D_swap_CB(), THD_3dim_from_block(), THD_set_dataset_attributes(), and THD_setup_mastery(). |
|
toff_sl[i] is time offset for slice #1 Definition at line 1396 of file 3ddata.h. Referenced by adwarp_follower_dataset(), AFNI_follower_dataset(), EDIT_dset_items(), EDIT_empty_copy(), main(), populate_nifti_image(), T3D_save_file_CB(), THD_3dim_from_block(), THD_dataset_info(), THD_dataset_tshift(), THD_delete_3dim_dataset(), THD_set_dataset_attributes(), THD_setup_mastery(), THD_timeof(), THD_timeof_slice(), THD_timeof_vox(), and THD_zeropad(). |
|
Fondly known as TR Definition at line 1390 of file 3ddata.h. Referenced by cubic_spline(), EDIT_dset_items(), FD_brick_to_series(), main(), MAKER_4D_to_typed_fbuc(), MAKER_4D_to_typed_fim(), MAKER_4D_to_typed_fith(), PLUTO_4D_to_nothing(), populate_nifti_image(), PRIC_main(), RIC_CalcCoeffAB(), RIC_CorrectDataset(), T3D_save_file_CB(), THD_3dim_from_block(), THD_dataset_info(), THD_extract_many_series(), THD_extract_series(), THD_set_dataset_attributes(), THD_timeof(), THD_timeof_slice(), and THD_timeof_vox(). |
|
Duration of image acquisition (usually not known) Definition at line 1391 of file 3ddata.h. Referenced by EDIT_dset_items(), T3D_save_file_CB(), THD_3dim_from_block(), and THD_set_dataset_attributes(). |
|
Time origin (usually 0) Definition at line 1389 of file 3ddata.h. Referenced by EDIT_dset_items(), main(), T3D_save_file_CB(), THD_3dim_from_block(), THD_dataset_info(), THD_set_dataset_attributes(), THD_timeof(), THD_timeof_slice(), and THD_timeof_vox(). |
|
TIMEAXIS_TYPE Definition at line 1387 of file 3ddata.h. Referenced by EDIT_dset_items(), T3D_save_file_CB(), and THD_3dim_from_block(). |
|
one of the UNITS_ codes Definition at line 1393 of file 3ddata.h. Referenced by EDIT_dset_items(), FD_brick_to_series(), get_time(), main(), PRIC_main(), RIC_CalcCoeffAB(), RIC_CorrectDataset(), T3D_save_file_CB(), THD_3dim_from_block(), THD_dataset_info(), THD_dataset_tshift(), THD_extract_many_series(), THD_extract_series(), and THD_set_dataset_attributes(). |
|
z-coordinate origin for slice offsets Definition at line 1397 of file 3ddata.h. Referenced by adwarp_follower_dataset(), AFNI_follower_dataset(), EDIT_dset_items(), get_time(), main(), T3D_save_file_CB(), THD_3dim_from_block(), THD_set_dataset_attributes(), THD_timeof(), and THD_zeropad(). |
The documentation for this struct was generated from the following file: