Team Ai
Datasetpublic

OpenScientificCodeRegistry/Database

Open Scientific Code Registry (OSCR): the authors' scripts The code published by the authors of open-access neuroscience papers, as found and verified by Open Scientific Code Registry (OSCR). Each file is here exactly as it is at the source, at the verified commit, under the license of its repository. 421,275 unique files (3,782 MB of text) from 8,849 repositories, in 24 Parquet block(s). Only files whose repository's license allows redistribution, confirmed by the repository's… See the full description on the dataset page: https://huggingface.co/datasets/OpenScientificCodeRegistry/Database.

sourceHugging Faceotherupdated 2d agoView on Hugging Face
0likes5.6kdownloads
github.com__zilongji__adaptiveattractorforsequences.json588 linesDownload Raw Back to e7
1{2 "format": "oscr-script-manifest/1",3 "repository": "github.com/zilongji/adaptiveattractorforsequences",4 "url": "https://github.com/ZilongJi/AdaptiveAttractorForSequences/tree/v1.0",5 "host": "github.com",6 "commit": "c7ada22f9cbfb2957a5d6c54e507c6665fa0de45",7 "license": "MIT",8 "license_confirmed_by": "license file LICENSE.txt",9 "redistribution": "yes",10 "files": [11  {12   "path": "Code4PaperFigures/Figure2_bumpactivity_placefields_intrinsicspeed.ipynb",13   "sha256": "08b76d08947fa86330d301db34103e714222998c4c5ebe00f31b26917f3686c0",14   "language": "Jupyter",15   "lines": 241,16   "truncated": false,17   "block": 11,18   "row": 1289319  },20  {21   "path": "Code4PaperFigures/Figure2_replay_three_adaptation_strength.ipynb",22   "sha256": "b8e21d548baadbd0ef9949a93cc7b97dae3212fd22fc66b72ba0735d03758078",23   "language": "Jupyter",24   "lines": 229,25   "truncated": false,26   "block": 11,27   "row": 1297828  },29  {30   "path": "Code4PaperFigures/Figure3_spectural_analysis.ipynb",31   "sha256": "668c08720d67d18ea999ec8c1e15bf1708e525b33eef65ec0c8fd2cf1f260685",32   "language": "Jupyter",33   "lines": 539,34   "truncated": false,35   "block": 11,36   "row": 1354037  },38  {39   "path": "Code4PaperFigures/Figure3_various_replay_dynamics.ipynb",40   "sha256": "d5b8ec38d0bdd20cf3e6bf6d645f899d33747a54dc3f14b374638d15f7d6b37c",41   "language": "Jupyter",42   "lines": 627,43   "truncated": false,44   "block": 11,45   "row": 1357646  },47  {48   "path": "Code4PaperFigures/Figure4_modelprediction1_thetasweeps.ipynb",49   "sha256": "8b9b90b02d7d154b093166873b89aec9e6c4d6ba8c20e16dbfcea578dd6971f5",50   "language": "Jupyter",51   "lines": 416,52   "truncated": false,53   "block": 11,54   "row": 1332155  },56  {57   "path": "Code4PaperFigures/Figure4_modelprediction2_awakesleep.ipynb",58   "sha256": "d24b57d0d4f5b9de93e8831e3a790524eae2360dce716ff6794a028eedee0636",59   "language": "Jupyter",60   "lines": 326,61   "truncated": false,62   "block": 11,63   "row": 1317264  },65  {66   "path": "Code4PaperFigures/Figure4_modelprediction3_activitystepsize.ipynb",67   "sha256": "2b0aea03ac055a9d1f976b2cb84969848bbfb2184af23258357169082ca65f04",68   "language": "Jupyter",69   "lines": 634,70   "truncated": false,71   "block": 11,72   "row": 1362073  },74  {75   "path": "Code4PaperFigures/Figure7_anticorrelation_between_stepsize_neuralactivity.ipynb",76   "sha256": "477505b0415aef3cac84a40d5c9603ca94fefcc8b9e757020960b011e860ed1d",77   "language": "Jupyter",78   "lines": 214,79   "truncated": false,80   "block": 11,81   "row": 1290682  },83  {84   "path": "Code4PaperFigures/Figure7_anticorrelation_between_stepsize_neuralactivity_part2.ipynb",85   "sha256": "eeb27b12959e5a34bdf503f42a771e786396135057b2288f2e04833218c11633",86   "language": "Jupyter",87   "lines": 634,88   "truncated": false,89   "block": 11,90   "row": 1361991  },92  {93   "path": "Code4PaperFigures/Results4Tianhao.ipynb",94   "sha256": "6c030d874f82bbbf88462bd889e7a5c4a25208956785a165eff766d5794f8e64",95   "language": "Jupyter",96   "lines": 213,97   "truncated": false,98   "block": 11,99   "row": 12850100  },101  {102   "path": "Code4PaperFigures/spectral_analysis_utils.py",103   "sha256": "9cc60914729e119b8ae90457989cbab0deb15c647c9f7fdcfd696696db1090ee",104   "language": "Python",105   "lines": 99,106   "truncated": false,107   "block": 12,108   "row": 9919109  },110  {111   "path": "LICENSE.txt",112   "sha256": "002c2696d92b5c8cf956c11072baa58eaf9f6ade995c031ea635c6a1ee342ad1",113   "language": "License",114   "lines": 21,115   "truncated": false,116   "block": 6,117   "row": 1534118  },119  {120   "path": "README.md",121   "sha256": "4303ffa6a3119af5097d59223abb9d61d55290effaa816e6b782b88259efd03d",122   "language": "Text",123   "lines": 51,124   "truncated": false,125   "block": 13,126   "row": 6325127  },128  {129   "path": "Theta_sweeps.py",130   "sha256": "0bdc62f18980260c930d9782c4fa80c6bbbab0f53086c86ad62ec5a52effd90c",131   "language": "Python",132   "lines": 73,133   "truncated": false,134   "block": 12,135   "row": 8801136  },137  {138   "path": "TwoD_fun.py",139   "sha256": "32e0e934278345a37b3a49ecbe8790812ffcbddd2712a2106312558608098c32",140   "language": "Python",141   "lines": 189,142   "truncated": false,143   "block": 12,144   "row": 15571145  },146  {147   "path": "TwoD_gamma.py",148   "sha256": "b71b94e9dcb637223d79ee6a5c14edddb786ed0548f3f6e384872831eca7f114",149   "language": "Python",150   "lines": 162,151   "truncated": false,152   "block": 12,153   "row": 14815154  },155  {156   "path": "cann.py",157   "sha256": "e36dee34f68b897a4d3ea7bf4634bfade223a1d2f78d13be143884007b242ab6",158   "language": "Python",159   "lines": 190,160   "truncated": false,161   "block": 12,162   "row": 15957163  },164  {165   "path": "cann_fft.py",166   "sha256": "58be2ecbe644f5da53c0777f6ff91c2b8b70e21dc67afa2110cd9e3a2803ed4b",167   "language": "Python",168   "lines": 77,169   "truncated": false,170   "block": 12,171   "row": 9986172  },173  {174   "path": "code_before_nc_submission/Fig2b_placefield.py",175   "sha256": "ccc2fb3f79c0bfabdb9bfb0115cf2da370bee672096d055428eb8397a9a474d8",176   "language": "Python",177   "lines": 75,178   "truncated": false,179   "block": 12,180   "row": 8489181  },182  {183   "path": "code_before_nc_submission/Fig2d_intrinsicspeed.py",184   "sha256": "8ec14019cac65338dc83799a683aeeaed34537273a09421c001872a761e1b389",185   "language": "Python",186   "lines": 100,187   "truncated": false,188   "block": 12,189   "row": 9844190  },191  {192   "path": "code_before_nc_submission/Fig2d_intrinsicspeed_with_k.py",193   "sha256": "659c220b9056919938d87f8769210ef38797f6e763a1ec4ab1ea0809c76a105d",194   "language": "Python",195   "lines": 83,196   "truncated": false,197   "block": 12,198   "row": 8819199  },200  {201   "path": "code_before_nc_submission/Fig3_replay.py",202   "sha256": "1b5d73ab3ac40e4b718e57890dcf68b7efd029cb6d971c050079e6f1134f17dd",203   "language": "Python",204   "lines": 111,205   "truncated": false,206   "block": 12,207   "row": 10996208  },209  {210   "path": "code_before_nc_submission/Fig3_replay_zl.py",211   "sha256": "b82ab89bd64a5f3b8a54f8ccae2e0967810c75cc0c528749e44b9db412966446",212   "language": "Python",213   "lines": 109,214   "truncated": false,215   "block": 12,216   "row": 10972217  },218  {219   "path": "code_before_nc_submission/Fig3b_forwardsweep.py",220   "sha256": "63b209f901a1f3fd3df84701b830e09332ce5287bb3710debaf833c24335e128",221   "language": "Python",222   "lines": 131,223   "truncated": false,224   "block": 12,225   "row": 12684226  },227  {228   "path": "code_before_nc_submission/Fig3b_forwardsweep_bar.py",229   "sha256": "56bb3820ee43fb13332c9fa3f72b6e94c23d3c158afde72e01c40c0618b41f9a",230   "language": "Python",231   "lines": 112,232   "truncated": false,233   "block": 12,234   "row": 11288235  },236  {237   "path": "code_before_nc_submission/Fig3c_bisweep.py",238   "sha256": "3f3199e44b5b1e9a50fc64ffa6847b890c2d10969503940c8e4f0eeb9324d94d",239   "language": "Python",240   "lines": 137,241   "truncated": false,242   "block": 12,243   "row": 12752244  },245  {246   "path": "code_before_nc_submission/Fig3c_bisweep_bar.py",247   "sha256": "b45161e15bc6ffb6fd1d4ae8c2a8d0c0b36fc89b8930b73abed5d80e60683068",248   "language": "Python",249   "lines": 111,250   "truncated": false,251   "block": 12,252   "row": 11238253  },254  {255   "path": "code_before_nc_submission/Fig4a_phasediagram.py",256   "sha256": "a63ba8c15f976988dc6e2f26453fc384fb086fe9fbdf7e5b162028a9ba577cdd",257   "language": "Python",258   "lines": 57,259   "truncated": false,260   "block": 12,261   "row": 8383262  },263  {264   "path": "code_before_nc_submission/Fig4a_samples.py",265   "sha256": "a26cee2383ec11775c99c0cd9ec1814fbc960bfde9b6eeb467b13452c376585e",266   "language": "Python",267   "lines": 124,268   "truncated": false,269   "block": 12,270   "row": 13395271  },272  {273   "path": "code_before_nc_submission/Fig4bc_theoryvssimulation.py",274   "sha256": "a5cc790956043df165928bb115631907ac146db7217b3a4367ec4bafe7c34d13",275   "language": "Python",276   "lines": 76,277   "truncated": false,278   "block": 12,279   "row": 10593280  },281  {282   "path": "code_before_nc_submission/Fig5a_trajectorysamples.py",283   "sha256": "bec06d2aacdfde90d270e2635358768ec8b413a75a7533b9aa83b1337a8fb50b",284   "language": "Python",285   "lines": 79,286   "truncated": false,287   "block": 12,288   "row": 10141289  },290  {291   "path": "code_before_nc_submission/Fig5c_histogram.py",292   "sha256": "8367e235febdd1431760d714db307c4378b33edafed3c427e46d1b31c94b7b49",293   "language": "Python",294   "lines": 65,295   "truncated": false,296   "block": 12,297   "row": 8885298  },299  {300   "path": "code_before_nc_submission/Fig5c_stepsizeprob.py",301   "sha256": "b689c8def3350cc04c43ead5e1ae3948f8ee9b14d17b529ed726bb808906219c",302   "language": "Python",303   "lines": 66,304   "truncated": false,305   "block": 12,306   "row": 9301307  },308  {309   "path": "code_before_nc_submission/Fig5d_displacement.py",310   "sha256": "ee70b5063305cd9b3ed1ab817ca9e973b4f69e014ddd3861dc48be4025047c55",311   "language": "Python",312   "lines": 78,313   "truncated": false,314   "block": 12,315   "row": 10019316  },317  {318   "path": "code_before_nc_submission/Fig6a_superdiffusionsample.py",319   "sha256": "c2dcbc36168e187d62d65070a6ba1a2576d74a756b90a5bf3a89dfd1a6244e41",320   "language": "Python",321   "lines": 118,322   "truncated": false,323   "block": 12,324   "row": 11425325  },326  {327   "path": "code_before_nc_submission/PaperFigureCode/Fig3_sweep_replay.ipynb",328   "sha256": "f1291b847711d74a04144e6defbee55b1934867ab17a79a6c217101e1c387dd8",329   "language": "Jupyter",330   "lines": 783,331   "truncated": false,332   "block": 11,333   "row": 13657334  },335  {336   "path": "code_before_nc_submission/PaperFigureCode/Fig4_various_replay_dynamics.ipynb",337   "sha256": "3464b6adf7436904d65bf58226fa2eaf02c9461b962896634600a1bc4fb6b82d",338   "language": "Jupyter",339   "lines": 576,340   "truncated": false,341   "block": 11,342   "row": 13531343  },344  {345   "path": "code_before_nc_submission/PaperFigureCode/Fig5_anti_phase_locking.ipynb",346   "sha256": "0c8bcbed07772b60cb626552a0c82a9df776de44eb09c809db0af058831f5675",347   "language": "Jupyter",348   "lines": 385,349   "truncated": false,350   "block": 11,351   "row": 13205352  },353  {354   "path": "code_before_nc_submission/PaperFigureCode/Fig5_anticorrelation_between_stepsize_neuralactivity.ipynb",355   "sha256": "fb400c6af774d3b1bcbeaae5d726a9ab36457bc7a6d913e9445bceaaab449bff",356   "language": "Jupyter",357   "lines": 209,358   "truncated": false,359   "block": 11,360   "row": 12878361  },362  {363   "path": "code_before_nc_submission/PaperFigureCode/Fig5_antiphase_locking_1DCANN.ipynb",364   "sha256": "a6b5fbc5c87147e518c222e6ee5180e760335a4d5b5444ad0f01b339b9b38ee5",365   "language": "Jupyter",366   "lines": 437,367   "truncated": false,368   "block": 11,369   "row": 13394370  },371  {372   "path": "code_before_nc_submission/PaperFigureCode/Fig6_sweep_replay_correlation.ipynb",373   "sha256": "ee8798b3b692ebb5eebe3067815073ccc2c37e0d55a3e53705e742f35b938132",374   "language": "Jupyter",375   "lines": 310,376   "truncated": false,377   "block": 11,378   "row": 13225379  },380  {381   "path": "code_before_nc_submission/PaperFigureCode/Fig7.ipynb",382   "sha256": "1bfa260e2bc2a693d9537004671bee7025c53897a9556cbb3a54517aa069b5cc",383   "language": "Jupyter",384   "lines": 191,385   "truncated": false,386   "block": 11,387   "row": 12939388  },389  {390   "path": "code_before_nc_submission/PaperFigureCode/Fig7c_m_d_relationship.ipynb",391   "sha256": "1315decc7bb3a30404d162d87e87aa553f2c2009b20a7d68cc0b399cb71fbf14",392   "language": "Jupyter",393   "lines": 56,394   "truncated": false,395   "block": 11,396   "row": 12148397  },398  {399   "path": "code_before_nc_submission/PaperFigureCode/FigS7.ipynb",400   "sha256": "0c53d412ec71f2379603eaa1f5917351458b5807e3a81e0773c66e65d726b151",401   "language": "Jupyter",402   "lines": 140,403   "truncated": false,404   "block": 11,405   "row": 12630406  },407  {408   "path": "code_before_nc_submission/PaperFigureCode/Fig_activityvsstepsize.ipynb",409   "sha256": "5f6d991b9e0a1088930bb76d86a9bee5e5d0264722bc89b14376f961279f3a71",410   "language": "Jupyter",411   "lines": 358,412   "truncated": false,413   "block": 11,414   "row": 13278415  },416  {417   "path": "code_before_nc_submission/PaperFigureCode/Fig_modelprediction_activitystepsize.ipynb",418   "sha256": "9681a18039a6dc7f5117fcea3c1e558babe3159f7e7473780e72ba5d3e05a92a",419   "language": "Jupyter",420   "lines": 524,421   "truncated": false,422   "block": 11,423   "row": 13519424  },425  {426   "path": "code_before_nc_submission/PaperFigureCode/Fig_modelprediction_awakesleep.ipynb",427   "sha256": "9d1f61134cf245a11d49955a4eb315fc3aec2581dd428f1a77232fcb8bc6f0e8",428   "language": "Jupyter",429   "lines": 319,430   "truncated": false,431   "block": 11,432   "row": 13160433  },434  {435   "path": "code_before_nc_submission/PaperFigureCode/Fig_modelprediction_thetasweeps.ipynb",436   "sha256": "357af19349f7d8ba304c150bd11fd9285956d4480d77e6a13cece6b78c7dfbb5",437   "language": "Jupyter",438   "lines": 412,439   "truncated": false,440   "block": 11,441   "row": 13310442  },443  {444   "path": "code_before_nc_submission/PaperFigureCode/Hexagonal_spectral_components_analysis.ipynb",445   "sha256": "b0bce93c62112f31870b134fc86c7cca9d78da6e88159262f02336b001dc0304",446   "language": "Jupyter",447   "lines": 49,448   "truncated": false,449   "block": 11,450   "row": 12043451  },452  {453   "path": "code_before_nc_submission/PaperFigureCode/antiphase_test.py",454   "sha256": "16c9e21e3a452ab213dbbfcac0a6872e077e3436b2c275ff2d3d774621e28c0f",455   "language": "Python",456   "lines": 121,457   "truncated": false,458   "block": 12,459   "row": 12457460  },461  {462   "path": "code_before_nc_submission/PaperFigureCode/spectral_analysis_utils.py",463   "sha256": "9cc60914729e119b8ae90457989cbab0deb15c647c9f7fdcfd696696db1090ee",464   "language": "Python",465   "lines": 99,466   "truncated": false,467   "block": 12,468   "row": 9919469  },470  {471   "path": "code_before_nc_submission/PaperFigureCode/spectural_analysis.ipynb",472   "sha256": "64052ae218f12c492602f97b54eb1d96b7091941fee469c3785447de1f8b39db",473   "language": "Jupyter",474   "lines": 473,475   "truncated": false,476   "block": 11,477   "row": 13438478  },479  {480   "path": "code_before_nc_submission/PaperFigureCode/spectural_analysis_v2.ipynb",481   "sha256": "4ba98d04d5277112d16c16a422e0fa96751ee35bb56a816b6fbcaccaf6ac0d35",482   "language": "Jupyter",483   "lines": 726,484   "truncated": false,485   "block": 11,486   "row": 13646487  },488  {489   "path": "code_before_nc_submission/fig2a_networkbump.py",490   "sha256": "605bad8577c8546d350c294a5b32f0760eb3abc3cef29c297791c02b71690e54",491   "language": "Python",492   "lines": 59,493   "truncated": false,494   "block": 12,495   "row": 7861496  },497  {498   "path": "code_before_nc_submission/fig2c_delaytracking.py",499   "sha256": "35a3418cfc96418c24c41197219d632d36f65c3f585ead725efff17ab055409d",500   "language": "Python",501   "lines": 78,502   "truncated": false,503   "block": 12,504   "row": 9557505  },506  {507   "path": "code_before_nc_submission/fig2e_delayvsspeed.py",508   "sha256": "a65d49165303d627582c2577725d65959bd5675f641cba4926bc6f10238d504d",509   "language": "Python",510   "lines": 90,511   "truncated": false,512   "block": 12,513   "row": 10227514  },515  {516   "path": "code_before_nc_submission/fig2f_delayvsadaptation.py",517   "sha256": "f417d9d9446ca5bd23dbd660859dd54fb4f6f920a8c69049160d03b9d8d2ce74",518   "language": "Python",519   "lines": 92,520   "truncated": false,521   "block": 12,522   "row": 9916523  },524  {525   "path": "code_before_nc_submission/fig5b_loglogBrownianmotion.py",526   "sha256": "64172f90cac1ef3510fae09655299f191a562e4068499432fc700c2bdb0edda9",527   "language": "Python",528   "lines": 98,529   "truncated": false,530   "block": 12,531   "row": 11703532  },533  {534   "path": "code_before_nc_submission/fig6b_trajectoryvsslowgamma.py",535   "sha256": "523ed10e57d625c642d281a5f4129ae95f4f17a53b0d56459fcfec135fe0eacd",536   "language": "Python",537   "lines": 79,538   "truncated": false,539   "block": 12,540   "row": 8634541  },542  {543   "path": "code_before_nc_submission/fig6c_activityvstrajectory.py",544   "sha256": "66bb2ee264172745892eaf78d868c04cac47ae708175e6a0c5c5c44217959e49",545   "language": "Python",546   "lines": 78,547   "truncated": false,548   "block": 12,549   "row": 9277550  },551  {552   "path": "code_before_nc_submission/fig6d_antiphase.py",553   "sha256": "5501f253413b059f322dc5434ec0316613f10f50ebaacc229cc4ce4f7e51e39a",554   "language": "Python",555   "lines": 68,556   "truncated": false,557   "block": 12,558   "row": 8821559  },560  {561   "path": "code_before_nc_submission/iNavPoster/LinearTrackSweep.ipynb",562   "sha256": "90fd09a923b7ea6cb25cf2037a217ab95b72bb83182889365aba5fa78fae1f54",563   "language": "Jupyter",564   "lines": 123,565   "truncated": false,566   "block": 11,567   "row": 12512568  },569  {570   "path": "egenvalue_analysis.ipynb",571   "sha256": "211027402f74369c510c227a6074ef45b3be8d6eee963437180d732d3383ff71",572   "language": "Jupyter",573   "lines": 181,574   "truncated": false,575   "block": 11,576   "row": 12691577  },578  {579   "path": "fitting_Gaussian.py",580   "sha256": "8ceb2ffb1c505c8874973f8a325528aade100af98b2ca0a3d3b8208a93f5b20b",581   "language": "Python",582   "lines": 159,583   "truncated": false,584   "block": 12,585   "row": 14539586  }587 ]588}