bkbit.data_translators.anatomical_structure_translator module

class bkbit.data_translators.anatomical_structure_translator.AnS[source]

Bases: object

classmethod assign_func_header()[source]
generate_anatomical_annotation_set(label, name, description, revision_of, version, anatomical_space_label)[source]
generate_anatomical_space(label, name, description, version, image_dataset_label)[source]
generate_image_dataset(label, name, description, revision_of, version, x_direction, y_direction, z_direction, x_size, y_size, z_size, x_resolution, y_resolution, z_resolution, unit)[source]
generate_parcellation_annotation(internal_identifier, anatomical_annotation_set_label, voxel_count)[source]
generate_parcellation_annotation_term_map(internal_identifier, anatomical_annotation_set_label, parcellation_term_identifier, parcellation_term_set_label, parcellation_terminology_label)[source]
generate_parcellation_atlas(label, name, description, specialization_of, revision_of, version, anatomical_space_label, anatomical_annotation_set_label, parcellation_terminology_label)[source]
generate_parcellation_color_assignment(parcellation_color_scheme_label, parcellation_term_identifier, parcellation_terminology_label, color_hex_triplet)[source]
generate_parcellation_color_scheme(label, name, description, revision_of, version, parcellation_terminology_label)[source]
generate_parcellation_term(name, symbol, description, parcellation_term_set_label, parcellation_terminology_label, parcellation_term_identifier, parcellation_term_order, parcellation_parent_term_set_label, parcellation_parent_term_identifier)[source]
generate_parcellation_term_set(label, name, description, parcellation_terminology_label, parcellation_term_set_order, parcellation_parent_term_set_label)[source]
generate_parcellation_terminology(label, name, description, revision_of, version)[source]
provide_data(dir_path, output_file_name)[source]
read_data(file_name)[source]
serialize_to_jsonld(output_file: str, exclude_none: bool = True, exclude_unset: bool = False)[source]

Serialize the object and write it to the specified output file.

Parameters:

output_file (str) – The path of the output file.

Returns:

None