feagi / brain-visualizer

Apache License 2.0
0 stars 1 forks source link

Data type handling #265

Closed m-nadji-tehrani closed 2 months ago

m-nadji-tehrani commented 3 months ago

Under cortical properties:

Under mapping view:

Amir-Rasteg commented 3 months ago

Changed handling to floats on bv side, however it seems feagi itself stores degeneracy as an int

m-nadji-tehrani commented 3 months ago

I just updated degeneracy using API without any problem

image
m-nadji-tehrani commented 3 months ago

@Amir-Rasteg

m-nadji-tehrani commented 3 months ago

After a thorough review of all data types there were a few more that had to be updated on FEAGI side converting some ints to floats. Here is the comprehensive list. Please review all data types you have against this list. The last segment of the value is associated with type.

"cortical_name": "cx-__name-t",
"group_id": "cx-_group-t",
"sub_group_id": "cx-subgrp-t",
"per_voxel_neuron_cnt": "cx-_n_cnt-i",
"visualization": "cx-gd_vis-b",
"location_generation_type": "cx-__rand-b",
"synapse_attractivity": "cx-synatt-f",
"postsynaptic_current": "nx-pstcr_-f",
"postsynaptic_current_max": "nx-pstcrm-f",
'firing_threshold': "nx-fire_t-f",
"firing_threshold_increment_x": "nx-ftincx-f",
"firing_threshold_increment_y": "nx-ftincy-f",
"firing_threshold_increment_z": "nx-ftincz-f",
"neuron_excitability": "nx-excite-f",
"firing_threshold_limit": "nx-fthlim-f",
"refractory_period": "nx-refrac-i",
"leak_coefficient": "nx-leak_c-f",
"leak_variability": "nx-leak_v-f",
"consecutive_fire_cnt_max": "nx-c_fr_c-i",
"snooze_length": "nx-snooze-f",
"degeneration": "cx-de_gen-f",
"psp_uniform_distribution": "cx-pspuni-b",
"cortical_mapping_dst": "cx-dstmap-d",
"mp_charge_accumulation": "nx-mp_acc-b",
"mp_driven_psp": "nx-mp_psp-b",
"is_mem_type": "cx-memory-b",
"longterm_mem_threshold": "cx-mem__t-i",
"lifespan_growth_rate": "cx-mem_gr-i",
"init_lifespan": "cx-mem_ls-i"