diff --git a/.gitignore b/.gitignore index 654bf2f53..fd2ddeb68 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,651 @@ __pycache__ /docs/assets/RipollSanchez* /docs/Escape_*data_*.md /docs/Escape_*_data.md +/docs/Colors.html +/docs/ADAL.md +/docs/ADAR.md +/docs/ADEL.md +/docs/ADER.md +/docs/ADFL.md +/docs/ADFR.md +/docs/ADLL.md +/docs/ADLR.md +/docs/AFDL.md +/docs/AFDR.md +/docs/AIAL.md +/docs/AIAR.md +/docs/AIBL.md +/docs/AIBR.md +/docs/AIML.md +/docs/AIMR.md +/docs/AINL.md +/docs/AINR.md +/docs/AIYL.md +/docs/AIYR.md +/docs/AIZL.md +/docs/AIZR.md +/docs/ALA.md +/docs/ALML.md +/docs/ALMR.md +/docs/ALNL.md +/docs/ALNR.md +/docs/AQR.md +/docs/AS1.md +/docs/AS10.md +/docs/AS11.md +/docs/AS2.md +/docs/AS3.md +/docs/AS4.md +/docs/AS5.md +/docs/AS6.md +/docs/AS7.md +/docs/AS8.md +/docs/AS9.md +/docs/ASEL.md +/docs/ASER.md +/docs/ASGL.md +/docs/ASGR.md +/docs/ASHL.md +/docs/ASHR.md +/docs/ASIL.md +/docs/ASIR.md +/docs/ASJL.md +/docs/ASJR.md +/docs/ASKL.md +/docs/ASKR.md +/docs/AUAL.md +/docs/AUAR.md +/docs/AVAL.md +/docs/AVAR.md +/docs/AVBL.md +/docs/AVBR.md +/docs/AVDL.md +/docs/AVDR.md +/docs/AVEL.md +/docs/AVER.md +/docs/AVFL.md +/docs/AVFR.md +/docs/AVG.md +/docs/AVHL.md +/docs/AVHR.md +/docs/AVJL.md +/docs/AVJR.md +/docs/AVKL.md +/docs/AVKR.md +/docs/AVL.md +/docs/AVM.md +/docs/AWAL.md +/docs/AWAR.md +/docs/AWBL.md +/docs/AWBR.md +/docs/AWCL.md +/docs/AWCR.md +/docs/BAGL.md +/docs/BAGR.md +/docs/BDUL.md +/docs/BDUR.md +/docs/BWM.md +/docs/CA01.md +/docs/CA02.md +/docs/CA03.md +/docs/CA04.md +/docs/CA05.md +/docs/CA06.md +/docs/CA07.md +/docs/CA08.md +/docs/CA09.md +/docs/CANL.md +/docs/CANR.md +/docs/CEMDL.md +/docs/CEMDR.md +/docs/CEMVL.md +/docs/CEMVR.md +/docs/CEPDL.md +/docs/CEPDR.md +/docs/CEPVL.md +/docs/CEPVR.md +/docs/CEPshDL.md +/docs/CEPshDR.md +/docs/CEPshVL.md +/docs/CEPshVR.md +/docs/CP01.md +/docs/CP02.md +/docs/CP03.md +/docs/CP04.md +/docs/CP05.md +/docs/CP06.md +/docs/CP07.md +/docs/CP08.md +/docs/CP09.md +/docs/DA1.md +/docs/DA2.md +/docs/DA3.md +/docs/DA4.md +/docs/DA5.md +/docs/DA6.md +/docs/DA7.md +/docs/DA8.md +/docs/DA9.md +/docs/DB1.md +/docs/DB2.md +/docs/DB3.md +/docs/DB4.md +/docs/DB5.md +/docs/DB6.md +/docs/DB7.md +/docs/DD1.md +/docs/DD2.md +/docs/DD3.md +/docs/DD4.md +/docs/DD5.md +/docs/DD6.md +/docs/DVA.md +/docs/DVB.md +/docs/DVC.md +/docs/DVE.md +/docs/DVF.md +/docs/DX1.md +/docs/DX2.md +/docs/DX3.md +/docs/EF1.md +/docs/EF2.md +/docs/EF3.md +/docs/FLPL.md +/docs/FLPR.md +/docs/GLRDL.md +/docs/GLRDR.md +/docs/GLRL.md +/docs/GLRR.md +/docs/GLRVL.md +/docs/GLRVR.md +/docs/HOA.md +/docs/HOB.md +/docs/HSNL.md +/docs/HSNR.md +/docs/I1L.md +/docs/I1R.md +/docs/I2L.md +/docs/I2R.md +/docs/I3.md +/docs/I4.md +/docs/I5.md +/docs/I6.md +/docs/IL1DL.md +/docs/IL1DR.md +/docs/IL1L.md +/docs/IL1R.md +/docs/IL1VL.md +/docs/IL1VR.md +/docs/IL2DL.md +/docs/IL2DR.md +/docs/IL2L.md +/docs/IL2R.md +/docs/IL2VL.md +/docs/IL2VR.md +/docs/LUAL.md +/docs/LUAR.md +/docs/M1.md +/docs/M2L.md +/docs/M2R.md +/docs/M3L.md +/docs/M3R.md +/docs/M4.md +/docs/M5.md +/docs/MANAL.md +/docs/MCL.md +/docs/MCML.md +/docs/MCMR.md +/docs/MCR.md +/docs/MDL01.md +/docs/MDL02.md +/docs/MDL03.md +/docs/MDL04.md +/docs/MDL05.md +/docs/MDL06.md +/docs/MDL07.md +/docs/MDL08.md +/docs/MDL09.md +/docs/MDL10.md +/docs/MDL11.md +/docs/MDL12.md +/docs/MDL13.md +/docs/MDL14.md +/docs/MDL15.md +/docs/MDL16.md +/docs/MDL17.md +/docs/MDL18.md +/docs/MDL19.md +/docs/MDL20.md +/docs/MDL21.md +/docs/MDL22.md +/docs/MDL23.md +/docs/MDL24.md +/docs/MDR01.md +/docs/MDR02.md +/docs/MDR03.md +/docs/MDR04.md +/docs/MDR05.md +/docs/MDR06.md +/docs/MDR07.md +/docs/MDR08.md +/docs/MDR09.md +/docs/MDR10.md +/docs/MDR11.md +/docs/MDR12.md +/docs/MDR13.md +/docs/MDR14.md +/docs/MDR15.md +/docs/MDR16.md +/docs/MDR17.md +/docs/MDR18.md +/docs/MDR19.md +/docs/MDR20.md +/docs/MDR21.md +/docs/MDR22.md +/docs/MDR23.md +/docs/MDR24.md +/docs/MI.md +/docs/MVL01.md +/docs/MVL02.md +/docs/MVL03.md +/docs/MVL04.md +/docs/MVL05.md +/docs/MVL06.md +/docs/MVL07.md +/docs/MVL08.md +/docs/MVL09.md +/docs/MVL10.md +/docs/MVL11.md +/docs/MVL12.md +/docs/MVL13.md +/docs/MVL14.md +/docs/MVL15.md +/docs/MVL16.md +/docs/MVL17.md +/docs/MVL18.md +/docs/MVL19.md +/docs/MVL20.md +/docs/MVL21.md +/docs/MVL22.md +/docs/MVL23.md +/docs/MVR01.md +/docs/MVR02.md +/docs/MVR03.md +/docs/MVR04.md +/docs/MVR05.md +/docs/MVR06.md +/docs/MVR07.md +/docs/MVR08.md +/docs/MVR09.md +/docs/MVR10.md +/docs/MVR11.md +/docs/MVR12.md +/docs/MVR13.md +/docs/MVR14.md +/docs/MVR15.md +/docs/MVR16.md +/docs/MVR17.md +/docs/MVR18.md +/docs/MVR19.md +/docs/MVR20.md +/docs/MVR21.md +/docs/MVR22.md +/docs/MVR23.md +/docs/MVR24.md +/docs/MVULVA.md +/docs/NSML.md +/docs/NSMR.md +/docs/OLLL.md +/docs/OLLR.md +/docs/OLQDL.md +/docs/OLQDR.md +/docs/OLQVL.md +/docs/OLQVR.md +/docs/PCAL.md +/docs/PCAR.md +/docs/PCBL.md +/docs/PCBR.md +/docs/PCCL.md +/docs/PCCR.md +/docs/PDA.md +/docs/PDB.md +/docs/PDC.md +/docs/PDEL.md +/docs/PDER.md +/docs/PGA.md +/docs/PHAL.md +/docs/PHAR.md +/docs/PHBL.md +/docs/PHBR.md +/docs/PHCL.md +/docs/PHCR.md +/docs/PHDL.md +/docs/PHDR.md +/docs/PLML.md +/docs/PLMR.md +/docs/PLNL.md +/docs/PLNR.md +/docs/PQR.md +/docs/PVCL.md +/docs/PVCR.md +/docs/PVDL.md +/docs/PVDR.md +/docs/PVM.md +/docs/PVNL.md +/docs/PVNR.md +/docs/PVPL.md +/docs/PVPR.md +/docs/PVQL.md +/docs/PVQR.md +/docs/PVR.md +/docs/PVT.md +/docs/PVV.md +/docs/PVWL.md +/docs/PVWR.md +/docs/PVX.md +/docs/PVY.md +/docs/PVZ.md +/docs/R1AL.md +/docs/R1AR.md +/docs/R1BL.md +/docs/R1BR.md +/docs/R1shL.md +/docs/R1shR.md +/docs/R1stL.md +/docs/R1stR.md +/docs/R2AL.md +/docs/R2AR.md +/docs/R2BL.md +/docs/R2BR.md +/docs/R2shL.md +/docs/R2shR.md +/docs/R2stL.md +/docs/R2stR.md +/docs/R3AL.md +/docs/R3AR.md +/docs/R3BL.md +/docs/R3BR.md +/docs/R3shL.md +/docs/R3shR.md +/docs/R3stL.md +/docs/R3stR.md +/docs/R4AL.md +/docs/R4AR.md +/docs/R4BL.md +/docs/R4BR.md +/docs/R4shL.md +/docs/R4shR.md +/docs/R4stL.md +/docs/R4stR.md +/docs/R5AL.md +/docs/R5AR.md +/docs/R5BL.md +/docs/R5BR.md +/docs/R5shL.md +/docs/R5shR.md +/docs/R5stL.md +/docs/R5stR.md +/docs/R6AL.md +/docs/R6AR.md +/docs/R6BL.md +/docs/R6BR.md +/docs/R6shL.md +/docs/R6shR.md +/docs/R6stL.md +/docs/R6stR.md +/docs/R7AL.md +/docs/R7AR.md +/docs/R7BL.md +/docs/R7BR.md +/docs/R7shL.md +/docs/R7shR.md +/docs/R7stL.md +/docs/R7stR.md +/docs/R8AL.md +/docs/R8AR.md +/docs/R8BL.md +/docs/R8BR.md +/docs/R8shL.md +/docs/R8shR.md +/docs/R8stL.md +/docs/R8stR.md +/docs/R9AL.md +/docs/R9AR.md +/docs/R9BL.md +/docs/R9BR.md +/docs/R9shL.md +/docs/R9shR.md +/docs/R9stL.md +/docs/R9stR.md +/docs/RIAL.md +/docs/RIAR.md +/docs/RIBL.md +/docs/RIBR.md +/docs/RICL.md +/docs/RICR.md +/docs/RID.md +/docs/RIFL.md +/docs/RIFR.md +/docs/RIGL.md +/docs/RIGR.md +/docs/RIH.md +/docs/RIML.md +/docs/RIMR.md +/docs/RIPL.md +/docs/RIPR.md +/docs/RIR.md +/docs/RIS.md +/docs/RIVL.md +/docs/RIVR.md +/docs/RMDDL.md +/docs/RMDDR.md +/docs/RMDL.md +/docs/RMDR.md +/docs/RMDVL.md +/docs/RMDVR.md +/docs/RMED.md +/docs/RMEL.md +/docs/RMER.md +/docs/RMEV.md +/docs/RMFL.md +/docs/RMFR.md +/docs/RMGL.md +/docs/RMGR.md +/docs/RMHL.md +/docs/RMHR.md +/docs/SAADL.md +/docs/SAADR.md +/docs/SAAVL.md +/docs/SAAVR.md +/docs/SABD.md +/docs/SABVL.md +/docs/SABVR.md +/docs/SDQL.md +/docs/SDQR.md +/docs/SIADL.md +/docs/SIADR.md +/docs/SIAVL.md +/docs/SIAVR.md +/docs/SIBDL.md +/docs/SIBDR.md +/docs/SIBVL.md +/docs/SIBVR.md +/docs/SMBDL.md +/docs/SMBDR.md +/docs/SMBVL.md +/docs/SMBVR.md +/docs/SMDDL.md +/docs/SMDDR.md +/docs/SMDVL.md +/docs/SMDVR.md +/docs/SPCL.md +/docs/SPCR.md +/docs/SPDL.md +/docs/SPDR.md +/docs/SPVL.md +/docs/SPVR.md +/docs/URADL.md +/docs/URADR.md +/docs/URAVL.md +/docs/URAVR.md +/docs/URBL.md +/docs/URBR.md +/docs/URXL.md +/docs/URXR.md +/docs/URYDL.md +/docs/URYDR.md +/docs/URYVL.md +/docs/URYVR.md +/docs/VA1.md +/docs/VA10.md +/docs/VA11.md +/docs/VA12.md +/docs/VA2.md +/docs/VA3.md +/docs/VA4.md +/docs/VA5.md +/docs/VA6.md +/docs/VA7.md +/docs/VA8.md +/docs/VA9.md +/docs/VB1.md +/docs/VB10.md +/docs/VB11.md +/docs/VB2.md +/docs/VB3.md +/docs/VB4.md +/docs/VB5.md +/docs/VB6.md +/docs/VB7.md +/docs/VB8.md +/docs/VB9.md +/docs/VC1.md +/docs/VC2.md +/docs/VC3.md +/docs/VC4.md +/docs/VC5.md +/docs/VC6.md +/docs/VD1.md +/docs/VD10.md +/docs/VD11.md +/docs/VD12.md +/docs/VD13.md +/docs/VD2.md +/docs/VD3.md +/docs/VD4.md +/docs/VD5.md +/docs/VD6.md +/docs/VD7.md +/docs/VD8.md +/docs/VD9.md +/docs/ailL.md +/docs/ailR.md +/docs/aobL.md +/docs/aobR.md +/docs/bm.md +/docs/cdlL.md +/docs/cdlR.md +/docs/dglL1.md +/docs/dglL2.md +/docs/dglL3.md +/docs/dglL4.md +/docs/dglL5.md +/docs/dglL6.md +/docs/dglL7.md +/docs/dglR1.md +/docs/dglR2.md +/docs/dglR3.md +/docs/dglR4.md +/docs/dglR5.md +/docs/dglR6.md +/docs/dglR7.md +/docs/dglR8.md +/docs/dspL.md +/docs/dspR.md +/docs/dsrL.md +/docs/dsrR.md +/docs/e2D.md +/docs/e2DL.md +/docs/e2DR.md +/docs/e2V.md +/docs/e2VL.md +/docs/e2VR.md +/docs/e3D.md +/docs/e3VL.md +/docs/e3VR.md +/docs/exc_cell.md +/docs/exc_gl.md +/docs/g1AL.md +/docs/g1AR.md +/docs/g1p.md +/docs/g2L.md +/docs/g2R.md +/docs/gecL.md +/docs/gecR.md +/docs/gonad.md +/docs/grtL.md +/docs/grtR.md +/docs/hmc.md +/docs/hyp.md +/docs/int.md +/docs/mc1DL.md +/docs/mc1DR.md +/docs/mc1V.md +/docs/mc2DL.md +/docs/mc2DR.md +/docs/mc2V.md +/docs/mc3DL.md +/docs/mc3DR.md +/docs/mc3V.md +/docs/mu_anal.md +/docs/mu_intL.md +/docs/mu_intR.md +/docs/mu_sph.md +/docs/pilL.md +/docs/pilR.md +/docs/pm1.md +/docs/pm2D.md +/docs/pm2VL.md +/docs/pm2VR.md +/docs/pm3D.md +/docs/pm3VL.md +/docs/pm3VR.md +/docs/pm4D.md +/docs/pm4VL.md +/docs/pm4VR.md +/docs/pm4_UNSPECIFIED.md +/docs/pm5D.md +/docs/pm5VL.md +/docs/pm5VR.md +/docs/pm6D.md +/docs/pm6VL.md +/docs/pm6VR.md +/docs/pm7D.md +/docs/pm7VL.md +/docs/pm7VR.md +/docs/pm8.md +/docs/pobL.md +/docs/pobR.md +/docs/polL.md +/docs/polR.md +/docs/proctodeum.md +/docs/um1AL.md +/docs/um1AR.md +/docs/um1PL.md +/docs/um1PR.md +/docs/um2AL.md +/docs/um2AR.md +/docs/um2PL.md +/docs/um2PR.md +/docs/vm1AL.md +/docs/vm1AR.md +/docs/vm1PL.md +/docs/vm1PR.md +/docs/vm2AL.md +/docs/vm2AR.md +/docs/vm2PL.md +/docs/vm2PR.md +/docs/vspL.md +/docs/vspR.md +/docs/vsrL.md +/docs/vsrR.md diff --git a/cect/CellInfo.py b/cect/CellInfo.py new file mode 100644 index 000000000..302d1969a --- /dev/null +++ b/cect/CellInfo.py @@ -0,0 +1,201 @@ +from cect.Cells import ALL_PREFERRED_CELL_NAMES +from cect.Cells import GENERIC_CHEM_SYN +from cect.Cells import GENERIC_ELEC_SYN + +from cect.Cells import get_cell_notes +from cect.Cells import get_cell_internal_link +from cect.Cells import get_cell_wormatlas_link +from cect.Cells import get_cell_osbv1_link +from cect.Cells import are_bilateral_pair + + +from cect import print_ +# from pprint import pprint + +import pandas as pd + +pd.options.plotting.backend = "plotly" + + +def get_dataset_link(dataset): + # return dataset+'--' + dataset_text = dataset.replace("Herm", " Herm").replace("Male", " Male") + return f'{dataset_text}' + + +def get_weight_table_markdown(w): + ww = {} + tot_conns = 0 + + for dataset in w: + # print(dataset) + # print(w[dataset].values()) + if ( + len(w[dataset]) > 0 + and sum(w[dataset].values()) > 0 + and "SSData" not in dataset + ): + ww[dataset] = w[dataset] + tot_conns += sum(w[dataset].values()) + + if tot_conns == 0: + return "No connections found!" + + sort_by = ( + get_dataset_link("Cook2019Herm") + if get_dataset_link("Cook2019Herm") in ww + else get_dataset_link("White_whole") + if get_dataset_link("White_whole") in ww + else get_dataset_link("Randi2023") + if get_dataset_link("Randi2023") in ww + else get_dataset_link("RipollSanchezShortRange") + if get_dataset_link("RipollSanchezShortRange") in ww + else list(ww.keys())[0] + ) + + # print_("Sorting the following data by %s" % sort_by) + # pprint(ww) + + df_all = pd.DataFrame(ww).fillna(0).sort_values(sort_by, ascending=False) + + if df_all is not None: + fig = df_all.plot( + labels=dict(index="Connection", value="Weight", variable="Dataset") + ) + fig.update_traces( + marker=dict(size=4), marker_symbol="circle", mode="lines+markers" + ) + indent = "" + fig_md = f"\n{indent}
\n{indent}```plotly\n{indent}{fig.to_json()}\n{indent}```\n" + else: + fig_md = "" + + return "%s\n\n%s" % (df_all.to_markdown(), fig_md) + + +def generate_cell_info_pages(connectomes): + for cell in ALL_PREFERRED_CELL_NAMES: + cell_info = '---\ntitle: "Cell: %s"\n---\n\n' % cell + + cell_info += "**%s**\n\n" % (get_cell_notes(cell)) + cell_info += "%s " % ( + get_cell_wormatlas_link(cell, text="Info on WormAtlas", button=True) + ) + + cell_info += "%s\n\n" % get_cell_osbv1_link( + cell, text="View in 3D on Open Source Brain", button=True + ) + all_synclasses = [ + GENERIC_CHEM_SYN, + GENERIC_ELEC_SYN, + ] # ensure these 2 are at the start... + + for cds_name in connectomes: + cds = connectomes[cds_name] + for synclass in cds.connections: + if synclass not in all_synclasses: + all_synclasses.append(synclass) + + for synclass in all_synclasses: + synclass_info = synclass + if synclass == GENERIC_CHEM_SYN: + synclass_info = "Chemical synaptic" + if synclass == GENERIC_ELEC_SYN: + synclass_info = "Electrical synaptic" + + cell_link = get_cell_internal_link( + cell, html=True, use_color=True, individual_cell_page=True + ) + header = "### %s connections %s %s { data-search-exclude }\n\n" % ( + synclass_info, + "from" if not synclass == GENERIC_ELEC_SYN else "from/to", + cell_link, + ) + + w = {} + for cds_name in connectomes: + r_name = get_dataset_link(cds_name) + w[r_name] = {} + cds = connectomes[cds_name] + + connection_symbol = "↔" if synclass == GENERIC_ELEC_SYN else "→" + if synclass in cds.connections: + conns = cds.get_connections_from(cell, synclass) + for c in conns: + cc = get_cell_internal_link( + c, html=True, use_color=True, individual_cell_page=True + ) + template = ( + "%s%s%s" + if cell == c + else ( + "%s%s%s" + if are_bilateral_pair(cell, c) + else "%s%s%s" + ) + ) + w[r_name][template % (cell_link, connection_symbol, cc)] = ( + conns[c] + ) + + w_md = get_weight_table_markdown(w) + + if "No connections" not in w_md: + cell_info += "%s\n%s\n\n" % (header, w_md) + + if not synclass == GENERIC_ELEC_SYN: + cell_link = get_cell_internal_link( + cell, html=True, use_color=True, individual_cell_page=True + ) + header = "### %s connections %s %s { data-search-exclude }\n\n" % ( + synclass_info, + "to", + cell_link, + ) + + w = {} + for cds_name in connectomes: + r_name = get_dataset_link(cds_name) + w[r_name] = {} + + cds = connectomes[cds_name] + if synclass in cds.connections: + conns = cds.get_connections_to(cell, synclass) + for c in conns: + cc = get_cell_internal_link( + c, html=True, use_color=True, individual_cell_page=True + ) + template = ( + "%s→%s" + if cell == c + else ( + "%s→%s" + if are_bilateral_pair(cell, c) + else "%s→%s" + ) + ) + w[r_name][template % (cc, cell_link)] = conns[c] + + w_md = get_weight_table_markdown(w) + + if "No connections" not in w_md: + cell_info += "%s\n%s\n\n" % (header, w_md) + + cell_filename = "docs/%s.md" % cell + with open(cell_filename, "w") as cell_file: + print_(f"Writing info on cell {cell} to {cell_filename}") + cell_file.write(cell_info) + + +if __name__ == "__main__": + from cect.White_whole import get_instance + + cds_white = get_instance() + + from cect.WitvlietDataReader8 import get_instance + + cds_w8 = get_instance() + + connectomes = {"White_whole": cds_white, "Witvliet8": cds_w8} + + generate_cell_info_pages(connectomes) diff --git a/cect/Cells.py b/cect/Cells.py index 2f5c0fc88..94fcf8fa5 100644 --- a/cect/Cells.py +++ b/cect/Cells.py @@ -41,6 +41,12 @@ connectomes = None +def get_cell_notes(cell): + desc = cell_notes[cell] if cell in cell_notes else "???" + desc = desc[0].upper() + desc[1:] + return desc + + SENSORY_NEURONS_1_COOK = [ "IL2DL", "IL2DR", @@ -1467,10 +1473,10 @@ def get_SIM_class(cell): PROVISIONAL method to return whether a cell is Sensory/Interneuron/Motorneuron (or Other) Parameters: - cell: which cell to assess + cell: which cell to assess Returns: - str: whether a cell is Sensory/Interneuron/Motorneuron (or Other) + str: whether a cell is Sensory/Interneuron/Motorneuron (or Other) """ pharyngeal_polymodal_to_class_motor = [ @@ -1832,9 +1838,14 @@ def get_short_description(cell): """ -def get_cell_internal_link(cell_name, html=False, text=None, use_color=False): +def get_cell_internal_link( + cell_name, html=False, text=None, use_color=False, individual_cell_page=False +): url = "../Cells/index.html#%s" % cell_name + if individual_cell_page: + url = "../%s" % cell_name + if html: link_text = cell_name if text is None else text if use_color: @@ -1854,7 +1865,15 @@ def get_cell_internal_link(cell_name, html=False, text=None, use_color=False): ) -def get_cell_link(cell_name, html=False, text=None): +def get_cell_osbv1_link(cell, text="OSB 3D", button=False): + osbv1_link = f"https://v1.opensourcebrain.org/projects/c302/repository/revisions/development/show/examples/cells?explorer=https%253A%252F%252Fraw.githubusercontent.com%252Fopenworm%252Fc302%252Fdevelopment%252Fexamples%252Fcells%252F{cell}.cell.nml" + + if button: + return f"[{text}]({osbv1_link}){{ .md-button }}" if is_herm_neuron(cell) else "" + return f'{text}' if is_herm_neuron(cell) else "" + + +def get_cell_wormatlas_link(cell_name, html=False, text=None, button=False): url = None known_other = { @@ -1965,7 +1984,7 @@ def get_cell_link(cell_name, html=False, text=None): except Exception as err: error = err - print( + print_( "URL for %s (%s): %s" % (cell_name, url, "SUCCESS" if error is None else "ERROR (%s)" % error) ) @@ -1974,6 +1993,11 @@ def get_cell_link(cell_name, html=False, text=None): if html: return '%s' % (url, cell_name if text is None else text) + elif button: + return "[%s](%s){ .md-button }" % ( + cell_name if text is None else text, + url, + ) else: return "[%s](%s)" % (cell_name if text is None else text, url) else: @@ -2082,16 +2106,14 @@ def _generate_cell_table(cell_type, cells): if cell in conn.nodes: datasets += "%s, " % _get_dataset_link(reader_name) - osbv1_link = f"https://v1.opensourcebrain.org/projects/c302/repository/revisions/development/show/examples/cells?explorer=https%253A%252F%252Fraw.githubusercontent.com%252Fopenworm%252Fc302%252Fdevelopment%252Fexamples%252Fcells%252F{cell}.cell.nml" - all_data[f'{cell}'] = [ + cell_link = get_cell_internal_link( + cell, html=True, use_color=True, individual_cell_page=True + ) + all_data[f'{cell_link}'] = [ desc, datasets[:-2], - get_cell_link(cell, text="WormAtlas") - + ( - f'
OSB 3D' - if is_herm_neuron(cell) - else "" - ), + get_cell_wormatlas_link(cell, text="WormAtlas") + + ("
%s" % get_cell_osbv1_link(cell)), ] df_all = pd.DataFrame(all_data).transpose() @@ -2116,6 +2138,10 @@ def _generate_cell_table(cell_type, cells): connectomes = generate_comparison_page(quick) + from cect.CellInfo import generate_cell_info_pages + + generate_cell_info_pages(connectomes) + filename = "docs/Cells.md" with open(filename, "w") as f: diff --git a/cect/Comparison.py b/cect/Comparison.py index 0e95e7f2d..634f186e7 100644 --- a/cect/Comparison.py +++ b/cect/Comparison.py @@ -161,10 +161,15 @@ def generate_comparison_page(quick: bool, color_table=True): if not quick: readers["Bentley2016_MA"] = ["cect.WormNeuroAtlasMAReader", "Bentley_2016"] readers["Bentley2016_PEP"] = ["cect.WormNeuroAtlasPepReader", "Bentley_2016"] - readers["Cook2019Herm"] = ["cect.Cook2019HermReader", "Cook_2019"] + + readers["Cook2019Herm"] = ["cect.Cook2019HermReader", "Cook_2019"] + + if not quick: readers["Cook2019Male"] = ["cect.Cook2019MaleReader", "Cook_2019"] - readers["Cook2020"] = ["cect.Cook2020DataReader", "Cook_2020"] + readers["Cook2020"] = ["cect.Cook2020DataReader", "Cook_2020"] + + if not quick: readers["Witvliet1"] = ["cect.WitvlietDataReader1", "Witvliet_2021"] readers["Witvliet2"] = ["cect.WitvlietDataReader2", "Witvliet_2021"] readers["Witvliet3"] = ["cect.WitvlietDataReader3", "Witvliet_2021"] @@ -176,8 +181,10 @@ def generate_comparison_page(quick: bool, color_table=True): if not quick: readers["WormNeuroAtlas"] = ["cect.WormNeuroAtlasReader", "Randi_2023"] + readers["Randi2023"] = ["cect.WormNeuroAtlasFuncReader", "Randi_2023"] + if not quick: readers["RipollSanchezShortRange"] = [ "cect.RipollSanchezShortRangeReader", "RipollSanchez_2023", @@ -260,7 +267,10 @@ def generate_comparison_page(quick: bool, color_table=True): hiveplot = "hiveplot" in filename matrix = not graph and not hiveplot - f.write('---\ntitle: "Dataset: %s"\n---\n\n' % reader_name) + f.write( + '---\ntitle: "Dataset: %s"\nsearch:\n exclude: true\n---\n\n' + % reader_name + ) desc_full = "" @@ -442,7 +452,10 @@ def generate_comparison_page(quick: bool, color_table=True): "%s" % ( get_cell_internal_link( - n, html=True, use_color=True + n, + html=True, + use_color=True, + individual_cell_page=True, ) ) ) @@ -539,6 +552,7 @@ def generate_comparison_page(quick: bool, color_table=True): better_name = ( reader_name.replace("_", " ") .replace("201", " 201") + .replace("202", " 202") .replace("chez", "chez ") .replace("19", "19 ") .replace("liet", "liet ") @@ -548,7 +562,7 @@ def generate_comparison_page(quick: bool, color_table=True): table_html += f' {better_name}\n' for group in COOK_GROUPING_1: - table_html += f' \n{group}\n' + table_html += f' \n{group}\n' for reader_name in readers_to_include: connectome = all_connectomes[reader_name] @@ -560,6 +574,7 @@ def generate_comparison_page(quick: bool, color_table=True): text=VERTICAL_ELLIPSE, html=True, use_color=True, + individual_cell_page=True, ) else: pass # cells_here+='%s '%cell diff --git a/cect/Cook2019DataReader.py b/cect/Cook2019DataReader.py index fed5d0c0c..2ba4ffc8c 100644 --- a/cect/Cook2019DataReader.py +++ b/cect/Cook2019DataReader.py @@ -17,6 +17,9 @@ from cect.ConnectomeDataset import ConnectomeDataset +from cect.Cells import GENERIC_CHEM_SYN +from cect.Cells import GENERIC_ELEC_SYN + from openpyxl import load_workbook import os @@ -49,13 +52,13 @@ def get_synclass(cell, syntype): - # TODO: fix this dirty hack if syntype == "GapJunction": - return "Generic_GJ" + return GENERIC_ELEC_SYN else: + '''# dirty hack if cell.startswith("DD") or cell.startswith("VD"): - return "GABA" - return "Acetylcholine" + return "GABA"''' + return GENERIC_CHEM_SYN class Cook2019DataReader(ConnectomeDataset): diff --git a/cect/Cook2020DataReader.py b/cect/Cook2020DataReader.py index 7b5fa524f..41cdf11ff 100644 --- a/cect/Cook2020DataReader.py +++ b/cect/Cook2020DataReader.py @@ -40,6 +40,7 @@ def __init__(self): def read_data(self): """ Args: + Parameters: Returns: cells (:obj:`list` of :obj:`str`): List of neurons conns (:obj:`list` of :obj:`ConnectionInfo`): List of connections from neuron to neuron diff --git a/cect/HivePlot.py b/cect/HivePlot.py deleted file mode 100644 index cf5d4328d..000000000 --- a/cect/HivePlot.py +++ /dev/null @@ -1,200 +0,0 @@ -import sys - -if __name__ == "__main__": - sz = 3 - - from cect.TestDataReader import get_instance - - synclass = "Acetylcholine" - - """from cect.VarshneyDataReader import get_instance - - synclass = "Generic_CS" - from cect.White_whole import get_instance - - synclass = "Acetylcholine" - from cect.Cook2019HermReader import get_instance - - synclass = "Acetylcholine" - from cect.Cook2020DataReader import get_instance """ - - test_conn = get_instance() - - fig = test_conn.to_plotly_hive_plot_fig(synclass, None) - - import json - - def _format_json(json_str): - return json.dumps(json.loads(json_str), sort_keys=True, indent=2) - - with open("hive.json", "w") as asset_file: - asset_file.write(_format_json(fig.to_json())) - - import plotly.io as pio - - pio.renderers.default = "browser" - if "-nogui" not in sys.argv: - fig.show() - - print("Done") - - """G = test_conn.to_networkx_graph(synclass) - - nids = [n for n in G.nodes] - - for n_id in nids: - node = G.nodes[n_id] - if node["SIM_class"] == "Other": - G.remove_node(n_id) - - nodes, edges = networkx_to_nodes_edges(G) - - print(nodes) - print(edges) - - print(pprint.pprint(nx.node_link_data(G))) - - blocks_dict_unordered = split_nodes_on_variable(nodes, variable_name="SIM_class") - print("Unordered: %s (%s)" % (blocks_dict_unordered, type(blocks_dict_unordered))) - blocks_dict = {} - for k in ["Interneuron", "Motorneuron", "Sensory"]: - blocks_dict[k] = blocks_dict_unordered[k] - - print(blocks_dict) - - splits = list(blocks_dict.values()) - print("Splits: %s" % splits) - - # pull out degree information from nodes - degrees = dict(G.degree) - in_degrees = dict(G.in_degree) - out_degrees = dict(G.out_degree) - - # add degree information to Node instances - for node in nodes: - deg = degrees[node.unique_id] - block = node.data["SIM_class"] - node.add_data(data={"degree": deg}) - - print(f" - Node {node.unique_id}, block {block} has degree {deg}; {node.data}") - - hp = hive_plot_n_axes( - node_list=nodes, - edges=edges, - axes_assignments=splits, - sorting_variables=["degree"] * 3, - repeat_axes=[True, True, True], - repeat_edge_kwargs={"color": "grey"}, - ) - - for ax in hp.axes: - if "1" in ax: - hp.axes[ax].long_name = INTERNEURON - if "2" in ax: - hp.axes[ax].long_name = MOTORNEURON - if "3" in ax: - hp.axes[ax].long_name = SENSORY - - for ax_name in hp.axes: - ax = hp.axes[ax_name] - print(f" - Axis {ax.long_name}, {ax.start}->{ax.end}...") - - hp.add_edge_kwargs( - axis_id_1="Group 1_repeat", - axis_id_2="Group 2", - a2_to_a1=False, - color=INTERNEURON_COLOR, - ) - - hp.add_edge_kwargs( - axis_id_1="Group 2", - axis_id_2="Group 1_repeat", - a2_to_a1=False, - color=MOTORNEURON_COLOR, - ) - hp.add_edge_kwargs( - axis_id_1="Group 1", - axis_id_2="Group 3_repeat", - a2_to_a1=False, - color=INTERNEURON_COLOR, - ) - hp.add_edge_kwargs( - axis_id_1="Group 3_repeat", - axis_id_2="Group 1", - a2_to_a1=False, - color=SENSORY_COLOR, - ) - hp.add_edge_kwargs( - axis_id_1="Group 3", - axis_id_2="Group 2_repeat", - a2_to_a1=False, - color=SENSORY_COLOR, - ) - hp.add_edge_kwargs( - axis_id_1="Group 2_repeat", - axis_id_2="Group 3", - a2_to_a1=False, - color=MOTORNEURON_COLOR, - ) - - plotly = False - plotly = True - - if plotly: - fig = plotly_hive_plot_viz( - hp, - ) - # ax.set_title("Stochastic Block Model, Base Hive Plot Visualization", y=1.05, size=20) - # fig.update_traces(mode="markers+lines", hovertemplate=None) - fig.update_layout(hovermode="closest") - - fig.update(data=[{"hoverinfo": "skip"}]) - - # print(dir(fig)) - count = 0 - for d in fig.data: - if d["mode"] == "markers": - nrn_num = len(d["x"]) - d["hovertemplate"] = "%{text}" - d.pop("hoverinfo", None) - - if count == 0 or count == 1: - d["marker"]["color"] = [INTERNEURON_COLOR] * nrn_num - type_ = "Interneuron" - if count == 2 or count == 3: - d["marker"]["color"] = [MOTORNEURON_COLOR] * nrn_num - type_ = "Motorneuron" - if count == 4 or count == 5: - d["marker"]["color"] = [SENSORY_COLOR] * nrn_num - type_ = "Sensory" - - d["text"] = [ - "%s (in: %s, out: %s)" % (n, in_degrees[n], out_degrees[n]) - for n in blocks_dict[type_] - ] - - # print(d) - count += 1 - - import json - - def _format_json(json_str): - return json.dumps(json.loads(json_str), sort_keys=True, indent=2) - - with open("hive.json", "w") as asset_file: - asset_file.write(_format_json(fig.to_json())) - - import plotly.io as pio - - pio.renderers.default = "browser" - if "-nogui" not in sys.argv: - fig.show() - - print("Done") - else: - fig, ax = hive_plot_viz(hp) - ax.set_title( - "Stochastic Block Model, Base Hive Plot Visualization", y=1.05, size=20 - ) - plt.show() - """ diff --git a/cect/SpreadsheetDataReader.py b/cect/SpreadsheetDataReader.py index 1315dcef8..ffed5d3e0 100644 --- a/cect/SpreadsheetDataReader.py +++ b/cect/SpreadsheetDataReader.py @@ -22,9 +22,7 @@ spreadsheet_location = os.path.dirname(os.path.abspath(__file__)) + "/data/" -READER_DESCRIPTION = ( - """Data extracted from **CElegansNeuronTables.xls** for neuronal connectivity""" -) +READER_DESCRIPTION = """Data extracted from **CElegansNeuronTables.xls** for neuronal connectivity. Note: legacy dataset (based on White_whole) used in the past in OpenWorm. Only included here for reference! Do not use!""" class SpreadsheetDataReader(ConnectomeDataset): diff --git a/cect/UpdatedSpreadsheetDataReader.py b/cect/UpdatedSpreadsheetDataReader.py index bf0065952..26152d177 100644 --- a/cect/UpdatedSpreadsheetDataReader.py +++ b/cect/UpdatedSpreadsheetDataReader.py @@ -22,7 +22,8 @@ filename = "%sherm_full_edgelist.csv" % spreadsheet_location READER_DESCRIPTION = ( - """Data extracted from **%s** for neuronal connectivity""" % filename + """Data extracted from **%s** for neuronal connectivity. Note: legacy dataset (based on Cook et al. 2019) used in the past in OpenWorm. Only included here for reference! Do not use!""" + % filename ) diff --git a/cect/UpdatedSpreadsheetDataReader2.py b/cect/UpdatedSpreadsheetDataReader2.py index 926a8ca5d..969287024 100644 --- a/cect/UpdatedSpreadsheetDataReader2.py +++ b/cect/UpdatedSpreadsheetDataReader2.py @@ -22,7 +22,8 @@ filename = "%sherm_full_edgelist_MODIFIED.csv" % spreadsheet_location READER_DESCRIPTION = ( - """Data extracted from **%s** for neuronal connectivity""" % filename + """Data extracted from **%s** for neuronal connectivity. Note: legacy dataset (based on Cook et al. 2019) used in the past in OpenWorm. Only included here for reference! Do not use!""" + % filename ) diff --git a/cect/WhiteDataReader.py b/cect/WhiteDataReader.py index 6ce1abf22..f565e0734 100644 --- a/cect/WhiteDataReader.py +++ b/cect/WhiteDataReader.py @@ -24,6 +24,9 @@ from cect import print_ +from cect.Cells import GENERIC_CHEM_SYN +from cect.Cells import GENERIC_ELEC_SYN + def get_syntype(syntype): if syntype == "electrical": @@ -35,13 +38,13 @@ def get_syntype(syntype): def get_synclass(cell, syntype): - # dirty hack if syntype == "GapJunction": - return "Generic_GJ" + return GENERIC_ELEC_SYN else: + '''# dirty hack if cell.startswith("DD") or cell.startswith("VD"): - return "GABA" - return "Acetylcholine" + return "GABA"''' + return GENERIC_CHEM_SYN def parse_line(line): diff --git a/cect/WormAtlasInfo.py b/cect/WormAtlasInfo.py index 37c7a5f67..041e89e75 100644 --- a/cect/WormAtlasInfo.py +++ b/cect/WormAtlasInfo.py @@ -141,20 +141,34 @@ table, th, td { border: 1px solid black; border-collapse: collapse; + font-family: Arial, sans-serif; } + td { + text-align: center; + } + """ ) f.write("

C. elegans cells

\n---\n\n") + f.write(" \n\n") + max_col = 4 for sex in WA_COLORS: - f.write("\n

%s

\n" % sex) + f.write( + '\n \n' + % (max_col, sex.upper()) + ) for cell_class in WA_COLORS[sex]: - f.write("\n

%s

\n\n" % cell_class) + f.write( + '\n \n\n ' + % (max_col, cell_class) + ) + count = 0 for cell_type in WA_COLORS[sex][cell_class]: if "General code" not in cell_type: color = WA_COLORS[sex][cell_class][cell_type][1:] @@ -177,13 +191,29 @@ w = png.Writer(width, height, greyscale=False) w.write(img_file, img) - link_text = cell_type - link_text = f'{VERTICAL_ELLIPSE}{link_text} - ' + # https://stackoverflow.com/questions/3942878 + if ( + float(rgb_color[0]) / 256 * 0.299 + + float(rgb_color[1]) / 256 * 0.587 + + float(rgb_color[2]) / 256 * 0.2 + ) > 0.35: + fcolor = "#000000" + else: + fcolor = "#ffffff" + + count += 1 + link_text = cell_type[0].upper() + cell_type[1:] + # link_text = f'{link_text}' print(link_text) - f.write("\n%s\n\n" % link_text) + f.write( + f'\n \n' + ) + if count >= max_col: + f.write("\n \n") + count = 0 f.write( - """ + """
%s
%s
{link_text}
""" ) diff --git a/cect/WormNeuroAtlasFuncReader.py b/cect/WormNeuroAtlasFuncReader.py index 5d63224d6..162a0bfd4 100644 --- a/cect/WormNeuroAtlasFuncReader.py +++ b/cect/WormNeuroAtlasFuncReader.py @@ -78,7 +78,7 @@ def read_data(self): if abs(num) > -10 and q_ij < self.max_q: if num < 0: - print( + print_( "Functional conn junc (%s (%i) -> %s (%i):\t%s (orig = %s, q = %s)" % (pre, apre, post, apost, dff_ij, dff_ij_orig, q_ij) ) diff --git a/cect/WormNeuroAtlasReader.py b/cect/WormNeuroAtlasReader.py index 808be53cb..fadc62448 100644 --- a/cect/WormNeuroAtlasReader.py +++ b/cect/WormNeuroAtlasReader.py @@ -1,3 +1,7 @@ +""" +Data extracted from the **WormNeuroAtlas package** for neuronal connectivity +""" + import logging from cect.ConnectomeReader import ConnectionInfo @@ -37,6 +41,8 @@ def get_all_cells(watlas): class WormNeuroAtlasReader(ConnectomeDataset): + """Reader for data extracted from the **WormNeuroAtlasReader** for neuronal connectivity""" + def __init__(self): ConnectomeDataset.__init__(self) diff --git a/docs/About.md b/docs/About.md index 11f553605..ddf4483b4 100644 --- a/docs/About.md +++ b/docs/About.md @@ -4,7 +4,7 @@ Information on published connectomics data related to _C. elegans_. This is being developed as part of the [OpenWorm project](https://www.openworm.org). -For technical issues with this site or the [Python package](Python.md), please open an issue on the [GitHub repository](https://github.com/openworm/ConnectomeToolbox) for the project. +For technical issues with this site or the [Python package](Python.md), please **[open an issue](https://github.com/openworm/ConnectomeToolbox/issues)** on the [GitHub repository](https://github.com/openworm/ConnectomeToolbox) for the project. For queries about the data present here, please contact *p.gleeson AT ucl.ac.uk*. diff --git a/docs/api/cect/CellInfo.md b/docs/api/cect/CellInfo.md new file mode 100644 index 000000000..e22054605 --- /dev/null +++ b/docs/api/cect/CellInfo.md @@ -0,0 +1 @@ +::: cect.CellInfo diff --git a/docs/api/cect/Cells.md b/docs/api/cect/Cells.md new file mode 100644 index 000000000..2519be023 --- /dev/null +++ b/docs/api/cect/Cells.md @@ -0,0 +1 @@ +::: cect.Cells diff --git a/docs/api/cect/Comparison.md b/docs/api/cect/Comparison.md new file mode 100644 index 000000000..a409b2772 --- /dev/null +++ b/docs/api/cect/Comparison.md @@ -0,0 +1 @@ +::: cect.Comparison diff --git a/docs/api/cect/ConnectomeDataset.md b/docs/api/cect/ConnectomeDataset.md new file mode 100644 index 000000000..767f22d8e --- /dev/null +++ b/docs/api/cect/ConnectomeDataset.md @@ -0,0 +1 @@ +::: cect.ConnectomeDataset diff --git a/docs/api/cect/ConnectomeReader.md b/docs/api/cect/ConnectomeReader.md new file mode 100644 index 000000000..8bfa76f9c --- /dev/null +++ b/docs/api/cect/ConnectomeReader.md @@ -0,0 +1 @@ +::: cect.ConnectomeReader diff --git a/docs/api/cect/ConnectomeView.md b/docs/api/cect/ConnectomeView.md new file mode 100644 index 000000000..81e03cd5a --- /dev/null +++ b/docs/api/cect/ConnectomeView.md @@ -0,0 +1 @@ +::: cect.ConnectomeView diff --git a/docs/api/cect/Cook2019DataReader.md b/docs/api/cect/Cook2019DataReader.md new file mode 100644 index 000000000..f04d9a795 --- /dev/null +++ b/docs/api/cect/Cook2019DataReader.md @@ -0,0 +1 @@ +::: cect.Cook2019DataReader diff --git a/docs/api/cect/Cook2019HermReader.md b/docs/api/cect/Cook2019HermReader.md new file mode 100644 index 000000000..a46bb19ad --- /dev/null +++ b/docs/api/cect/Cook2019HermReader.md @@ -0,0 +1 @@ +::: cect.Cook2019HermReader diff --git a/docs/api/cect/Cook2019MaleReader.md b/docs/api/cect/Cook2019MaleReader.md new file mode 100644 index 000000000..dbb1347de --- /dev/null +++ b/docs/api/cect/Cook2019MaleReader.md @@ -0,0 +1 @@ +::: cect.Cook2019MaleReader diff --git a/docs/api/cect/Cook2020DataReader.md b/docs/api/cect/Cook2020DataReader.md new file mode 100644 index 000000000..41940d06c --- /dev/null +++ b/docs/api/cect/Cook2020DataReader.md @@ -0,0 +1 @@ +::: cect.Cook2020DataReader diff --git a/docs/api/cect/RipollSanchezDataReader.md b/docs/api/cect/RipollSanchezDataReader.md new file mode 100644 index 000000000..79081a581 --- /dev/null +++ b/docs/api/cect/RipollSanchezDataReader.md @@ -0,0 +1 @@ +::: cect.RipollSanchezDataReader diff --git a/docs/api/cect/RipollSanchezLongRangeReader.md b/docs/api/cect/RipollSanchezLongRangeReader.md new file mode 100644 index 000000000..8868b8e83 --- /dev/null +++ b/docs/api/cect/RipollSanchezLongRangeReader.md @@ -0,0 +1 @@ +::: cect.RipollSanchezLongRangeReader diff --git a/docs/api/cect/RipollSanchezMidRangeReader.md b/docs/api/cect/RipollSanchezMidRangeReader.md new file mode 100644 index 000000000..6da00bc01 --- /dev/null +++ b/docs/api/cect/RipollSanchezMidRangeReader.md @@ -0,0 +1 @@ +::: cect.RipollSanchezMidRangeReader diff --git a/docs/api/cect/RipollSanchezShortRangeReader.md b/docs/api/cect/RipollSanchezShortRangeReader.md new file mode 100644 index 000000000..0b403bc29 --- /dev/null +++ b/docs/api/cect/RipollSanchezShortRangeReader.md @@ -0,0 +1 @@ +::: cect.RipollSanchezShortRangeReader diff --git a/docs/api/cect/SpreadsheetDataReader.md b/docs/api/cect/SpreadsheetDataReader.md new file mode 100644 index 000000000..cd81f3ee4 --- /dev/null +++ b/docs/api/cect/SpreadsheetDataReader.md @@ -0,0 +1 @@ +::: cect.SpreadsheetDataReader diff --git a/docs/api/cect/TestDataReader.md b/docs/api/cect/TestDataReader.md new file mode 100644 index 000000000..f1be6ebb6 --- /dev/null +++ b/docs/api/cect/TestDataReader.md @@ -0,0 +1 @@ +::: cect.TestDataReader diff --git a/docs/api/cect/UpdatedSpreadsheetDataReader.md b/docs/api/cect/UpdatedSpreadsheetDataReader.md new file mode 100644 index 000000000..eb0658477 --- /dev/null +++ b/docs/api/cect/UpdatedSpreadsheetDataReader.md @@ -0,0 +1 @@ +::: cect.UpdatedSpreadsheetDataReader diff --git a/docs/api/cect/UpdatedSpreadsheetDataReader2.md b/docs/api/cect/UpdatedSpreadsheetDataReader2.md new file mode 100644 index 000000000..1cbed2a76 --- /dev/null +++ b/docs/api/cect/UpdatedSpreadsheetDataReader2.md @@ -0,0 +1 @@ +::: cect.UpdatedSpreadsheetDataReader2 diff --git a/docs/api/cect/VarshneyDataReader.md b/docs/api/cect/VarshneyDataReader.md new file mode 100644 index 000000000..d19566460 --- /dev/null +++ b/docs/api/cect/VarshneyDataReader.md @@ -0,0 +1 @@ +::: cect.VarshneyDataReader diff --git a/docs/api/cect/WhiteDataReader.md b/docs/api/cect/WhiteDataReader.md new file mode 100644 index 000000000..e6e877e5b --- /dev/null +++ b/docs/api/cect/WhiteDataReader.md @@ -0,0 +1 @@ +::: cect.WhiteDataReader diff --git a/docs/api/cect/White_A.md b/docs/api/cect/White_A.md new file mode 100644 index 000000000..8330bc180 --- /dev/null +++ b/docs/api/cect/White_A.md @@ -0,0 +1 @@ +::: cect.White_A diff --git a/docs/api/cect/White_L4.md b/docs/api/cect/White_L4.md new file mode 100644 index 000000000..c84241541 --- /dev/null +++ b/docs/api/cect/White_L4.md @@ -0,0 +1 @@ +::: cect.White_L4 diff --git a/docs/api/cect/White_whole.md b/docs/api/cect/White_whole.md new file mode 100644 index 000000000..036a0d2c6 --- /dev/null +++ b/docs/api/cect/White_whole.md @@ -0,0 +1 @@ +::: cect.White_whole diff --git a/docs/api/cect/WitvlietDataReader.md b/docs/api/cect/WitvlietDataReader.md new file mode 100644 index 000000000..82ebda59b --- /dev/null +++ b/docs/api/cect/WitvlietDataReader.md @@ -0,0 +1 @@ +::: cect.WitvlietDataReader diff --git a/docs/api/cect/WitvlietDataReader1.md b/docs/api/cect/WitvlietDataReader1.md new file mode 100644 index 000000000..52add49e8 --- /dev/null +++ b/docs/api/cect/WitvlietDataReader1.md @@ -0,0 +1 @@ +::: cect.WitvlietDataReader1 diff --git a/docs/api/cect/WitvlietDataReader2.md b/docs/api/cect/WitvlietDataReader2.md new file mode 100644 index 000000000..f785bda78 --- /dev/null +++ b/docs/api/cect/WitvlietDataReader2.md @@ -0,0 +1 @@ +::: cect.WitvlietDataReader2 diff --git a/docs/api/cect/WitvlietDataReader3.md b/docs/api/cect/WitvlietDataReader3.md new file mode 100644 index 000000000..c845a7283 --- /dev/null +++ b/docs/api/cect/WitvlietDataReader3.md @@ -0,0 +1 @@ +::: cect.WitvlietDataReader3 diff --git a/docs/api/cect/WitvlietDataReader4.md b/docs/api/cect/WitvlietDataReader4.md new file mode 100644 index 000000000..5c3777706 --- /dev/null +++ b/docs/api/cect/WitvlietDataReader4.md @@ -0,0 +1 @@ +::: cect.WitvlietDataReader4 diff --git a/docs/api/cect/WitvlietDataReader5.md b/docs/api/cect/WitvlietDataReader5.md new file mode 100644 index 000000000..812c725cb --- /dev/null +++ b/docs/api/cect/WitvlietDataReader5.md @@ -0,0 +1 @@ +::: cect.WitvlietDataReader5 diff --git a/docs/api/cect/WitvlietDataReader6.md b/docs/api/cect/WitvlietDataReader6.md new file mode 100644 index 000000000..f1eac1b3c --- /dev/null +++ b/docs/api/cect/WitvlietDataReader6.md @@ -0,0 +1 @@ +::: cect.WitvlietDataReader6 diff --git a/docs/api/cect/WitvlietDataReader7.md b/docs/api/cect/WitvlietDataReader7.md new file mode 100644 index 000000000..3a5e68844 --- /dev/null +++ b/docs/api/cect/WitvlietDataReader7.md @@ -0,0 +1 @@ +::: cect.WitvlietDataReader7 diff --git a/docs/api/cect/WitvlietDataReader8.md b/docs/api/cect/WitvlietDataReader8.md new file mode 100644 index 000000000..8a3447bf3 --- /dev/null +++ b/docs/api/cect/WitvlietDataReader8.md @@ -0,0 +1 @@ +::: cect.WitvlietDataReader8 diff --git a/docs/api/cect/WormAtlasInfo.md b/docs/api/cect/WormAtlasInfo.md new file mode 100644 index 000000000..e5933f305 --- /dev/null +++ b/docs/api/cect/WormAtlasInfo.md @@ -0,0 +1 @@ +::: cect.WormAtlasInfo diff --git a/docs/api/cect/WormNeuroAtlasExtSynReader.md b/docs/api/cect/WormNeuroAtlasExtSynReader.md new file mode 100644 index 000000000..3eded1f6c --- /dev/null +++ b/docs/api/cect/WormNeuroAtlasExtSynReader.md @@ -0,0 +1 @@ +::: cect.WormNeuroAtlasExtSynReader diff --git a/docs/api/cect/WormNeuroAtlasFuncReader.md b/docs/api/cect/WormNeuroAtlasFuncReader.md new file mode 100644 index 000000000..af43be4c7 --- /dev/null +++ b/docs/api/cect/WormNeuroAtlasFuncReader.md @@ -0,0 +1 @@ +::: cect.WormNeuroAtlasFuncReader diff --git a/docs/api/cect/WormNeuroAtlasMAReader.md b/docs/api/cect/WormNeuroAtlasMAReader.md new file mode 100644 index 000000000..2cf201c9e --- /dev/null +++ b/docs/api/cect/WormNeuroAtlasMAReader.md @@ -0,0 +1 @@ +::: cect.WormNeuroAtlasMAReader diff --git a/docs/api/cect/WormNeuroAtlasPepReader.md b/docs/api/cect/WormNeuroAtlasPepReader.md new file mode 100644 index 000000000..2ef002f75 --- /dev/null +++ b/docs/api/cect/WormNeuroAtlasPepReader.md @@ -0,0 +1 @@ +::: cect.WormNeuroAtlasPepReader diff --git a/docs/api/cect/WormNeuroAtlasReader.md b/docs/api/cect/WormNeuroAtlasReader.md new file mode 100644 index 000000000..5ad3e0e92 --- /dev/null +++ b/docs/api/cect/WormNeuroAtlasReader.md @@ -0,0 +1 @@ +::: cect.WormNeuroAtlasReader diff --git a/docs/api/cect/index.md b/docs/api/cect/index.md new file mode 100644 index 000000000..f7fcd850e --- /dev/null +++ b/docs/api/cect/index.md @@ -0,0 +1 @@ +::: cect diff --git a/docs/api/summary.md b/docs/api/summary.md new file mode 100644 index 000000000..38ad1b84e --- /dev/null +++ b/docs/api/summary.md @@ -0,0 +1,39 @@ +* [cect](cect/index.md) + * [CellInfo](cect/CellInfo.md) + * [Cells](cect/Cells.md) + * [Comparison](cect/Comparison.md) + * [ConnectomeDataset](cect/ConnectomeDataset.md) + * [ConnectomeReader](cect/ConnectomeReader.md) + * [ConnectomeView](cect/ConnectomeView.md) + * [Cook2019DataReader](cect/Cook2019DataReader.md) + * [Cook2019HermReader](cect/Cook2019HermReader.md) + * [Cook2019MaleReader](cect/Cook2019MaleReader.md) + * [Cook2020DataReader](cect/Cook2020DataReader.md) + * [RipollSanchezDataReader](cect/RipollSanchezDataReader.md) + * [RipollSanchezLongRangeReader](cect/RipollSanchezLongRangeReader.md) + * [RipollSanchezMidRangeReader](cect/RipollSanchezMidRangeReader.md) + * [RipollSanchezShortRangeReader](cect/RipollSanchezShortRangeReader.md) + * [SpreadsheetDataReader](cect/SpreadsheetDataReader.md) + * [TestDataReader](cect/TestDataReader.md) + * [UpdatedSpreadsheetDataReader](cect/UpdatedSpreadsheetDataReader.md) + * [UpdatedSpreadsheetDataReader2](cect/UpdatedSpreadsheetDataReader2.md) + * [VarshneyDataReader](cect/VarshneyDataReader.md) + * [WhiteDataReader](cect/WhiteDataReader.md) + * [White_A](cect/White_A.md) + * [White_L4](cect/White_L4.md) + * [White_whole](cect/White_whole.md) + * [WitvlietDataReader](cect/WitvlietDataReader.md) + * [WitvlietDataReader1](cect/WitvlietDataReader1.md) + * [WitvlietDataReader2](cect/WitvlietDataReader2.md) + * [WitvlietDataReader3](cect/WitvlietDataReader3.md) + * [WitvlietDataReader4](cect/WitvlietDataReader4.md) + * [WitvlietDataReader5](cect/WitvlietDataReader5.md) + * [WitvlietDataReader6](cect/WitvlietDataReader6.md) + * [WitvlietDataReader7](cect/WitvlietDataReader7.md) + * [WitvlietDataReader8](cect/WitvlietDataReader8.md) + * [WormAtlasInfo](cect/WormAtlasInfo.md) + * [WormNeuroAtlasExtSynReader](cect/WormNeuroAtlasExtSynReader.md) + * [WormNeuroAtlasFuncReader](cect/WormNeuroAtlasFuncReader.md) + * [WormNeuroAtlasMAReader](cect/WormNeuroAtlasMAReader.md) + * [WormNeuroAtlasPepReader](cect/WormNeuroAtlasPepReader.md) + * [WormNeuroAtlasReader](cect/WormNeuroAtlasReader.md) diff --git a/docs/assets/Test_Neurons_Chemical_Exc_graph.json b/docs/assets/Test_Neurons_Chemical_Exc_graph.json index bbf309ea2..6c3f5313b 100644 --- a/docs/assets/Test_Neurons_Chemical_Exc_graph.json +++ b/docs/assets/Test_Neurons_Chemical_Exc_graph.json @@ -11,12 +11,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - -0.914105, - -0.909153 + -0.955398, + -0.98384 ], "y": [ - 0.144511, - 0.088979 + -0.150339, + -0.084736 ] }, { @@ -30,12 +30,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - -0.909153, - -0.934471 + -0.98384, + -0.987349 ], "y": [ - 0.088979, - 0.040982 + -0.084736, + -0.119684 ] }, { @@ -49,12 +49,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - -0.464499, - -0.40464 + -0.550663, + -0.519398 ], "y": [ - -0.421288, - -0.377981 + 0.24139, + 0.185644 ] }, { @@ -68,12 +68,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - -0.577761, - -0.464499 + -0.610236, + -0.550663 ], "y": [ - -0.481809, - -0.421288 + 0.373026, + 0.24139 ] }, { @@ -87,12 +87,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.345835, - 0.425357 + 0.165876, + 0.238455 ], "y": [ - -0.153054, - -0.184737 + 0.055476, + 0.034583 ] }, { @@ -106,12 +106,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.425357, - 0.391585 + 0.238455, + 0.205678 ], "y": [ - -0.184737, - -0.226415 + 0.034583, + -0.010116 ] }, { @@ -125,12 +125,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.425357, - 0.486318 + 0.238455, + 0.316643 ], "y": [ - -0.184737, - -0.153342 + 0.034583, + 0.040046 ] }, { @@ -144,12 +144,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.425357, - 0.525367 + 0.238455, + 0.282733 ], "y": [ - -0.184737, - -0.214415 + 0.034583, + 0.110541 ] }, { @@ -163,12 +163,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.486318, - 0.548662 + 0.316643, + 0.301741 ], "y": [ - -0.153342, - -0.20521 + 0.040046, + 0.116233 ] }, { @@ -182,12 +182,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.486318, - 0.527473 + 0.316643, + 0.37182 ], "y": [ - -0.153342, - -0.129217 + 0.040046, + 0.035708 ] }, { @@ -201,12 +201,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.525367, - 0.548662 + 0.282733, + 0.301741 ], "y": [ - -0.214415, - -0.20521 + 0.110541, + 0.116233 ] }, { @@ -220,12 +220,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.597998, - 0.527473 + 0.437441, + 0.37182 ], "y": [ - -0.122922, - -0.129217 + 0.042476, + 0.035708 ] }, { @@ -1808,612 +1808,612 @@ "textposition": "middle center", "type": "scatter", "x": [ - -0.983175, - -0.991616, - -0.932671, - -0.87181, - -0.961557, - -0.814271, - -0.914105, - -0.993063, - -0.934471, - -0.992919, - -0.930356, - -0.89355, - -0.964037, - -0.909153, - -0.914796, - -0.824881, + -0.956377, + -0.955929, + -0.923633, + -0.820691, + -0.977392, + -0.969276, + -0.955398, + -0.92505, + -0.987349, + -0.844238, + -0.889901, -1.0, - -0.85763, - -0.850262, - -0.979754, - -0.663691, - -0.395938, - -0.771019, - -0.67122, - -0.617318, - -0.56037, - -0.615524, - -0.268849, - -0.360169, - -0.805949, - -0.702287, - -0.788851, - -0.799766, - -0.730478, - -0.791723, - -0.386023, - -0.617011, - -0.184664, - -0.464499, - -0.808201, - -0.54539, - -0.533775, - -0.263257, - -0.220342, - -0.621985, - -0.669894, - -0.631603, - -0.688109, - -0.465362, - -0.577761, - -0.624814, - -0.551451, - -0.773718, - -0.651994, - -0.458199, - -0.322947, - -0.347296, - -0.794353, - 0.345835, - -0.579436, - -0.259092, - -0.429709, - -0.801643, - -0.760984, - -0.700186, - -0.722024, - -0.741421, - -0.659952, - -0.676741, - -0.541243, - -0.611991, - -0.632021, - -0.420752, - -0.376524, - -0.460661, - -0.785892, - -0.500271, - -0.730658, - -0.753378, - -0.321112, - -0.420596, - -0.745415, - -0.655538, - -0.318907, - -0.640039, - -0.503942, - -0.565216, - -0.735366, - -0.499083, - -0.524648, - -0.664891, - -0.703153, - -0.394044, - -0.281823, - -0.677694, - -0.573243, - -0.583901, - -0.469103, - -0.810439, - -0.462478, - -0.764675, - -0.763967, - -0.306327, - 0.154507, - -0.11455, - 0.668116, - -0.503952, - -0.104065, - 0.259812, - 0.14253, - 0.231155, - 0.06374, - 0.588807, - -0.160702, - 0.088549, - -0.076669, - -0.489757, - -0.090776, - -0.571938, - -0.208535, - 0.201292, - -0.588289, - 0.391585, - 0.179939, - -0.366181, - 0.250449, - -0.490243, - 0.040393, - -0.596483, - -0.095229, - 0.119127, - -0.047458, - -0.386632, - -0.323446, - -0.185351, - 0.055617, - -0.032083, - -0.121871, - -0.252632, - -0.324851, - 0.010017, - -0.141288, - 0.160656, - 0.209022, - 0.425357, - -0.44027, - -0.2266, - -0.040886, - -0.066954, - -0.172018, - -0.178334, - 0.129931, - 0.07111, - 0.097574, - 0.006315, - -0.203977, - -0.217523, - 0.211539, - -0.00544, - 0.448233, - 0.064613, - -0.382096, - 0.566714, - -0.278186, - -0.02149, - 0.298692, - 0.037439, - 0.343047, - -0.188085, - -0.265066, - 0.010976, - -0.076377, - 0.354276, - -0.565274, - -0.099108, - 0.018212, - 0.126392, - -0.40464, - 0.101994, - 0.161388, - -0.144963, - -0.538997, - -0.378168, - -0.474739, - 0.844971, - 0.835409, - 0.842293, - 0.740753, - 0.479717, - 0.468388, - 0.853308, - 0.680436, - 0.615823, - 0.845314, - 0.822648, - 0.180887, - 0.525986, - 0.575588, - 0.614127, - 0.157511, - 0.860986, - 0.844025, - 0.660932, - 0.598192, - 0.42014, - 0.709679, - 0.760895, - 0.486318, - 0.558222, - 0.855732, - 0.826625, - 0.857087, - 0.299747, - 0.557637, - 0.548662, - 0.672577, - 0.533003, - 0.863218, - 0.388874, - 0.60966, - 0.720694, - 0.211431, - 0.799193, - 0.72314, - 0.361563, - 0.847354, - 0.446859, - 0.723893, - 0.518974, - 0.366911, - 0.420357, - 0.458148, - 0.081993, - 0.633112, - 0.361172, - 0.635602, - 0.468554, - 0.452036, - 0.750973, - 0.695566, - 0.595607, - 0.730709, - 0.313457, - 0.667583, - 0.481878, - 0.715735, - 0.693608, - 0.390144, - 0.515096, - 0.855347, - 0.40248, - 0.688661, - 0.34209, - 0.756244, - 0.777398, - 0.809641, - 0.81477, - 0.849896, - 0.813971, - 0.543388, - 0.612352, - 0.272694, - 0.784003, - 0.801852, - 0.736762, - 0.635202, - 0.597998, - 0.830092, - 0.666863, - 0.795319, - 0.495431, - 0.609808, - 0.266826, - 0.82475, - 0.748989, - 0.556502, - 0.581568, - 0.525367, - 0.640354, - 0.705461, - 0.791152, - 0.234359, - 0.683644, - 0.491691, - 0.693821, - 0.325922, - 0.55728, - 0.758625, - 0.427961, - 0.474449, - 0.281258, - 0.787528, - 0.390595, - 0.526495, - 0.587727, - 0.780878, - 0.527473, - 0.342714, - 0.725653, - 0.295889, - -0.057662, - 0.051039 + -0.848116, + -0.98384, + -0.865936, + -0.840814, + -0.869241, + -0.946609, + -0.98331, + -0.976893, + -0.66683, + -0.516635, + -0.443212, + -0.36781, + -0.233233, + -0.444555, + -0.784042, + -0.479987, + -0.770205, + -0.246642, + -0.536177, + -0.700669, + -0.676262, + -0.719019, + -0.62942, + -0.80652, + -0.72843, + -0.410504, + -0.550663, + -0.676234, + -0.713921, + -0.775098, + -0.282269, + -0.460419, + -0.374913, + -0.785322, + -0.548854, + -0.690504, + -0.790092, + -0.610236, + -0.479941, + -0.575783, + -0.343614, + -0.315146, + -0.631249, + -0.808481, + -0.338501, + -0.50135, + 0.165876, + -0.464335, + -0.71647, + -0.775784, + -0.523848, + -0.763614, + -0.518391, + -0.397988, + -0.728575, + -0.682904, + -0.75016, + -0.792369, + -0.586095, + -0.608868, + -0.57801, + -0.651856, + -0.3037, + -0.518128, + -0.635239, + -0.322157, + -0.74681, + -0.425966, + -0.682736, + -0.355623, + -0.454456, + -0.676639, + -0.586992, + -0.633055, + -0.638138, + -0.790963, + -0.649607, + -0.605529, + -0.37663, + -0.721079, + -0.651392, + -0.408722, + -0.657145, + -0.194874, + -0.795298, + -0.599263, + -0.432258, + -0.51342, + -0.567444, + -0.268322, + -0.753816, + 0.48971, + -0.470728, + -0.199806, + 0.211376, + -0.156054, + 0.244363, + -0.219847, + 0.195506, + 0.138587, + 0.060695, + -0.476015, + -0.386948, + -0.60062, + 0.193307, + -0.243081, + -0.12582, + -0.547539, + 0.276908, + 0.185687, + 0.205678, + -0.101355, + -0.006201, + -0.155963, + -0.511185, + -0.149439, + -0.157141, + 0.346073, + 0.121233, + 0.030718, + 0.120961, + 0.024226, + -0.301349, + -0.264956, + -0.182142, + -0.10554, + -0.057558, + 0.084899, + -0.288132, + -0.433075, + 0.157473, + -0.042178, + 0.238455, + -0.026921, + 0.154175, + -0.339427, + -0.074078, + 0.622599, + -0.04655, + 0.248171, + 0.060801, + 0.083654, + 0.05721, + -0.069182, + -0.485965, + 0.397028, + -0.034451, + 0.094527, + 0.619378, + 0.617226, + 0.166794, + -0.558655, + -0.237976, + -0.169789, + 0.023857, + 0.076815, + 0.03703, + -0.01055, + -0.087308, + 0.324046, + -0.208461, + 0.136974, + -0.40565, + -0.103271, + 0.006061, + -0.519398, + 0.111136, + -0.606673, + -0.321912, + -0.271331, + 0.224826, + -0.135584, + 0.853262, + 0.364281, + 0.764865, + 0.5189, + 0.31874, + 0.5321, + 0.402128, + 0.666375, + 0.829146, + 0.773602, + 0.575247, + 0.374347, + 0.605377, + 0.444528, + 0.727843, + 0.2763, + 0.652499, + 0.408818, + 0.805272, + 0.628486, + 0.805111, + 0.311735, + 0.817146, + 0.316643, + 0.403846, + 0.529718, + 0.718645, + 0.855064, + 0.288165, + 0.444883, + 0.301741, + 0.68032, + 0.744174, + 0.805442, + 0.608502, + 0.842527, + 0.166246, + 0.727712, + 0.853499, + 0.80005, + 0.80052, + 0.827533, + 0.838481, + 0.617477, + 0.833112, + 0.729427, + 0.848771, + 0.826472, + 0.769881, + 0.366247, + 0.531275, + 0.512671, + 0.313034, + 0.844988, + 0.715634, + 0.578676, + 0.706416, + 0.219402, + 0.714624, + 0.449999, + 0.640515, + 0.779243, + 0.685258, + 0.613468, + 0.732861, + 0.496678, + 0.498764, + 0.82841, + 0.494605, + 0.818697, + 0.679022, + 0.21681, + 0.701819, + 0.720197, + 0.356863, + 0.575762, + 0.707965, + -0.203414, + 0.56635, + 0.753463, + 0.787967, + 0.444961, + 0.437441, + 0.427912, + 0.251037, + 0.785672, + 0.594217, + 0.636888, + 0.794831, + 0.483549, + 0.284402, + 0.680995, + 0.74962, + 0.282733, + 0.33271, + 0.4598, + 0.650162, + 0.487974, + 0.553762, + 0.402835, + 0.698091, + 0.568981, + 0.844315, + 0.325835, + 0.667032, + 0.853488, + 0.810128, + 0.816995, + 0.701503, + 0.463224, + 0.830254, + 0.396173, + 0.37182, + 0.634137, + 0.544132, + 0.527672, + -0.067049, + 0.011713 ], "y": [ - -0.154332, - -0.097752, - -0.257461, - -0.364509, - -0.207307, - -0.401924, - 0.144511, - 0.079162, - 0.040982, - 0.016401, - 0.259749, - 0.320164, - 0.209625, - 0.088979, - -0.317115, - 0.371498, - -0.040897, - 0.152443, - -0.207251, - 0.141477, - 0.047811, - -0.53094, - -0.205631, - -0.375042, - 0.38946, - -0.431359, - 0.301572, - -0.584694, - 0.584795, - -0.093574, - -0.329608, - -0.168638, - -0.043365, - -0.313992, - 0.15723, - 0.591569, - -0.470261, - -0.6308, - -0.421288, - 0.028418, - 0.387824, - -0.533817, - -0.632726, - -0.645599, - -0.316739, - -0.073011, - -0.440239, - 0.324363, - -0.577245, - -0.481809, - -0.032956, - 0.502479, - -0.075666, - -0.412958, - 0.565965, - 0.569781, - -0.620478, - 0.063596, - -0.153054, - 0.491066, - -0.400044, - -0.59029, - 0.105568, - -0.251521, - -0.369398, - 0.319294, - 0.289857, - 0.151807, - 0.233882, - -0.500886, - 0.450494, - -0.380073, - 0.580164, - -0.587145, - 0.516334, - -0.131156, - 0.546655, - -0.213578, - 0.257037, - 0.604678, - 0.523864, - 0.122997, - 0.405801, - -0.586821, - 0.437207, - -0.540668, - 0.044368, - -0.278883, - 0.503472, - 0.508795, - -0.192583, - 0.359787, - -0.606087, - 0.606853, - 0.381997, - -0.508428, - 0.461632, - -0.547071, - -0.009198, - -0.512918, - 0.223271, - 0.186645, - -0.62831, - -0.611607, - -0.595018, - 0.075813, - 0.287368, - -0.616377, - -0.58713, - 0.6492, - 0.617229, - -0.620168, - -0.288074, - 0.60665, - -0.602727, - -0.619972, - -0.360483, - 0.640329, - -0.222118, - 0.574939, - 0.605656, - 0.158083, - -0.226415, - 0.625937, - 0.477335, - 0.604031, - 0.399602, - 0.660214, - -0.135461, - 0.569549, - 0.645347, - -0.614154, - 0.329921, - -0.524382, - -0.558625, - 0.541736, - 0.658257, - 0.643292, - 0.598171, - 0.537679, - -0.59733, - -0.606677, - 0.636978, - 0.633692, - -0.184737, - 0.43988, - 0.599034, - 0.639478, - 0.649266, - -0.597965, - 0.625877, - -0.622643, - 0.660215, - 0.653893, - -0.635139, - 0.615439, - -0.578623, - -0.590667, - 0.654576, - -0.448099, - 0.634929, - -0.481684, - 0.357859, - 0.570691, - -0.626506, - -0.552127, - -0.630085, - 0.552583, - 0.440657, - -0.560149, - 0.592555, - -0.497091, - 0.442253, - 0.271451, - 0.616546, - 0.649555, - 0.584426, - -0.377981, - -0.622817, - -0.553804, - 0.630127, - -0.305986, - 0.514836, - -0.218349, - 0.075013, - 0.18274, - -0.107883, - 0.3732, - -0.59343, - 0.55709, - -0.030712, - 0.440674, - -0.516391, - -0.162142, - -0.176164, - -0.619721, - 0.554882, - 0.496605, - 0.011573, - -0.328655, - -0.004626, - -0.1342, - 0.468205, - 0.252014, - -0.590156, - -0.353932, - 0.346457, - -0.153342, - 0.432285, - -0.05862, - 0.14402, - -0.086316, - 0.603453, - -0.55032, - -0.20521, - -0.316534, - 0.50872, - 0.023013, - 0.544545, - 0.481484, - 0.39843, - -0.629158, - 0.282521, - -0.38334, - -0.634036, - 0.143672, - -0.607882, - 0.202618, - -0.55709, - -0.601393, - 0.595255, - -0.551251, - -0.470578, - 0.3604, - 0.611225, - 0.476054, - 0.351459, - 0.585746, - -0.374854, - 0.413077, - 0.518415, - -0.000439, - 0.61911, - -0.443442, - 0.51818, - -0.414749, - 0.293934, - -0.519827, - -0.581604, - 0.049026, - -0.62004, - 0.354149, - 0.596809, - 0.158495, - 0.305856, - 0.235406, - -0.257382, - 0.10531, - -0.227059, - -0.51794, - -0.468487, - 0.608883, - -0.295726, - -0.041708, - 0.094791, - 0.417519, - -0.122922, - -0.203838, - -0.472147, - 0.075619, - 0.569128, - -0.392198, - -0.629531, - 0.211, - 0.316187, - -0.46844, - 0.155895, - -0.214415, - -0.492169, - -0.199239, - -0.26703, - -0.64549, - 0.240087, - 0.461732, - -0.433668, - -0.632353, - 0.537616, - -0.340245, - 0.5421, - -0.48862, - 0.556663, - 0.254748, - 0.596628, - -0.369391, - -0.531627, - -0.32449, - -0.129217, - -0.564107, - -0.120965, - -0.633344, - -0.650787, - -0.673382 + -0.132404, + -0.236104, + 0.279367, + -0.3666, + 0.123258, + 0.178436, + -0.150339, + -0.306377, + -0.119684, + 0.318652, + 0.330042, + 0.007299, + -0.200634, + -0.084736, + -0.390316, + 0.374596, + 0.021516, + 0.227843, + 0.066687, + -0.095596, + 0.099819, + 0.447519, + 0.563824, + -0.603128, + -0.641646, + -0.460433, + -0.068109, + 0.54913, + -0.207561, + -0.584464, + -0.489686, + 0.363208, + 0.386088, + 0.332342, + -0.210965, + 0.027795, + -0.119912, + 0.519971, + 0.24139, + -0.174716, + -0.353552, + 0.12256, + 0.602726, + 0.511081, + -0.513865, + 0.034255, + -0.52138, + 0.011198, + 0.155718, + 0.373026, + -0.549161, + -0.428416, + 0.599375, + 0.595284, + -0.447727, + -0.03381, + -0.600003, + -0.474513, + 0.055476, + -0.578965, + 0.200597, + 0.194842, + 0.361345, + -0.248465, + 0.49865, + -0.588464, + 0.296979, + -0.337375, + 0.22742, + 0.086921, + 0.327912, + -0.47731, + -0.489407, + 0.407597, + -0.618953, + 0.530889, + 0.440277, + -0.56811, + -0.283201, + -0.591634, + -0.392692, + 0.476177, + 0.285101, + -0.075248, + -0.372319, + -0.280828, + -0.360979, + -0.165171, + 0.33301, + 0.434498, + 0.591585, + -0.306767, + 0.229033, + 0.57765, + -0.422705, + -0.62664, + -0.114611, + 0.470792, + -0.534494, + -0.541303, + 0.485341, + -0.616073, + 0.267685, + -0.428736, + -0.181595, + 0.604967, + 0.630335, + -0.57712, + 0.614741, + 0.589593, + 0.535972, + 0.631031, + 0.634772, + 0.398178, + 0.49739, + -0.050704, + -0.600038, + -0.523206, + 0.630829, + 0.280549, + 0.591302, + 0.619239, + -0.010116, + -0.575184, + 0.631146, + 0.63237, + -0.297601, + 0.609505, + 0.51268, + 0.510127, + -0.504042, + 0.647112, + 0.647178, + -0.634715, + -0.540894, + 0.588026, + 0.619286, + -0.617483, + 0.562773, + -0.624907, + 0.548666, + 0.436511, + -0.588918, + -0.625927, + 0.034583, + 0.654053, + 0.596111, + 0.542565, + -0.615026, + -0.059357, + 0.636992, + -0.57688, + 0.656444, + 0.606346, + -0.632763, + 0.649041, + -0.374657, + -0.424562, + -0.579004, + 0.651695, + -0.219568, + 0.251032, + 0.641812, + -0.188647, + 0.600971, + -0.601739, + -0.59736, + -0.591043, + 0.518189, + -0.623635, + 0.625275, + -0.510334, + -0.580187, + -0.617874, + -0.416527, + 0.644682, + 0.65489, + 0.185644, + -0.617808, + 0.070135, + -0.443681, + 0.490439, + 0.599251, + -0.614446, + -0.031789, + -0.590296, + 0.319021, + 0.55525, + -0.6331, + 0.396337, + 0.522197, + -0.420793, + -0.167864, + -0.292177, + -0.485083, + 0.616397, + -0.507682, + -0.607152, + -0.382376, + 0.618109, + 0.447188, + -0.589115, + 0.136688, + -0.329173, + -0.205958, + 0.567384, + -0.231408, + 0.040046, + -0.611376, + -0.483553, + -0.032708, + 0.026784, + -0.576172, + 0.551373, + 0.116233, + -0.256148, + 0.332218, + -0.255394, + 0.349859, + -0.145015, + -0.6273, + 0.22187, + -0.063665, + 0.041031, + 0.259623, + -0.194836, + 0.079976, + -0.4308, + 0.171047, + 0.355685, + -0.101198, + 0.129736, + 0.272535, + 0.584569, + -0.299693, + 0.520747, + 0.620243, + 0.000474, + 0.148453, + -0.537685, + 0.062233, + -0.615499, + -0.114262, + -0.515531, + 0.47712, + -0.320701, + -0.17539, + 0.488963, + 0.380389, + -0.532873, + 0.473459, + -0.077879, + -0.572191, + -0.022989, + 0.431961, + -0.634735, + 0.412385, + -0.325157, + -0.630729, + 0.437832, + -0.424307, + -0.377059, + -0.384048, + -0.364355, + -0.270439, + 0.46333, + 0.042476, + 0.601423, + -0.64135, + 0.297759, + 0.511418, + 0.421377, + 0.229798, + 0.317376, + -0.638445, + -0.453069, + -0.329472, + 0.110541, + 0.588154, + 0.568805, + -0.468038, + 0.572107, + -0.538049, + 0.579692, + 0.38258, + 0.520984, + 0.108688, + -0.583082, + 0.289249, + 0.05692, + 0.183061, + 0.21361, + -0.392567, + -0.580714, + -0.123545, + -0.535972, + 0.035708, + -0.49577, + 0.524596, + -0.564597, + -0.657581, + -0.669543 ] } ], diff --git a/docs/assets/Test_Neurons_Chemical_Exc_graph.png b/docs/assets/Test_Neurons_Chemical_Exc_graph.png index 0fa4018fe..79b466d91 100644 Binary files a/docs/assets/Test_Neurons_Chemical_Exc_graph.png and b/docs/assets/Test_Neurons_Chemical_Exc_graph.png differ diff --git a/docs/assets/Test_Neurons_Chemical_Inh_graph.json b/docs/assets/Test_Neurons_Chemical_Inh_graph.json index 4531e0b9c..bcf475e6a 100644 --- a/docs/assets/Test_Neurons_Chemical_Inh_graph.json +++ b/docs/assets/Test_Neurons_Chemical_Inh_graph.json @@ -11,12 +11,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.766675, - 0.728352 + 0.314939, + 0.36855 ], "y": [ - 0.079514, - 0.167261 + -0.040791, + 0.001258 ] }, { @@ -30,12 +30,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.617179, - 0.581056 + 0.823965, + 0.803608 ], "y": [ - -0.085901, - -0.045527 + -0.212246, + -0.271063 ] }, { @@ -49,12 +49,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.766675, - 0.831928 + 0.314939, + 0.269457 ], "y": [ - 0.079514, - 0.138689 + -0.040791, + -0.089907 ] }, { @@ -1637,612 +1637,612 @@ "textposition": "middle center", "type": "scatter", "x": [ - -0.980533, - -0.812301, - -0.990809, - -0.83304, - -0.915061, - -0.868792, - -0.804095, - -0.871459, - -0.870594, - -0.960051, - -0.851456, - -0.994475, - -0.983671, - -0.870546, + -0.825443, + -0.988596, -1.0, - -0.956524, - -0.926093, - -0.890638, - -0.986214, - -0.946208, - -0.493015, - -0.528071, - -0.706474, - -0.75938, - -0.445391, - -0.686115, - -0.394434, - -0.652596, - -0.566635, - -0.809735, - -0.661244, - -0.212462, - -0.504198, - -0.666536, - -0.701312, - -0.373282, - -0.577148, - -0.39106, - -0.616607, - -0.354221, - -0.574521, - -0.536242, - -0.504993, - -0.581079, - -0.538442, - -0.631683, - -0.529, - -0.683214, - -0.803682, - -0.59305, - -0.320334, - -0.784861, - -0.754928, - -0.715767, - -0.247646, - -0.682502, - -0.78665, - -0.176178, - -0.306993, - -0.639397, - -0.747811, - -0.773625, - -0.337799, - -0.597711, - -0.798106, - -0.651237, - -0.795736, - -0.766967, - -0.422175, - -0.364897, - -0.708173, - -0.708771, - -0.795675, - -0.469541, - -0.807404, - -0.75587, - -0.640819, - -0.602602, - -0.387688, - -0.451855, - -0.707221, - -0.277792, - -0.80062, - -0.653847, - -0.679646, - -0.73205, - -0.28195, - -0.419193, - -0.551939, - -0.684348, - -0.527727, - -0.441145, - -0.480868, - -0.72702, - -0.628545, - -0.458597, - -0.301602, - -0.495206, - -0.55538, - -0.49016, - -0.792227, - -0.616779, - -0.658998, - -0.091513, - 0.040892, - 0.56445, - 0.307764, - -0.282884, - 0.114931, - 0.115427, - -0.157821, - -0.244156, - 0.217623, - 0.589708, - -0.38146, - -0.414498, - -0.195168, - -0.580598, - -0.479934, - 0.03946, - 0.073611, - 0.144881, - 0.088341, - 0.310997, - 0.075728, - -0.332824, - 0.30225, - -0.262209, - -0.10777, - -0.017893, - -0.077389, - -0.129958, - -0.017718, - 0.112148, - 0.240851, - -0.618659, - -0.043384, - 0.165526, - 0.016321, - -0.231945, - -0.158577, - 0.262056, - -0.094533, - -0.218162, - -0.484998, - 0.006049, - 0.279596, - -0.083657, - -0.306903, - 0.13952, - -0.056711, - 0.246738, - -0.181347, - 0.052338, - 0.18172, - -0.047771, - -0.540994, - -0.607315, - 0.028519, - -0.341401, - -0.198822, - -0.543579, - 0.186223, - 0.21105, - -0.49968, - -0.047099, - -0.134693, - -0.438543, - -0.34501, - 0.191712, - 0.057887, - -0.115117, - 0.0984, - -0.18435, - 0.665383, - 0.175352, - 0.000793, - 0.368602, - -0.034026, - 0.107393, - -0.139714, - -0.254923, - -0.416133, - -0.206134, - 0.541404, - 0.663555, - 0.723591, - 0.657175, - 0.62564, - 0.69164, - 0.825172, - 0.283463, - 0.809749, - 0.443852, - 0.604363, - 0.811688, - 0.522533, - 0.499728, - 0.727353, - 0.777957, - 0.732529, - 0.398465, - 0.503355, - 0.743265, - 0.645515, - 0.36408, - 0.840411, - 0.854247, - 0.784037, - 0.84661, - 0.709453, - 0.482205, - 0.681311, - 0.72531, - 0.671415, - 0.342966, - 0.850123, - 0.801264, - 0.672735, - 0.554675, - 0.519523, - 0.847596, - 0.577363, - 0.343268, - 0.631192, - 0.850121, - 0.830812, - 0.37141, - 0.841437, - 0.674458, - 0.50842, - 0.660732, - 0.409686, - 0.504598, - 0.722824, - 0.376891, - 0.740546, - 0.617367, - 0.752657, - 0.776722, - 0.839868, - 0.387635, - 0.350473, - 0.271959, - 0.548551, - 0.244418, - 0.431195, - 0.192612, - 0.461431, - 0.573331, - 0.594499, - 0.151296, - 0.735622, - 0.812269, - 0.631084, - 0.483578, - 0.759834, - 0.57369, - 0.301437, - 0.805988, - 0.617107, - 0.395305, - 0.535131, - 0.728352, - 0.471852, - 0.478252, - 0.581056, - 0.580599, - 0.605298, - 0.74952, - 0.836742, - 0.812564, - 0.673911, - 0.831928, - 0.448108, - 0.478165, - 0.788241, - 0.422132, - 0.407615, - 0.854441, - 0.685111, - 0.623957, - 0.335965, - 0.819087, - 0.427876, - 0.449301, - 0.713748, - 0.745842, - 0.31495, - 0.222283, - 0.531684, - 0.775991, - 0.762288, - 0.766675, - 0.715933, - 0.692665, - 0.617179, - 0.77439, - 0.825204, - 0.733385, - -0.074116, - 0.041755 + -0.880957, + -0.990666, + -0.986141, + -0.945209, + -0.910804, + -0.981687, + -0.870298, + -0.957498, + -0.965051, + -0.80945, + -0.924211, + -0.994771, + -0.97143, + -0.858967, + -0.88225, + -0.860211, + -0.830811, + -0.355466, + -0.575101, + -0.709772, + -0.20191, + -0.464325, + -0.751769, + -0.679589, + -0.660077, + -0.785107, + -0.533592, + -0.427717, + -0.527564, + -0.39237, + -0.347001, + -0.799966, + -0.622317, + -0.464509, + -0.64084, + -0.529664, + -0.798648, + -0.728665, + -0.588792, + -0.747632, + -0.697158, + -0.647222, + -0.665565, + -0.755715, + -0.231379, + -0.50456, + -0.265455, + -0.421907, + -0.397863, + -0.293895, + -0.379228, + -0.676095, + -0.596289, + -0.651888, + -0.808054, + -0.49623, + -0.332443, + -0.784294, + -0.614838, + -0.449709, + -0.675679, + -0.794451, + -0.332063, + -0.548045, + -0.613651, + -0.731513, + -0.29752, + -0.420862, + -0.553175, + -0.671118, + -0.543562, + -0.2643, + -0.79808, + -0.567287, + -0.501127, + -0.608938, + -0.694934, + -0.733372, + -0.363997, + -0.673789, + -0.482774, + -0.574288, + -0.793708, + -0.742995, + -0.563803, + -0.547302, + -0.806371, + -0.792411, + -0.721885, + -0.775503, + -0.747705, + -0.430524, + -0.639028, + -0.476026, + -0.761643, + -0.681152, + -0.666588, + -0.3095, + -0.777674, + -0.165346, + 0.106079, + 0.274482, + 0.085758, + -0.604942, + -0.02137, + -0.470196, + -0.395706, + 0.041065, + -0.218308, + -0.094721, + 0.206651, + -0.039027, + -0.353005, + -0.272667, + -0.172712, + -0.379581, + 0.026226, + -0.405191, + 0.088278, + -0.173208, + 0.649496, + 0.065956, + 0.414967, + -0.104335, + -0.104861, + -0.148749, + -0.271812, + 0.065025, + -0.108418, + 0.143912, + 0.169907, + -0.417553, + -0.008581, + 0.147637, + -0.579986, + -0.480602, + -0.141596, + -0.564956, + 0.291874, + -0.308476, + -0.277899, + -0.314312, + 0.607071, + 0.152435, + 0.168893, + -0.613741, + 0.223458, + 0.240463, + -0.527199, + -0.499302, + -0.070396, + -0.042479, + 0.011699, + 0.206104, + -0.114391, + 0.06524, + 0.060404, + 0.184164, + 0.488028, + -0.245237, + 0.116978, + 0.233421, + 0.020365, + -0.058635, + -0.078558, + 0.28987, + -0.069647, + -0.197838, + 0.026174, + 0.255727, + 0.110911, + 0.130318, + -0.468689, + 0.557356, + -0.221265, + -0.02205, + -0.012834, + -0.201575, + -0.213645, + -0.140265, + -0.548343, + 0.851208, + 0.711495, + 0.678394, + 0.830926, + 0.8472, + 0.340994, + 0.812186, + 0.850325, + 0.644324, + 0.832373, + 0.527277, + 0.265185, + 0.48939, + 0.709617, + 0.479275, + 0.643148, + 0.563292, + 0.847341, + 0.809433, + 0.563737, + 0.789717, + 0.850978, + 0.395521, + 0.758163, + 0.357979, + 0.639048, + 0.395066, + 0.550247, + 0.507962, + 0.68316, + 0.581316, + 0.34675, + 0.461237, + 0.503937, + 0.66812, + 0.299615, + 0.795647, + 0.700289, + 0.83384, + 0.836344, + 0.500994, + 0.780701, + 0.840401, + 0.596121, + 0.352986, + 0.707139, + 0.72059, + 0.630031, + 0.693289, + 0.668958, + 0.443345, + 0.701036, + 0.630458, + 0.734219, + 0.725835, + 0.539931, + 0.820711, + 0.619028, + 0.461899, + 0.381068, + 0.398099, + 0.44894, + 0.703258, + 0.726402, + 0.427552, + 0.636655, + 0.727029, + 0.826158, + 0.331449, + 0.590552, + 0.549718, + 0.666435, + 0.421808, + 0.518908, + 0.512517, + 0.83892, + 0.298538, + 0.778378, + 0.794647, + 0.36855, + 0.219437, + 0.608104, + 0.803608, + 0.626775, + 0.837706, + 0.730321, + 0.691127, + 0.796156, + 0.440761, + 0.269457, + 0.574309, + 0.750294, + 0.320825, + 0.378975, + 0.616165, + 0.85503, + 0.76031, + 0.803467, + 0.427768, + 0.734976, + 0.83257, + 0.781677, + 0.76849, + 0.597961, + 0.617371, + 0.742137, + 0.36445, + 0.497559, + 0.262824, + 0.314939, + 0.322932, + 0.804669, + 0.823965, + 0.775225, + 0.192648, + 0.824897, + -0.067899, + 0.065487 ], "y": [ - 0.124837, - 0.39152, - 0.012628, - -0.273318, - 0.282412, - 0.084452, - -0.418849, - 0.268842, - 0.354411, - -0.212146, - -0.360335, - 0.069248, - -0.095972, - -0.126085, - -0.041769, - 0.217324, - -0.265284, - -0.317639, - -0.155434, - 0.170168, - -0.557348, - -0.426939, - -0.34493, - -0.212422, - -0.537615, - -0.023967, - 0.586766, - -0.42316, - 0.482434, - -0.032989, - 0.141976, - -0.627396, - -0.507849, - 0.225647, - 0.138545, - -0.562971, - -0.501111, - -0.607317, - 0.45195, - -0.615599, - -0.407892, - 0.49878, - -0.227657, - 0.380648, - 0.520756, - -0.454205, - 0.412959, - -0.367438, - 0.003625, - 0.471041, - -0.615975, - -0.182057, - -0.253399, - -0.188689, - -0.628761, - -0.09533, - 0.155181, - -0.619017, - 0.594837, - 0.356899, - -0.29085, - 0.191011, - 0.587936, - -0.312221, - -0.143561, - -0.182156, - -0.066236, - 0.227991, - -0.585523, - 0.589012, - 0.043599, - 0.317162, - -0.104253, - -0.472667, - 0.041863, - 0.264282, - 0.43163, - -0.474365, - -0.514923, - 0.563464, - 0.34853, - 0.600873, - 0.118552, - 0.401135, - -0.399195, - 0.288871, - -0.617417, - 0.56414, - -0.500425, - 0.381484, - -0.5342, - 0.517718, - 0.446865, - -0.319366, - -0.249659, - -0.577635, - -0.581461, - 0.52307, - 0.141806, - 0.550594, - 0.079295, - -0.391979, - 0.291931, - 0.633951, - -0.552479, - -0.311819, - 0.586443, - -0.532336, - 0.647346, - -0.605521, - -0.589543, - -0.568443, - 0.605972, - 0.27356, - 0.516982, - -0.452893, - 0.605636, - 0.236314, - -0.38308, - 0.657909, - -0.628859, - -0.602701, - 0.655899, - -0.413623, - 0.626321, - -0.523947, - -0.54263, - 0.54083, - -0.608418, - -0.62549, - 0.651133, - 0.600243, - 0.657952, - 0.600722, - 0.61191, - 0.038808, - 0.572635, - 0.64362, - 0.651243, - 0.590395, - 0.624235, - 0.603827, - -0.561288, - 0.609243, - 0.314437, - -0.61499, - 0.585205, - -0.622054, - 0.561813, - 0.64064, - 0.640378, - -0.575648, - 0.621498, - -0.610762, - 0.626421, - -0.597537, - -0.301502, - -0.110922, - -0.630955, - 0.528649, - -0.589501, - 0.326886, - -0.604924, - 0.628491, - -0.036128, - -0.631064, - -0.608046, - 0.412068, - -0.411971, - -0.553917, - 0.645161, - 0.635715, - -0.620827, - 0.434727, - -0.001348, - 0.593756, - 0.634479, - 0.504123, - 0.643243, - 0.543451, - 0.639299, - 0.596054, - 0.475695, - -0.542871, - -0.554002, - 0.219768, - -0.235324, - -0.474738, - -0.311072, - 0.387251, - -0.194766, - -0.616862, - 0.241079, - -0.570783, - 0.357405, - -0.222778, - -0.454889, - 0.366018, - -0.019061, - 0.255671, - 0.105405, - -0.570463, - -0.274694, - 0.347002, - 0.467922, - 0.589919, - 0.116944, - -0.046626, - -0.276553, - 0.0672, - -0.409724, - 0.574674, - -0.419564, - -0.124502, - -0.265627, - -0.578884, - -0.074042, - 0.215934, - 0.450464, - 0.427181, - 0.561738, - 0.011825, - -0.423249, - -0.630149, - -0.488828, - -0.019177, - 0.170485, - -0.528823, - -0.099728, - -0.448704, - -0.563566, - 0.305836, - 0.117445, - 0.474206, - -0.381171, - -0.621858, - 0.142551, - 0.451078, - 0.319637, - -0.30968, - -0.145887, - 0.552679, - 0.620124, - -0.640056, - 0.541665, - -0.607292, - 0.516181, - -0.630425, - 0.470596, - -0.506658, - 0.515306, - -0.627115, - 0.373671, - 0.1895, - 0.394594, - 0.552267, - -0.346974, - 0.509475, - 0.615407, - -0.255378, - 0.489752, - 0.588981, - 0.510579, - 0.167261, - -0.398393, - -0.567155, - -0.045527, - -0.533482, - -0.496461, - 0.046734, - 0.091669, - 0.000666, - -0.364956, - 0.138689, - -0.600981, - -0.520062, - 0.278547, - 0.589041, - -0.603325, - 0.040519, - 0.422099, - -0.414347, - 0.582294, - -0.167417, - -0.48094, - 0.585906, - 0.281857, - -0.304632, - -0.623917, - -0.644393, - -0.514525, - 0.308842, - -0.072537, - 0.079514, - 0.398393, - -0.180861, - -0.085901, - -0.214387, - -0.1226, - -0.351568, - -0.661923, - -0.668507 + 0.401568, + 0.120398, + 0.017015, + 0.317259, + -0.033056, + 0.066428, + 0.226443, + 0.265672, + -0.132771, + -0.32458, + -0.237236, + -0.18123, + -0.399344, + -0.27873, + -0.083847, + 0.175196, + -0.231781, + -0.36341, + 0.166651, + 0.350756, + 0.554679, + -0.472489, + 0.343803, + -0.6417, + -0.548561, + -0.226698, + -0.021424, + -0.423422, + 0.14809, + 0.526609, + -0.583669, + -0.503658, + 0.580759, + -0.590956, + 0.106499, + 0.297102, + -0.570942, + 0.439235, + -0.534703, + -0.089274, + -0.127942, + 0.465796, + -0.263602, + -0.348631, + 0.410364, + -0.264364, + 0.25151, + -0.616491, + 0.542052, + -0.615388, + -0.515137, + -0.579675, + -0.624696, + -0.605594, + 0.095406, + -0.483983, + -0.175859, + -0.041384, + -0.442035, + -0.623517, + 0.188119, + 0.452464, + 0.570828, + 0.194713, + 0.066453, + 0.598902, + 0.436977, + -0.45184, + 0.2766, + 0.615977, + 0.579092, + 0.108181, + 0.391717, + 0.49241, + 0.6111, + -0.001344, + 0.361606, + -0.552407, + -0.324258, + -0.380617, + 0.312216, + 0.602472, + 0.308258, + 0.479259, + 0.499015, + -0.12773, + -0.298805, + -0.512399, + -0.370047, + 0.032764, + -0.166849, + -0.3267, + -0.050669, + 0.102063, + 0.506812, + -0.446065, + 0.553815, + 0.215677, + 0.362058, + -0.394876, + -0.565512, + -0.204444, + -0.62081, + 0.633362, + 0.595156, + 0.659666, + 0.018207, + 0.609652, + 0.426823, + 0.44271, + 0.657978, + 0.6044, + 0.650862, + -0.581864, + 0.658558, + -0.508739, + 0.458569, + -0.592192, + 0.514188, + -0.628471, + -0.383793, + -0.61468, + 0.62201, + 0.062251, + -0.582859, + 0.52275, + 0.572932, + -0.589701, + 0.614666, + -0.548379, + 0.646905, + -0.609628, + 0.641844, + 0.641956, + -0.454853, + -0.626763, + 0.591571, + 0.188986, + -0.353399, + -0.586272, + -0.195613, + -0.561092, + -0.470801, + 0.569029, + 0.56432, + 0.257442, + -0.596193, + -0.609767, + -0.093605, + 0.596925, + -0.587176, + 0.267225, + 0.354022, + -0.544218, + -0.621058, + 0.663307, + 0.634379, + 0.628939, + 0.574215, + -0.62649, + 0.620363, + -0.406904, + 0.594019, + 0.651763, + 0.625878, + -0.601332, + 0.644216, + 0.626314, + 0.44075, + -0.604077, + 0.620226, + 0.629388, + 0.610628, + -0.601033, + -0.613771, + -0.078473, + -0.328857, + -0.540683, + -0.592412, + 0.651869, + 0.572418, + -0.581805, + 0.640089, + -0.28409, + 0.003592, + -0.418499, + 0.433954, + 0.142829, + -0.021686, + -0.581289, + 0.220438, + -0.066031, + 0.465451, + 0.115055, + -0.558922, + -0.633344, + 0.578862, + 0.176141, + -0.567321, + -0.478927, + -0.438186, + 0.094676, + -0.22724, + 0.520321, + 0.137273, + -0.105152, + 0.58675, + -0.325715, + 0.54244, + 0.289575, + -0.613093, + -0.549161, + 0.536185, + -0.109655, + -0.508642, + -0.54888, + -0.596999, + -0.56464, + 0.459805, + -0.63418, + 0.245638, + 0.418557, + 0.026611, + 0.168658, + -0.468644, + 0.208573, + 0.069314, + 0.440763, + 0.596913, + 0.264646, + -0.390344, + 0.373798, + -0.232279, + -0.437755, + 0.470563, + 0.390922, + -0.327368, + -0.180324, + 0.080004, + 0.459502, + -0.184742, + -0.488587, + 0.581218, + -0.454393, + -0.568796, + -0.559646, + -0.324126, + 0.386121, + -0.607354, + -0.234453, + 0.317329, + -0.158301, + -0.634822, + 0.520574, + 0.547893, + -0.463567, + 0.602197, + 0.562013, + 0.340319, + -0.044751, + 0.594728, + -0.313544, + 0.028269, + 0.001258, + -0.641148, + -0.51672, + -0.271063, + -0.40765, + -0.130921, + -0.043203, + -0.420863, + 0.273378, + 0.57152, + -0.089907, + -0.537723, + -0.350998, + 0.627075, + 0.611438, + 0.475949, + 0.042837, + 0.344527, + -0.139376, + -0.502697, + 0.358852, + -0.088412, + -0.286761, + 0.31415, + -0.029876, + 0.501703, + -0.376122, + -0.626487, + 0.457549, + -0.604582, + -0.040791, + 0.598819, + -0.249919, + -0.212246, + 0.286692, + -0.620124, + 0.194448, + -0.653644, + -0.660447 ] } ], diff --git a/docs/assets/Test_Neurons_Chemical_Inh_graph.png b/docs/assets/Test_Neurons_Chemical_Inh_graph.png index 500e28404..6f8706574 100644 Binary files a/docs/assets/Test_Neurons_Chemical_Inh_graph.png and b/docs/assets/Test_Neurons_Chemical_Inh_graph.png differ diff --git a/docs/assets/Test_Neurons_Electrical_graph.json b/docs/assets/Test_Neurons_Electrical_graph.json index 62c5a6ba5..0bf4d3594 100644 --- a/docs/assets/Test_Neurons_Electrical_graph.json +++ b/docs/assets/Test_Neurons_Electrical_graph.json @@ -11,12 +11,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - -0.520062, - -0.595766 + -0.277381, + -0.484255 ], "y": [ - 0.468639, - 0.480455 + -0.625394, + -0.509613 ] }, { @@ -30,12 +30,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.291374, - 0.268754 + 0.540081, + 0.557993 ], "y": [ - 0.08773, - 0.040185 + 0.16529, + 0.211618 ] }, { @@ -49,12 +49,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.264913, - 0.268754 + 0.65557, + 0.557993 ], "y": [ - -0.021358, - 0.040185 + 0.264747, + 0.211618 ] }, { @@ -68,16 +68,16 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.264913, - 0.17189915, - 0.23390838333333336, - 0.264913 + 0.65557, + 0.5629058, + 0.6246819333333333, + 0.65557 ], "y": [ - -0.021358, - 0.009646616666666667, - 0.07165585, - -0.021358 + 0.264747, + 0.29563506666666667, + 0.35741120000000004, + 0.264747 ] }, { @@ -91,16 +91,16 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.264913, - 0.17189915, - 0.23390838333333336, - 0.264913 + 0.65557, + 0.5629058, + 0.6246819333333333, + 0.65557 ], "y": [ - -0.021358, - 0.009646616666666667, - 0.07165585, - -0.021358 + 0.264747, + 0.29563506666666667, + 0.35741120000000004, + 0.264747 ] }, { @@ -1683,612 +1683,612 @@ "textposition": "middle center", "type": "scatter", "x": [ - -0.96319, - -0.968555, - -0.867294, + -0.922679, + -0.967574, + -0.991903, + -0.866981, + -0.866298, + -0.989062, + -0.848718, + -0.909056, + -0.838646, + -0.941796, + -0.890358, + -0.972275, + -0.817716, + -0.979992, + -0.830824, -1.0, - -0.969167, - -0.853822, - -0.859981, - -0.996379, - -0.917404, - -0.910603, - -0.816395, - -0.832102, - -0.864753, - -0.991895, - -0.927209, - -0.86797, - -0.97965, - -0.978654, - -0.932544, - -0.994859, - -0.294729, - -0.601651, - -0.734956, - -0.469898, - -0.697656, - -0.705662, - -0.529167, - -0.461907, - -0.481939, - -0.318277, - -0.80961, - -0.5197, - -0.647593, - -0.557676, - -0.418334, - -0.755651, - -0.78715, - -0.633735, - -0.520062, - -0.386677, - -0.571215, - -0.265985, - -0.189149, - -0.632605, - -0.595766, - -0.762138, - -0.660165, - -0.450437, - -0.76347, - -0.325659, - -0.799402, - -0.691021, - -0.765635, - -0.565915, - -0.67391, - -0.629458, - -0.353833, - -0.388523, - -0.680995, - -0.532473, - -0.27506, - -0.541426, - -0.651012, - -0.490147, - -0.684452, - -0.514395, - -0.610592, - -0.815254, - -0.352157, - -0.720934, - -0.79249, - -0.463135, - -0.4417, - -0.732508, - -0.76103, - -0.359933, - -0.769646, - -0.31387, - -0.802386, - -0.791712, - -0.23543, - -0.558179, - -0.73432, - -0.681199, - -0.644702, - -0.415825, - -0.579695, - -0.357602, - -0.312674, - -0.647832, - -0.456214, - -0.695574, - -0.690165, - -0.784837, - -0.621257, - -0.41298, - -0.806954, - -0.570395, - -0.811193, - -0.662852, - -0.790766, - -0.607203, - -0.584777, - -0.230996, - -0.207963, - 0.199384, - 0.370315, - -0.12351, - -0.522188, - -0.367793, - -0.174889, - 0.245679, - -0.02974, - -0.256859, - 0.127693, - 0.586978, - -0.098337, - -0.195614, - 0.135139, - -0.151958, - -0.124353, - -0.410025, - 0.268754, - -0.33328, - -0.018874, - -0.282487, - 0.0741, - -0.098822, - 0.370241, - 0.075968, - 0.648397, - 0.170344, - -0.139954, - -0.036964, - -0.143486, - -0.236884, - -0.168465, - 0.56138, - 0.206716, - -0.398852, - -0.022229, - -0.079094, - -0.000679, - 0.284386, - -0.275437, - 0.023941, - -0.195651, - -0.607218, - -0.402102, - 0.045935, - 0.06858, - -0.487951, - -0.065494, - -0.237357, - 0.175024, - 0.000901, - 0.495682, - -0.082759, - 0.049539, - -0.596037, - 0.259378, - -0.270989, - -0.088232, - 0.026663, - -0.057688, - -0.055295, - -0.517981, - -0.482314, - 0.098287, - 0.117726, - -0.087053, - 0.159273, - -0.613962, - 0.221058, - -0.3858, - 0.095256, - 0.047773, - 0.122257, - 0.156755, - 0.197867, - -0.507649, - 0.491894, - -0.449436, - 0.065837, - 0.527108, - 0.656785, - 0.80833, - 0.544918, - 0.798696, - 0.708907, - 0.525668, - 0.265711, - 0.71188, - 0.826472, - 0.632416, - 0.517053, - 0.749942, - 0.632715, - 0.27668, - 0.85034, - 0.439071, - 0.558225, - 0.83921, - 0.672717, - 0.706015, - 0.860277, - 0.338266, - 0.291374, - 0.612822, - 0.383271, - 0.709633, - 0.386905, - 0.462773, - 0.587431, - 0.404895, - 0.539917, - 0.741868, - 0.762909, - 0.730441, - 0.794028, - 0.734776, - 0.385436, - 0.587314, - 0.858052, - 0.399498, - 0.787888, - 0.798005, - 0.830874, - 0.611136, - 0.858537, - 0.778239, - 0.739671, - 0.851204, - 0.820456, - 0.835089, - 0.343786, - 0.784549, - 0.376209, - 0.321773, - 0.756796, - 0.230495, - 0.794878, - 0.547301, - 0.243228, - 0.185494, - 0.27013, - 0.642997, - 0.578056, - 0.857972, - 0.795951, - 0.639501, - 0.350889, - 0.593089, - 0.431167, - 0.46195, - 0.680602, - 0.302471, - 0.532324, - 0.480052, - 0.559288, - 0.697146, - 0.821648, - 0.61924, - 0.427745, - 0.442934, - 0.821287, - 0.666237, - 0.851226, - 0.582088, - 0.705378, - 0.73109, - 0.68359, - 0.859825, - 0.606164, - 0.85076, - 0.683026, - 0.749628, - 0.264913, - 0.319403, - 0.298132, - 0.769419, - 0.790757, - 0.658723, - 0.433714, - 0.467926, - 0.488306, - 0.731856, - 0.722693, - 0.698975, - 0.48546, - 0.338549, - 0.602898, - 0.83534, - 0.632019, - 0.750296, - 0.811839, - 0.837946, - 0.85163, - 0.503047, - 0.239055, - 0.001606, - -0.082033 + -0.976317, + -0.990206, + -0.996359, + -0.951728, + -0.485863, + -0.797176, + -0.224617, + -0.61529, + -0.318211, + -0.581917, + -0.661419, + -0.805514, + -0.357152, + -0.679548, + -0.710889, + -0.631667, + -0.671387, + -0.5811, + -0.410616, + -0.728648, + -0.30868, + -0.441819, + -0.277381, + -0.77957, + -0.608564, + -0.801778, + -0.484322, + -0.67316, + -0.484255, + -0.645782, + -0.500951, + -0.365612, + -0.755969, + -0.64198, + -0.576756, + -0.393445, + -0.76685, + -0.698918, + -0.180846, + -0.639101, + -0.620087, + -0.792685, + -0.545979, + -0.673934, + -0.456341, + -0.738731, + -0.261442, + -0.495798, + -0.79435, + -0.577668, + -0.780549, + -0.658906, + -0.579227, + -0.404301, + -0.311155, + -0.521787, + -0.702738, + -0.579968, + -0.764519, + -0.389211, + -0.336088, + -0.522253, + -0.444975, + -0.472573, + -0.647951, + -0.804266, + -0.553024, + -0.723722, + -0.514382, + -0.410999, + -0.289926, + -0.600721, + -0.705536, + -0.327779, + -0.692543, + -0.363786, + -0.680996, + -0.470284, + -0.813067, + -0.786494, + -0.542661, + -0.661672, + -0.731152, + -0.470677, + -0.754671, + -0.732304, + -0.802176, + -0.013034, + -0.08697, + -0.520193, + 0.329571, + 0.537754, + -0.169048, + -0.34161, + 0.010191, + 0.15786, + 0.078357, + -0.396692, + 0.144909, + -0.137716, + -0.225551, + 0.048741, + -0.054377, + -0.274395, + 0.171181, + 0.198071, + 0.557993, + 0.205644, + 0.115778, + -0.590878, + 0.332032, + -0.02227, + 0.284357, + 0.623691, + -0.074299, + 0.071724, + -0.13223, + -0.375292, + -0.003425, + 0.134706, + 0.040986, + 0.096545, + 0.547686, + -0.298809, + -0.138209, + -0.193472, + -0.121153, + 0.102352, + -0.173185, + -0.073327, + -0.337534, + 0.023679, + 0.227426, + 0.07304, + -0.022557, + -0.615595, + -0.195892, + 0.188196, + 0.612033, + -0.231323, + -0.300276, + 0.533893, + -0.445748, + -0.049047, + -0.11709, + -0.53555, + -0.599986, + 0.124836, + -0.604415, + -0.024713, + 0.273624, + -0.151775, + -0.440806, + -0.223605, + -0.089142, + -0.086891, + -0.507302, + 0.102352, + -0.518677, + 0.094885, + 0.042099, + -0.238495, + 0.650689, + -0.429373, + 0.023991, + 0.167099, + -0.26372, + -0.162741, + 0.288887, + 0.654098, + 0.824281, + 0.707824, + 0.542965, + 0.428997, + 0.514299, + 0.512295, + 0.318282, + 0.710875, + 0.711189, + 0.824176, + 0.46406, + 0.587344, + 0.833106, + 0.566832, + 0.394521, + 0.620548, + 0.376194, + 0.648961, + 0.796057, + 0.735538, + 0.397219, + 0.540081, + 0.807836, + 0.392119, + 0.505385, + 0.385854, + 0.299518, + 0.799154, + 0.848865, + 0.432336, + 0.233674, + 0.678236, + 0.392619, + 0.26897, + 0.52047, + 0.348228, + 0.719845, + 0.832701, + 0.773298, + 0.569151, + 0.200266, + 0.526157, + 0.41282, + 0.366228, + 0.418628, + 0.588917, + 0.642666, + 0.769461, + 0.555296, + 0.2365, + 0.837633, + 0.292184, + 0.814005, + 0.497437, + 0.267763, + 0.694042, + 0.801095, + 0.361401, + 0.747488, + 0.63608, + 0.352056, + 0.661796, + 0.631813, + 0.74698, + 0.775035, + 0.421199, + 0.443811, + 0.715564, + 0.850393, + 0.8273, + 0.488906, + 0.796359, + 0.728217, + 0.677103, + 0.330512, + 0.765084, + 0.850216, + 0.852787, + 0.829867, + 0.748198, + 0.54626, + 0.470416, + 0.702189, + 0.629857, + 0.81225, + 0.46476, + 0.681359, + 0.784366, + 0.654602, + 0.651247, + 0.815511, + 0.65557, + 0.161769, + 0.847156, + 0.70688, + 0.838825, + 0.497979, + 0.853284, + 0.568057, + 0.346792, + 0.247702, + 0.594309, + 0.843405, + 0.619719, + 0.813967, + 0.681104, + 0.769066, + 0.704951, + 0.824639, + 0.612475, + 0.736023, + 0.828881, + 0.729902, + 0.459508, + -0.010341, + -0.088874 ], "y": [ - 0.213789, - -0.218709, - -0.086647, - 0.057488, - -0.149056, - 0.375097, - 0.143478, - -0.104871, - -0.294162, - 0.32185, - -0.426912, - 0.307717, - -0.368007, - 0.005351, - -0.215573, - -0.307407, - 0.103684, - 0.158172, - 0.257869, - -0.048277, - -0.611804, - 0.436499, - -0.314682, - -0.44225, - 0.323176, - -0.350821, - -0.489132, - 0.554106, - -0.566005, - -0.540349, - 0.040631, - 0.535517, - -0.438774, - -0.388489, - -0.5953, - 0.270026, - -0.129385, - -0.349798, - 0.468639, - -0.600076, - 0.27765, - -0.637104, - -0.635212, - 0.192597, - 0.480455, - 0.235829, - -0.40529, - -0.58446, - 0.201894, - -0.617893, - -0.025367, - -0.330463, - -0.185532, - -0.509416, - 0.400209, - 0.451337, - 0.564882, - 0.601751, - 0.016809, - -0.520602, - 0.614918, - 0.509994, - -0.181906, - 0.54219, - 0.126446, - -0.549563, - -0.470204, - 0.005388, - 0.604651, - 0.333768, - -0.167182, - -0.524436, - 0.579684, - 0.293334, - -0.256617, - -0.538637, - -0.22133, - 0.612953, - -0.097133, - 0.070852, - -0.618098, - 0.40566, - -0.277171, - -0.087193, - 0.349156, - -0.519287, - -0.250323, - -0.617729, - 0.559793, - 0.419425, - 0.477196, - 0.371733, - -0.390483, - 0.175398, - -0.43971, - 0.574118, - 0.102404, - 0.497695, - -0.059453, - -0.253291, - 0.138318, - 0.307356, - -0.483889, - -0.579918, - 0.597616, - 0.604864, - -0.513958, - -0.610462, - -0.296371, - 0.521856, - 0.630233, - 0.619485, - 0.665168, - -0.519996, - -0.598252, - 0.24928, - -0.622274, - -0.583715, - 0.635209, - 0.642805, - 0.645951, - 0.362572, - 0.040185, - -0.420965, - 0.634483, - 0.496222, - -0.625605, - 0.632922, - -0.359322, - 0.626848, - -0.099774, - 0.625754, - 0.600373, - -0.630028, - -0.592788, - 0.608099, - -0.601143, - -0.344994, - -0.59676, - -0.477983, - -0.600872, - 0.538808, - -0.629242, - 0.603517, - 0.579667, - 0.651851, - 0.617179, - -0.085522, - 0.489517, - 0.641519, - 0.580145, - -0.377785, - -0.615343, - 0.569066, - -0.587492, - 0.659604, - -0.414951, - 0.18701, - -0.632465, - 0.154209, - 0.598774, - -0.556282, - -0.571391, - -0.618587, - 0.653803, - 0.606937, - 0.366712, - 0.183467, - 0.641721, - 0.656615, - 0.656453, - 0.648281, - 0.041974, - 0.62308, - -0.269724, - -0.614781, - -0.572368, - -0.624769, - -0.616292, - 0.641531, - -0.078891, - 0.345358, - 0.424567, - 0.664804, - 0.434121, - 0.355787, - -0.260255, - 0.488353, - 0.287775, - -0.230388, - -0.521034, - -0.601478, - 0.384888, - 0.191996, - 0.486257, - -0.568302, - -0.36249, - 0.029313, - -0.634237, - 0.087698, - 0.497103, - -0.233196, - 0.140304, - -0.285387, - 0.423401, - 0.037067, - 0.621741, - 0.08773, - -0.431666, - 0.529985, - -0.157918, - 0.61109, - -0.599305, - 0.529048, - -0.617392, - -0.47081, - 0.279941, - 0.335854, - -0.068483, - -0.068005, - 0.036312, - 0.584068, - 0.137097, - -0.041704, - -0.572966, - -0.305802, - 0.105976, - -0.13153, - -0.515588, - -0.093501, - 0.310307, - 0.124455, - 0.115436, - -0.211991, - 0.166825, - -0.584659, - -0.185409, - -0.610645, - -0.638073, - 0.19447, - -0.646283, - -0.281081, - -0.557545, - -0.505318, - -0.638492, - 0.474359, - 0.430793, - -0.54133, - -0.015529, - 0.258938, - -0.458913, - 0.587825, - 0.452679, - 0.598795, - -0.552206, - -0.38026, - -0.583103, - 0.554617, - 0.552181, - 0.541402, - 0.22251, - -0.238034, - -0.3213, - 0.573582, - -0.490701, - 0.238471, - -0.467778, - -0.122192, - -0.505149, - -0.423131, - -0.401982, - -0.441714, - 0.010524, - 0.50391, - 0.060979, - 0.44335, - 0.36218, - -0.021358, - 0.587014, - 0.619915, - -0.319764, - 0.01495, - 0.466476, - -0.595761, - 0.590352, - -0.574141, - 0.392952, - -0.37549, - 0.317501, - 0.507299, - -0.617056, - 0.374185, - -0.188102, - -0.490848, - -0.335371, - 0.216423, - -0.160551, - -0.067579, - 0.564901, - -0.592176, - -0.670237, - -0.653271 + -0.285367, + 0.202848, + -0.039793, + 0.332462, + -0.142217, + 0.102807, + 0.254167, + 0.312655, + -0.394587, + 0.253758, + -0.341623, + 0.149751, + 0.38608, + -0.137137, + -0.332871, + 0.05409, + -0.190846, + 0.008743, + -0.088785, + -0.238715, + -0.422733, + 0.148269, + -0.607511, + -0.342112, + 0.608639, + -0.500646, + -0.422367, + 0.079549, + 0.603278, + -0.081047, + 0.162279, + -0.455121, + -0.388894, + -0.305577, + -0.584876, + -0.234129, + -0.59701, + 0.563434, + -0.625394, + 0.199915, + 0.442076, + -0.060985, + -0.544329, + 0.383289, + -0.509613, + 0.325019, + 0.544777, + -0.60704, + 0.244828, + 0.394058, + 0.341255, + 0.598104, + -0.205164, + -0.367504, + -0.62865, + 0.430473, + -0.42642, + -0.174137, + 0.503273, + -0.306853, + -0.580179, + -0.297318, + 0.620131, + 0.381385, + 0.045258, + 0.489198, + -0.135424, + -0.148412, + 0.388506, + -0.560896, + 0.591672, + 0.459717, + 0.357601, + 0.458191, + -0.257225, + 0.53954, + -0.538675, + -0.53911, + -0.549307, + -0.518326, + -0.231059, + 0.010679, + -0.514282, + -0.337439, + 0.515912, + 0.565752, + -0.620788, + -0.474159, + -0.014469, + -0.615084, + 0.317972, + -0.566392, + 0.064071, + 0.473448, + -0.024604, + 0.111465, + -0.398783, + 0.218106, + 0.310968, + 0.556322, + 0.18281, + 0.274761, + -0.100682, + -0.592054, + -0.605938, + -0.306187, + -0.52351, + -0.371865, + -0.505827, + 0.531236, + -0.618062, + 0.585594, + -0.575482, + 0.472404, + 0.646521, + -0.5904, + 0.583316, + 0.646037, + -0.614774, + -0.559163, + 0.632599, + -0.598348, + 0.211618, + 0.623075, + -0.591397, + -0.195603, + 0.570402, + 0.645304, + 0.560857, + 0.13769, + -0.581005, + 0.634744, + 0.606864, + -0.474425, + 0.661111, + -0.609166, + -0.628459, + 0.613755, + -0.287978, + -0.494396, + 0.533869, + -0.582309, + 0.643873, + 0.540952, + 0.609633, + 0.628015, + 0.466859, + 0.653467, + 0.607542, + -0.62341, + 0.585361, + 0.074091, + 0.617662, + 0.605949, + -0.22152, + -0.563983, + 0.563486, + 0.398187, + 0.455152, + 0.645667, + -0.608856, + 0.284298, + 0.181836, + 0.630145, + -0.045929, + -0.619645, + -0.55899, + 0.629002, + -0.341365, + 0.609007, + 0.596978, + 0.651349, + -0.069763, + -0.624047, + 0.190384, + 0.654157, + -0.600347, + 0.488283, + -0.116704, + -0.448908, + 0.607746, + -0.593757, + 0.586886, + -0.600148, + -0.592439, + 0.004942, + -0.158691, + -0.336289, + -0.537518, + -0.608438, + 0.527785, + -0.559931, + 0.619258, + 0.402627, + 0.374098, + 0.067953, + -0.539703, + 0.460227, + -0.114431, + -0.528298, + 0.440485, + 0.492088, + 0.522001, + -0.466351, + 0.241795, + 0.159894, + -0.405442, + 0.16529, + -0.242983, + 0.600252, + 0.46072, + -0.533192, + -0.636158, + -0.27123, + 0.091116, + -0.468833, + -0.595472, + -0.445655, + -0.613967, + 0.618022, + -0.529396, + 0.293315, + -0.067364, + 0.112424, + 0.2748, + -0.442746, + -0.636506, + 0.549717, + 0.540851, + 0.596895, + 0.599679, + -0.515748, + -0.311515, + -0.319206, + 0.536879, + -0.63217, + 0.140325, + 0.6208, + 0.224969, + 0.568383, + -0.63565, + -0.22809, + -0.189556, + -0.619054, + -0.332671, + 0.344061, + -0.587428, + -0.427622, + -0.488412, + -0.358313, + 0.302998, + -0.583274, + 0.585544, + 0.089666, + -0.09283, + -0.074741, + -0.579058, + 0.271211, + -0.383385, + 0.438495, + -0.631208, + 0.326401, + -0.006366, + -0.057541, + -0.186738, + 0.343387, + 0.324885, + 0.578424, + -0.395651, + 0.459317, + -0.216864, + 0.519215, + 0.409001, + -0.297127, + 0.461974, + 0.396857, + 0.19986, + 0.264747, + -0.629883, + 0.056522, + -0.148877, + -0.138765, + -0.448723, + 0.028156, + 0.510323, + 0.619982, + 0.613824, + 0.509615, + -0.033225, + -0.414378, + 0.150479, + 0.210732, + -0.258235, + -0.422864, + 0.175806, + -0.508067, + 0.010377, + 0.007645, + 0.357221, + -0.587041, + -0.662297, + -0.650635 ] } ], diff --git a/docs/assets/Test_Neurons_Electrical_graph.png b/docs/assets/Test_Neurons_Electrical_graph.png index fbecdfbc9..606004a2a 100644 Binary files a/docs/assets/Test_Neurons_Electrical_graph.png and b/docs/assets/Test_Neurons_Electrical_graph.png differ diff --git a/docs/assets/Test_Pharynx_Chemical_Exc_graph.json b/docs/assets/Test_Pharynx_Chemical_Exc_graph.json index 20ecad916..095406652 100644 --- a/docs/assets/Test_Pharynx_Chemical_Exc_graph.json +++ b/docs/assets/Test_Pharynx_Chemical_Exc_graph.json @@ -11,12 +11,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.540006, - -0.679788 + 0.779689, + -0.586927 ], "y": [ - 0.507414, - 0.553119 + 0.624062, + 0.786175 ] }, { @@ -30,12 +30,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - -0.679788, - -0.402738 + -0.586927, + 0.623229 ], "y": [ - 0.553119, - -0.694836 + 0.786175, + 0.060813 ] }, { @@ -208,48 +208,48 @@ "textposition": "middle center", "type": "scatter", "x": [ - -0.556366, - -0.567799, - 0.381764, - -0.74365, - 0.803051, - 0.851797, - 0.540006, - -0.232006, - -0.402738, - 0.076251, - 0.915182, - 0.658798, - -0.78078, - -0.679788, - -0.891531, - 0.399744, - -0.899289, - -0.105599, - 1.0, - 0.232955 + 0.308732, + -0.277162, + 0.162691, + -0.893636, + 0.853616, + -0.796551, + 0.779689, + 0.581056, + 0.623229, + 0.951933, + 0.161304, + 0.942402, + 0.038539, + -0.586927, + -0.509936, + -0.285827, + -0.963343, + -0.882121, + 0.623612, + -0.8313 ], "y": [ - 0.799092, - -0.860812, - -0.673432, - 0.064561, - -0.264944, - 0.596273, - 0.507414, - 0.886215, - -0.694836, - 0.84323, - 0.285081, - -0.578453, - -0.493809, - 0.553119, - 0.35632, - 0.785651, - -0.164327, - -0.993005, - -0.046476, - -0.906862 + -0.916116, + 0.763259, + 0.675271, + -0.339205, + -0.513427, + -0.663907, + 0.624062, + 0.913963, + 0.060813, + -0.165914, + 1.0, + 0.262533, + -0.827782, + 0.786175, + -0.699004, + -0.916301, + -0.024942, + 0.492536, + -0.767615, + 0.255601 ] } ], diff --git a/docs/assets/Test_Pharynx_Chemical_Exc_graph.png b/docs/assets/Test_Pharynx_Chemical_Exc_graph.png index d71315f3d..26a0f6ffc 100644 Binary files a/docs/assets/Test_Pharynx_Chemical_Exc_graph.png and b/docs/assets/Test_Pharynx_Chemical_Exc_graph.png differ diff --git a/docs/assets/Test_Raw_Chemical_graph.json b/docs/assets/Test_Raw_Chemical_graph.json index bbef1e487..3aa03325e 100644 --- a/docs/assets/Test_Raw_Chemical_graph.json +++ b/docs/assets/Test_Raw_Chemical_graph.json @@ -11,12 +11,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - -0.895227, - -0.868662 + -0.957645, + -0.941362 ], "y": [ - -0.05866, - 0.010507 + 0.006428, + 0.072467 ] }, { @@ -30,12 +30,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - -0.868662, - -0.918797 + -0.941362, + -1.0 ], "y": [ - 0.010507, - 0.066142 + 0.072467, + 0.109198 ] }, { @@ -49,12 +49,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - -0.441248, - -0.43176 + -0.4296, + -0.411847 ], "y": [ - 0.064731, - -0.019645 + 0.133734, + 0.055804 ] }, { @@ -68,12 +68,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - -0.494881, - -0.441248 + -0.495709, + -0.4296 ], "y": [ - 0.184195, - 0.064731 + 0.245261, + 0.133734 ] }, { @@ -87,12 +87,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.073117, - 0.188325 + 0.109205, + 0.224838 ], "y": [ - 0.062779, - 0.01018 + 0.157435, + 0.13115 ] }, { @@ -106,12 +106,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.188325, - 0.138202 + 0.224838, + 0.183466 ], "y": [ - 0.01018, - -0.074635 + 0.13115, + 0.040969 ] }, { @@ -125,12 +125,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.188325, - 0.303987 + 0.224838, + 0.335939 ], "y": [ - 0.01018, - 0.00897 + 0.13115, + 0.154528 ] }, { @@ -144,12 +144,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.188325, - 0.27327 + 0.224838, + 0.278182 ], "y": [ - 0.01018, - 0.154906 + 0.13115, + 0.2756 ] }, { @@ -163,12 +163,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.303987, - 0.328962 + 0.335939, + 0.326454 ], "y": [ - 0.00897, - 0.163478 + 0.154528, + 0.290123 ] }, { @@ -182,12 +182,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.303987, - 0.368755 + 0.335939, + 0.406476 ], "y": [ - 0.00897, - -0.03296 + 0.154528, + 0.15493 ] }, { @@ -201,12 +201,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.27327, - 0.328962 + 0.278182, + 0.326454 ], "y": [ - 0.154906, - 0.163478 + 0.2756, + 0.290123 ] }, { @@ -220,12 +220,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.872474, - 0.802376 + 0.818073, + 0.701137 ], "y": [ - -0.442174, - -0.541833 + -0.392484, + -0.406832 ] }, { @@ -239,14 +239,14 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.492199, - 0.423658235061, - 0.368755 + 0.553895, + 0.48095424603600007, + 0.406476 ], "y": [ - -0.086265, - -0.0754034317912, - -0.03296 + 0.160885, + 0.13887680782853334, + 0.15493 ] }, { @@ -260,14 +260,14 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.368755, - 0.437295764939, - 0.492199 + 0.406476, + 0.479416753964, + 0.553895 ], "y": [ - -0.03296, - -0.043821568208799996, - -0.086265 + 0.15493, + 0.17693819217146667, + 0.160885 ] }, { @@ -281,12 +281,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.872474, - 1.0 + 0.818073, + 0.936388 ], "y": [ - -0.442174, - -0.420261 + -0.392484, + -0.386094 ] }, { @@ -449,44 +449,44 @@ "textposition": "middle center", "type": "scatter", "x": [ - -0.895227, - -0.918797, - -0.868662, - -0.441248, - -0.791091, - -0.494881, - 0.073117, - 0.138202, - 0.188325, - -0.43176, - 0.303987, - 0.328962, - 0.802376, - 0.492199, - 1.0, - 0.27327, - 0.872474, - 0.368755 + -0.957645, + -1.0, + -0.941362, + -0.4296, + -0.63789, + -0.495709, + 0.109205, + 0.183466, + 0.224838, + -0.411847, + 0.335939, + 0.326454, + 0.701137, + 0.553895, + 0.936388, + 0.278182, + 0.818073, + 0.406476 ], "y": [ - -0.05866, - 0.066142, - 0.010507, - 0.064731, - 0.950543, - 0.184195, - 0.062779, - -0.074635, - 0.01018, - -0.019645, - 0.00897, - 0.163478, - -0.541833, - -0.086265, - -0.420261, - 0.154906, - -0.442174, - -0.03296 + 0.006428, + 0.109198, + 0.072467, + 0.133734, + -0.8031, + 0.245261, + 0.157435, + 0.040969, + 0.13115, + 0.055804, + 0.154528, + 0.290123, + -0.406832, + 0.160885, + -0.386094, + 0.2756, + -0.392484, + 0.15493 ] } ], diff --git a/docs/assets/Test_Raw_Chemical_graph.png b/docs/assets/Test_Raw_Chemical_graph.png index ec46e8283..43d64b3d3 100644 Binary files a/docs/assets/Test_Raw_Chemical_graph.png and b/docs/assets/Test_Raw_Chemical_graph.png differ diff --git a/docs/assets/Test_Raw_Electrical_graph.json b/docs/assets/Test_Raw_Electrical_graph.json index 93b7bc5fe..d812862ed 100644 --- a/docs/assets/Test_Raw_Electrical_graph.json +++ b/docs/assets/Test_Raw_Electrical_graph.json @@ -11,12 +11,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - -0.458688, - -0.419356 + -0.583252, + -0.584041 ], "y": [ - -0.100192, - -0.170813 + 0.123913, + 0.204145 ] }, { @@ -30,12 +30,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.266861, - 0.248149 + 0.247472, + 0.250879 ], "y": [ - -0.114569, - -0.056296 + -0.052153, + -0.003507 ] }, { @@ -49,12 +49,12 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.244673, - 0.248149 + 0.269498, + 0.250879 ], "y": [ - 0.007062, - -0.056296 + 0.059822, + -0.003507 ] }, { @@ -68,16 +68,16 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.244673, - 0.14871810000000002, - 0.21268803333333333, - 0.244673 + 0.269498, + 0.17338985, + 0.23746195000000003, + 0.269498 ], "y": [ - 0.007062, - 0.03904696666666666, - 0.1030169, - 0.007062 + 0.059822, + 0.09185805, + 0.15593015, + 0.059822 ] }, { @@ -91,16 +91,16 @@ "textposition": "middle center", "type": "scatter", "x": [ - 0.244673, - 0.14871810000000002, - 0.21268803333333333, - 0.244673 + 0.269498, + 0.17338985, + 0.23746195000000003, + 0.269498 ], "y": [ - 0.007062, - 0.03904696666666666, - 0.1030169, - 0.007062 + 0.059822, + 0.09185805, + 0.15593015, + 0.059822 ] }, { @@ -263,44 +263,44 @@ "textposition": "middle center", "type": "scatter", "x": [ - -0.790373, + -0.770209, + -0.852006, -1.0, - -0.941959, - -0.458688, - -0.419356, - -0.400941, - -0.603379, - 0.248149, - -0.087443, - -0.079626, - 0.266861, - 0.919098, - 0.514389, - 0.29286, - 0.83252, - 0.244673, - 0.614456, - 0.848759 + -0.583252, + -0.584041, + -0.12814, + -0.439564, + 0.250879, + -0.287847, + 0.033048, + 0.247472, + 0.813016, + 0.314056, + 0.336303, + 0.659503, + 0.269498, + 0.799121, + 0.922163 ], "y": [ - 0.333062, - 0.147149, - -0.352123, - -0.100192, - -0.170813, - 0.494451, - -0.513314, - -0.056296, - 0.643585, - -0.676657, - -0.114569, - -0.044825, - -0.652379, - 0.628285, - -0.388239, - 0.007062, - 0.525873, - 0.289939 + -0.401513, + 0.404472, + -0.061674, + 0.123913, + 0.204145, + -0.587908, + -0.559126, + -0.003507, + 0.576539, + 0.68055, + -0.052153, + -0.239549, + -0.636188, + 0.574863, + -0.526203, + 0.059822, + 0.412232, + 0.031285 ] } ], diff --git a/docs/assets/Test_Raw_Electrical_graph.png b/docs/assets/Test_Raw_Electrical_graph.png index 64f5f2534..1e86104da 100644 Binary files a/docs/assets/Test_Raw_Electrical_graph.png and b/docs/assets/Test_Raw_Electrical_graph.png differ diff --git a/mkdocs.yml b/mkdocs.yml index 7b7abd162..a8e21630e 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -15,6 +15,13 @@ theme: plugins: - plotly + - search + - mkdocs-autoapi: + autoapi_dir: "cect" + autoapi_root: "api/" + autoapi_keep_files: true + autoapi_add_nav_entry: false + - mkdocstrings: extra_css: - stylesheets/extra.css @@ -44,7 +51,7 @@ markdown_extensions: nav: - Overview: 'index.md' - Comparison: 'Comparison.md' - - 'Related publications': + - 'Key publications': - 'Albertson & Thomson 1976': 'Albertson_1976.md' - 'White et al. 1986': 'White_1986.md' - 'Durbin 1987': 'Durbin_1987.md' @@ -93,8 +100,15 @@ nav: - 'Ripoll-Sánchez 2023 (long)': 'RipollSanchezLongRange_data.md' - 'Test': 'Test_data_graph.md' - Cells: - - 'C. elegans cells': 'Cells.md' + - 'All C. elegans cells': 'Cells.md' + - 'Individual cells': + - 'ADAL': 'ADAL.md' + - 'AVAL': 'AVAL.md' + - 'AVBR': 'AVBR.md' + - 'I1L': 'I1L.md' + - 'RIML': 'RIML.md' - Python package: - 'Installation': 'Python.md' + - 'API Reference': "api/summary/" - About: - 'About & Contact': 'About.md' diff --git a/setup.cfg b/setup.cfg index 238bcfd16..55b37cdb1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -61,6 +61,7 @@ docs = mkdocs-material mkdocs-plotly-plugin mkdocs-charts-plugin + mkdocs-autoapi[python] >= 0.3.1 plotly kaleido