miniscope.py
AcquisitionSoftware
¶
Bases: dj.Lookup
Software used for miniscope acquisition.
Attributes:
| Name | Type | Description |
|---|---|---|
acquisition_software |
varchar(24)
|
Name of the miniscope acquisition software. |
Source code in element_miniscope/miniscope.py
110 111 112 113 114 115 116 117 118 119 120 | |
Activity
¶
Bases: dj.Computed
Inferred neural activty from the fluorescence trace.
Attributes:
| Name | Type | Description |
|---|---|---|
Fluorescence |
foreign key
|
Fluorescence primary key. |
ActivityExtractionMethod |
foreign key
|
ActivityExtractionMethod primary key. |
Source code in element_miniscope/miniscope.py
1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 | |
Trace
¶
Bases: dj.Part
Automated table with activity traces.
Attributes:
| Name | Type | Description |
|---|---|---|
Activity |
foreign key
|
Activity primary key. |
Fluorescence.Trace |
foreign key
|
Fluoresence.Trace primary key. |
activity_trace |
longblob
|
Inferred activity trace. |
Source code in element_miniscope/miniscope.py
1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 | |
key_source()
property
¶
Defines the order of keys when the make function is called.
Source code in element_miniscope/miniscope.py
1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 | |
make(key)
¶
Populates table with activity trace data.
Source code in element_miniscope/miniscope.py
1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 | |
ActivityExtractionMethod
¶
Bases: dj.Lookup
Lookup table for activity extraction methods.
Attributes:
| Name | Type | Description |
|---|---|---|
extraction_method |
foreign key, varchar(200)
|
Extraction method from CaImAn. |
Source code in element_miniscope/miniscope.py
1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 | |
Channel
¶
Bases: dj.Lookup
Number of channels in the miniscope recording.
Attributes:
| Name | Type | Description |
|---|---|---|
channel |
tinyint
|
Number of channels in the miniscope acquisition starting at zero. |
Source code in element_miniscope/miniscope.py
123 124 125 126 127 128 129 130 131 132 133 | |
Curation
¶
Bases: dj.Manual
Defines whether and how the results should be curated.
Attributes:
| Name | Type | Description |
|---|---|---|
Processing |
foreign key
|
Processing primary key. |
curation_id |
foreign key, int
|
Unique curation ID. |
curation_time |
datetime
|
Time of generation of curated results. |
curation_output_dir |
varchar(255)
|
Output directory for curated results. |
manual_curation |
bool
|
If True, manual curation has been performed. |
curation_note |
varchar(2000)
|
Optional description of the curation procedure. |
Source code in element_miniscope/miniscope.py
554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 | |
create1_from_processing_task(key, is_curated=False, curation_note='')
¶
Given a "ProcessingTask", create a new corresponding "Curation"
Source code in element_miniscope/miniscope.py
580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 | |
Fluorescence
¶
Bases: dj.Computed
Extracts fluoresence trace information.
Attributes:
| Name | Type | Description |
|---|---|---|
Segmentation |
foreign key
|
Segmentation primary key. |
Source code in element_miniscope/miniscope.py
1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 | |
Trace
¶
Bases: dj.Part
Automated table with Fluorescence traces
Attributes:
| Name | Type | Description |
|---|---|---|
Fluorescence |
foreign key
|
Fluorescence primary key. |
Segmentation.Mask |
foreign key
|
Segmentation.Mask primary key. |
Channel.proj(fluorescence_channel='channel') |
foreign key, query
|
Channel used for this trace. |
fluorescence |
longblob
|
A fluorescence trace associated with a given mask. |
neurpil_fluorescence |
longblob
|
A neuropil fluorescence trace. |
Source code in element_miniscope/miniscope.py
1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 | |
make(key)
¶
Populates table with fluorescence trace data.
Source code in element_miniscope/miniscope.py
1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 | |
MaskClassification
¶
Bases: dj.Computed
Automated table with mask classification data.
Attributes:
| Name | Type | Description |
|---|---|---|
Segmentation |
foreign key
|
Segmentation primary key. |
MaskClassificationMethod |
foreign key
|
MaskClassificationMethod primary key. |
Source code in element_miniscope/miniscope.py
972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 | |
MaskType
¶
Bases: dj.Part
Automated table storing mask type data.
Attributes:
| Name | Type | Description |
|---|---|---|
MaskClassification |
foreign key
|
MaskClassification primary key. |
Segmentation.Mask |
foreign key
|
Segmentation.Mask primary key. |
MaskType |
dict
|
Select mask type from entries within |
confidence |
float
|
Statistical confidence of mask classification. |
Source code in element_miniscope/miniscope.py
986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 | |
MaskClassificationMethod
¶
Bases: dj.Lookup
Method to classify segmented masks.
Attributes:
| Name | Type | Description |
|---|---|---|
mask_classification_method |
foreign key, varchar(48)
|
Method by which masks are classified into mask types. |
Source code in element_miniscope/miniscope.py
957 958 959 960 961 962 963 964 965 966 967 968 969 | |
MaskType
¶
Bases: dj.Lookup
Possible classifications of a segmented mask.
Attributes:
| Name | Type | Description |
|---|---|---|
mask_type |
foreign key, varchar(16)
|
Type of segmented mask. |
Source code in element_miniscope/miniscope.py
942 943 944 945 946 947 948 949 950 951 952 953 954 | |
MotionCorrection
¶
Bases: dj.Imported
Automated table performing motion correction analysis.
Attributes:
| Name | Type | Description |
|---|---|---|
Curation |
foreign key
|
Curation primary key. |
Channel.proj(motion_correct_channel='channel') |
foreign key
|
Channel used for motion correction. |
Source code in element_miniscope/miniscope.py
617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 | |
Block
¶
Bases: dj.Part
Automated table with data for blocks used in non-rigid motion correction.
Attributes:
| Name | Type | Description |
|---|---|---|
master.NonRigidMotionCorrection |
foreign key
|
NonRigidMotionCorrection primary key. |
block_id |
foreign key, int
|
Unique ID for each block. |
block_y |
longblob
|
y_start and y_end of this block in pixels. |
block_x |
longblob
|
x_start and x_end of this block in pixels. |
y_shifts |
longblob
|
y motion correction shifts for every frame in pixels. |
x_shifts |
longblob
|
x motion correction shifta for every frame in pixels. |
y_std |
float
|
standard deviation of y shifts across all frames in pixels. |
x_std |
float
|
standard deviation of x shifts across all frames in pixels. |
Source code in element_miniscope/miniscope.py
683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 | |
NonRigidMotionCorrection
¶
Bases: dj.Part
Automated table with piece-wise rigid motion correction data.
Attributes:
| Name | Type | Description |
|---|---|---|
MotionCorrection |
foreign key
|
MotionCorrection primary key. |
outlier_frames |
longblob
|
Mask with true for frames with outlier shifts (already corrected). |
block_height |
int
|
Height in pixels. |
block_width |
int
|
Width in pixels. |
block_count_y |
int
|
Number of blocks tiled in the y direction. |
block_count_x |
int
|
Number of blocks tiled in the x direction. |
Source code in element_miniscope/miniscope.py
658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 | |
RigidMotionCorrection
¶
Bases: dj.Part
Automated table with ridge motion correction data.
Attributes:
| Name | Type | Description |
|---|---|---|
MotionCorrection |
foreign key
|
MotionCorrection primary key. |
outlier_frames |
longblob
|
Mask with true for frames with outlier shifts. |
y_shifts |
longblob
|
y motion correction shifts, pixels. |
x_shifts |
longblob
|
x motion correction shifts, pixels. |
y_std |
float
|
Standard deviation of y shifts across all frames, pixels. |
x_std |
float
|
Standard deviation of x shifts across all frames, pixels. |
Source code in element_miniscope/miniscope.py
633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 | |
Summary
¶
Bases: dj.Part
A summary image for each field and channel after motion correction.
Attributes:
| Name | Type | Description |
|---|---|---|
MotionCorrection |
foreign key
|
MotionCorrection primary key. |
ref_image |
longblob
|
Image used as the alignment template. |
average_image |
longblob
|
Mean of registered frames. |
correlation_image |
longblob
|
Correlation map computed during cell detection. |
max_proj_image |
longblob
|
Maximum of registered frames. |
Source code in element_miniscope/miniscope.py
713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 | |
make(key)
¶
Populate tables with motion correction data.
Source code in element_miniscope/miniscope.py
734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 | |
Processing
¶
Bases: dj.Computed
Automatic table that beings the miniscope processing pipeline.
Attributes:
| Name | Type | Description |
|---|---|---|
ProcessingTask |
foreign key
|
Processing task primary key. |
processing_time |
datetime
|
Generates time of the processed results. |
package_version |
varchar(16)
|
Package version information. |
Source code in element_miniscope/miniscope.py
458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 | |
make(key)
¶
Triggers processing and populates Processing table.
Source code in element_miniscope/miniscope.py
475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 | |
ProcessingMethod
¶
Bases: dj.Lookup
Method or analysis software to process miniscope acquisition.
Attributes:
| Name | Type | Description |
|---|---|---|
processing_method |
foreign key, varchar16
|
Recording processing method (e.g. CaImAn). |
processing_method_desc |
varchar(1000)
|
Additional information about the processing method. |
Source code in element_miniscope/miniscope.py
347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 | |
ProcessingParamSet
¶
Bases: dj.Lookup
Parameters of the processing method.
Attributes:
| Name | Type | Description |
|---|---|---|
paramset_idx |
foreign key, smallint
|
Unique parameter set ID. |
ProcessingMethod |
varchar(16)
|
ProcessingMethod from the lookup table. |
paramset_desc |
varchar(128)
|
Description of the parameter set. |
paramset_set_hash |
uuid
|
UUID hash for parameter set. |
params |
longblob
|
Dictionary of all parameters for the processing method. |
Source code in element_miniscope/miniscope.py
367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 | |
insert_new_params(processing_method, paramset_id, paramset_desc, params, processing_method_desc='')
classmethod
¶
Insert new parameter set.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
processing_method |
str
|
Name of the processing method or software. |
required |
paramset_id |
int
|
Unique number for the set of processing parameters. |
required |
paramset_desc |
str
|
Description of the processing parameter set. |
required |
params |
dict
|
Dictionary of processing parameters for the selected processing_method. |
required |
processing_method_desc |
str
|
Description of the processing method. Defaults to "". |
''
|
Raises:
| Type | Description |
|---|---|
dj.DataJointError
|
A parameter set with arguments in this function already exists in the database. |
Source code in element_miniscope/miniscope.py
390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 | |
ProcessingTask
¶
Bases: dj.Manual
Table marking manual or automatic processing task.
Attributes:
| Name | Type | Description |
|---|---|---|
RecordingInfo |
foreign key
|
Recording info primary key. |
ProcessingParamSet |
foreign key
|
Processing param set primary key. |
processing_output_dir |
varchar(255)
|
relative output data directory for processed files. |
task_mode |
enum
|
|
Source code in element_miniscope/miniscope.py
436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 | |
Recording
¶
Bases: dj.Manual
Table for discrete recording sessions with the miniscope.
Attributes:
| Name | Type | Description |
|---|---|---|
Session |
foreign key
|
Session primary key. |
recording_id |
foreign key, int
|
Unique recording ID. |
Equipment |
foreign key, int
|
Lookup table for miniscope equipment information. |
AcquisitionSoftware |
foreign key, int
|
Lookup table for miniscope acquisition software. |
recording_directory |
varchar(255)
|
relative path to recording files. |
recording_notes |
varchar(4095)
|
notes about the recording session. |
Source code in element_miniscope/miniscope.py
136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 | |
RecordingInfo
¶
Bases: dj.Imported
Automated table with recording metadata.
Attributes:
| Name | Type | Description |
|---|---|---|
Recording |
foreign key
|
Recording primary key. |
nchannels |
tinyint
|
Number of recording channels. |
nframes |
int
|
Number of recorded frames. |
px_height |
smallint
|
Height in pixels. |
px_width |
smallint
|
Width in pixels. |
um_height |
float
|
Height in microns. |
um_width |
float
|
Width in microns. |
fps |
float
|
Frames per second, (Hz). |
gain |
float
|
Recording gain. |
spatial_downsample |
tinyint
|
Amount of downsampling applied. |
led_power |
float
|
LED power used for the recording. |
time_stamps |
longblob
|
Time stamps for each frame. |
recording_datetime |
datetime
|
Datetime of the recording. |
recording_duration |
float
|
Total recording duration (seconds). |
Source code in element_miniscope/miniscope.py
177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 | |
File
¶
Bases: dj.Part
File path to recording file relative to root data directory.
Attributes:
| Name | Type | Description |
|---|---|---|
Recording |
foreign key
|
Recording primary key. |
file_id |
foreign key, smallint
|
Unique file ID. |
path_path |
varchar(255)
|
Relative file path to recording file. |
Source code in element_miniscope/miniscope.py
217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 | |
make(key)
¶
Populate table with recording file metadata.
Source code in element_miniscope/miniscope.py
233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 | |
RecordingLocation
¶
Bases: dj.Manual
Brain location where the miniscope recording is acquired.
Attributes:
| Name | Type | Description |
|---|---|---|
Recording |
foreign key
|
Recording primary key. |
Anatomical |
Location
|
Select the anatomical region where miniscope recording was acquired. |
Source code in element_miniscope/miniscope.py
160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 | |
Segmentation
¶
Bases: dj.Computed
Automated table computes different mask segmentations.
Attributes:
| Name | Type | Description |
|---|---|---|
Curations |
foreign key
|
Curation primary key. |
Source code in element_miniscope/miniscope.py
845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 | |
Mask
¶
Bases: dj.Part
Image masks produced during segmentation.
Attributes:
| Name | Type | Description |
|---|---|---|
Segmentation |
foreign key
|
Segmentation primary key. |
mask_id |
foreign key, smallint
|
Unique ID for each mask. |
channel.proj(segmentation_channel='channel') |
query
|
Channel to be used for segmentation. |
mask_npix |
int
|
Number of pixels in the mask. |
mask_center_x |
int
|
Center x coordinate in pixels. |
mask_center_y |
int
|
Center y coordinate in pixels. |
mask_xpix |
longblob
|
x coordinates of the mask in pixels. |
mask_ypix |
longblob
|
y coordinates of the mask in pixels. |
mask_weights |
longblob
|
weights of the mask at the indicies above. |
Source code in element_miniscope/miniscope.py
857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 | |
make(key)
¶
Populates table with segementation data.
Source code in element_miniscope/miniscope.py
885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 | |
activate(miniscope_schema_name, *, create_schema=True, create_tables=True, linking_module=None)
¶
Activate this schema.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
model_schema_name |
str
|
schema name on the database server |
required |
create_schema |
bool
|
when True (default), create schema in the database if it does not yet exist. |
True
|
create_tables |
str
|
when True (default), create schema tabkes in the database if they do not yet exist. |
True
|
linking_module |
str
|
a module (or name) containing the required dependencies. |
None
|
Dependencies:
Upstream tables
Session: parent table to Recording, identifying a recording session. Equipment: Reference table for Recording, specifying the acquisition equipment.
Functions
get_miniscope_root_data_dir(): Returns absolute path for root data director(y/ies) with all subject/sessions data, as (list of) string(s). get_session_directory(session_key: dict) Returns the session directory with all data for the session in session_key, as a string. get_processed_root_data_dir(): Returns absolute path for all processed data as a string.
Source code in element_miniscope/miniscope.py
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | |
get_loader_result(key, table)
¶
Retrieve the loaded processed imaging results from the loader (e.g. caiman, etc.)
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
key |
dict
|
the |
required |
table |
str
|
the class defining the table to retrieve the loaded results from (e.g. ProcessingTask, Curation). |
required |
Returns:
| Type | Description |
|---|---|
a loader object of the loaded results (e.g. caiman.CaImAn, etc.) |
Source code in element_miniscope/miniscope.py
1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 | |
get_miniscope_root_data_dir()
¶
Fetches absolute data path to miniscope data directory.
The absolute path here is used as a reference for all downstream relative paths used in DataJoint.
Returns:
| Type | Description |
|---|---|
list
|
A list of the absolute path to miniscope data directory. |
Source code in element_miniscope/miniscope.py
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | |
get_processed_root_data_dir()
¶
Retrieves the root directory for all processed data
Source code in element_miniscope/miniscope.py
97 98 99 100 101 102 103 104 | |
get_session_directory(session_key)
¶
Pulls session directory information from database.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_key |
dict
|
a dictionary containing session information. |
required |
Returns:
| Type | Description |
|---|---|
str
|
Session directory as a string. |
Source code in element_miniscope/miniscope.py
85 86 87 88 89 90 91 92 93 94 | |
populate_all(display_progress=True, reserve_jobs=False, suppress_errors=False)
¶
Populates all Computed/Imported tables in this schema, in order.
Source code in element_miniscope/miniscope.py
1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 | |