{ "format": "oscr-script-manifest/1", "repository": "github.com/ohba-analysis/osl-foundation", "url": "https://github.com/OHBA-analysis/osl-foundation", "host": "github.com", "commit": "ffbeff318811de3adea33d7dfeaa0af15a5b902b", "license": "MIT", "license_confirmed_by": "license file LICENSE", "redistribution": "yes", "files": [ { "path": "LICENSE", "sha256": "8f056813c8e05fedc844847a65b8ac24cdefb871391d7f64767111fc2fafc89c", "language": "License", "lines": 21, "truncated": false, "block": 6, "row": 1748 }, { "path": "README.md", "sha256": "5458ccc10d6220c834715f50f9b4732ae7d177ef3ed4a4477153ed2dc0816415", "language": "Text", "lines": 65, "truncated": false, "block": 8, "row": 9892 }, { "path": "examples/paper/analysis/1_tokeniser_reconstructs.py", "sha256": "506c2be31fddc7657e0c794d413859988ae13b4ab37c53725741f5507e557795", "language": "Python", "lines": 315, "truncated": false, "block": 7, "row": 1880 }, { "path": "examples/paper/analysis/2_spatial_spectral.py", "sha256": "08ef3b7d4dbefbef015c29473ccff31109c6c10303fbdef55104bf77e115a8fa", "language": "Python", "lines": 211, "truncated": false, "block": 6, "row": 43877 }, { "path": "examples/paper/analysis/3_subject_fingerprints.py", "sha256": "e9de652591a1ba7aaffe32d5fc1b955a53358811699ad6a84372482a09f576cb", "language": "Python", "lines": 723, "truncated": false, "block": 7, "row": 9147 }, { "path": "examples/paper/analysis/4_bursting_behaviour.py", "sha256": "bc4f2443764df2bb11cfb4b52146499990bef8a6faf8f659a5d4e2b73f17d94f", "language": "Python", "lines": 556, "truncated": false, "block": 7, "row": 7708 }, { "path": "examples/paper/analysis/plot_embeddings.py", "sha256": "c2ba5b1a9eee0eab6dafa08b943c69002632ba8b68a38fb6e29a9757ab676a95", "language": "Python", "lines": 363, "truncated": false, "block": 7, "row": 4034 }, { "path": "examples/paper/decoding/1_get_baseline_features.py", "sha256": "cb0e28ff4272feb90e2b314398ebd5f3dc5161a48d47aeea4804f8ec9024c98b", "language": "Python", "lines": 95, "truncated": false, "block": 6, "row": 34625 }, { "path": "examples/paper/decoding/2_tokenize_data.py", "sha256": "23315f670808e5c3bf363169a4845a8cf55dd258cab282c86fbc52eb3b4447d7", "language": "Python", "lines": 38, "truncated": false, "block": 6, "row": 26007 }, { "path": "examples/paper/decoding/3_get_zero_shot_features.py", "sha256": "42c0a9ea4a5d7bec331661f6d38830d62c095db7be01b8b34a14e79a654c7b94", "language": "Python", "lines": 142, "truncated": false, "block": 6, "row": 38579 }, { "path": "examples/paper/decoding/4_prepare_tfrecords.py", "sha256": "b7e1621e812e8b5d54ddbd333d369bd008efe8d48906eb48a301a46268cb41ec", "language": "Python", "lines": 28, "truncated": false, "block": 6, "row": 24289 }, { "path": "examples/paper/decoding/5_fine_tuning.py", "sha256": "7150bbb524de1d0695ff148a45facfc75a75607223fa1a95d6212d2d5995cead", "language": "Python", "lines": 49, "truncated": false, "block": 6, "row": 28132 }, { "path": "examples/paper/decoding/6_get_fine_tune_features.py", "sha256": "ed214cf8c8898638676ffa66a829f1b4d8d2c4c4d9323ed9ce0fd974f3f715f4", "language": "Python", "lines": 142, "truncated": false, "block": 6, "row": 38593 }, { "path": "examples/paper/decoding/7_decoding_performances.py", "sha256": "f72a9ad3accdf2564043dc20d4ee2213c4c731750d5877e7c1c8f8c4b87ad72e", "language": "Python", "lines": 232, "truncated": false, "block": 7, "row": 686 }, { "path": "examples/paper/generate_data/1_meg-gpt.py", "sha256": "63a0ab42b7b392d6ff4c2386e53a4983312b89ca2b68720737bf1056f83cf72a", "language": "Python", "lines": 78, "truncated": false, "block": 6, "row": 32161 }, { "path": "examples/paper/generate_data/2_ar_model.py", "sha256": "00b9df4d213f483f3a38fa74df32a1e7fb15b8c2b99703849667a73a554e62d4", "language": "Python", "lines": 59, "truncated": false, "block": 6, "row": 31226 }, { "path": "examples/paper/train_models/1_train_tokenizer.py", "sha256": "f72a8e52782a4cdf9aab2686ead5e242ada245167f36275a75f19bacb53e47de", "language": "Python", "lines": 32, "truncated": false, "block": 6, "row": 24690 }, { "path": "examples/paper/train_models/2_tokenize_data.py", "sha256": "f37e91eae286bab40f5637c029702635e0e01e8428c4e74efec991cb0db29820", "language": "Python", "lines": 43, "truncated": false, "block": 6, "row": 26324 }, { "path": "examples/paper/train_models/3_prepare_data.py", "sha256": "0c0caf5ed70f051178d56f6c3b2d04e70daabd8d616368aec8e875146319066e", "language": "Python", "lines": 35, "truncated": false, "block": 6, "row": 25689 }, { "path": "examples/paper/train_models/4_train_meg-gpt.py", "sha256": "73f209188978d357fcbdde71eea510eba9e1b279edd43f1fa8cc2b3815974e48", "language": "Python", "lines": 33, "truncated": false, "block": 6, "row": 24524 }, { "path": "examples/paper/train_models/5_train_ar.py", "sha256": "147d6f66e5661202b78e7af26981c50eab3c5a4cccc183dc8d0f0f50d4fac384", "language": "Python", "lines": 186, "truncated": false, "block": 6, "row": 42193 }, { "path": "examples/random_tokens/ephys_gpt.py", "sha256": "82b70050833d224a5c2f827cf64eb99a0c5f68b5dc95d23ff495690df87ec053", "language": "Python", "lines": 47, "truncated": false, "block": 6, "row": 26855 }, { "path": "examples/real_data/camcan_rest/1_train_tokenizer.py", "sha256": "fd7a36980085a42e390b91a57dcb7f726a774255dbaedcaa93664a79452d929b", "language": "Python", "lines": 48, "truncated": false, "block": 6, "row": 26603 }, { "path": "examples/real_data/camcan_rest/2_tokenize_data.py", "sha256": "949c26b1d0b1089c1a35b24b95748d3f125482a86aeeb46f403925eeff29e32b", "language": "Python", "lines": 51, "truncated": false, "block": 6, "row": 27276 }, { "path": "examples/real_data/camcan_rest/gradual_space_attention/1_train_generator.py", "sha256": "512190e318e6a335f161250ae84a3f5a522777bb316a51d16b08f63287e678bf", "language": "Python", "lines": 71, "truncated": false, "block": 6, "row": 30327 }, { "path": "examples/real_data/camcan_rest/gradual_space_attention/2_generate_data.py", "sha256": "ddbe56eb3e3b601d69acf092d3048c55e58f5858bd91482e565060173bbdaaca", "language": "Python", "lines": 34, "truncated": false, "block": 6, "row": 24962 }, { "path": "examples/real_data/camcan_rest/gradual_space_attention/3_plot_results.py", "sha256": "c4a9c28d556854e8aeac5bf18addc8be2f653142d47d1b47a04137d95073a99e", "language": "Python", "lines": 138, "truncated": false, "block": 6, "row": 39398 }, { "path": "examples/real_data/camcan_rest/gradual_space_attention/4_train_hmm.py", "sha256": "f147407426133f7b97b8151e8ad17074ac45aadaf56d95108b143526fc8e6ff4", "language": "Python", "lines": 62, "truncated": false, "block": 6, "row": 29604 }, { "path": "examples/real_data/camcan_rest/gradual_space_attention/plot_history.py", "sha256": "588fbced442327f92fa9dc0b3d5e1f95f1f230ca3234fd543b6c793167ab8315", "language": "Python", "lines": 9, "truncated": false, "block": 6, "row": 21290 }, { "path": "examples/real_data/camcan_rest/gradual_space_attention/submit.py", "sha256": "0c37a3f708603ef1fc0ccda52ed7c3d17f666066293e2a64990e2d4bb6f89c93", "language": "Python", "lines": 27, "truncated": false, "block": 6, "row": 24964 }, { "path": "examples/real_data/camcan_rest/with_space_attention/1_train_generator.py", "sha256": "829aee89be0f447065f2edcc74163155a8c81ecbd8afb2e233c9660b47eeeec5", "language": "Python", "lines": 32, "truncated": false, "block": 6, "row": 23590 }, { "path": "examples/real_data/camcan_rest/with_space_attention/2_generate_data.py", "sha256": "ddbe56eb3e3b601d69acf092d3048c55e58f5858bd91482e565060173bbdaaca", "language": "Python", "lines": 34, "truncated": false, "block": 6, "row": 24962 }, { "path": "examples/real_data/camcan_rest/with_space_attention/3_plot_results.py", "sha256": "c4a9c28d556854e8aeac5bf18addc8be2f653142d47d1b47a04137d95073a99e", "language": "Python", "lines": 138, "truncated": false, "block": 6, "row": 39398 }, { "path": "examples/real_data/camcan_rest/with_space_attention/4_train_hmm.py", "sha256": "db49673a692d3681073b12878595cdc1345baf399c107f9c69296bc1e5781a56", "language": "Python", "lines": 61, "truncated": false, "block": 6, "row": 29447 }, { "path": "examples/real_data/camcan_rest/with_space_attention/plot_history.py", "sha256": "588fbced442327f92fa9dc0b3d5e1f95f1f230ca3234fd543b6c793167ab8315", "language": "Python", "lines": 9, "truncated": false, "block": 6, "row": 21290 }, { "path": "examples/real_data/camcan_rest/with_space_attention/submit.py", "sha256": "0c37a3f708603ef1fc0ccda52ed7c3d17f666066293e2a64990e2d4bb6f89c93", "language": "Python", "lines": 27, "truncated": false, "block": 6, "row": 24964 }, { "path": "examples/real_data/camcan_rest/without_space_attention/1_train_generator.py", "sha256": "829aee89be0f447065f2edcc74163155a8c81ecbd8afb2e233c9660b47eeeec5", "language": "Python", "lines": 32, "truncated": false, "block": 6, "row": 23590 }, { "path": "examples/real_data/camcan_rest/without_space_attention/2_generate_data.py", "sha256": "ddbe56eb3e3b601d69acf092d3048c55e58f5858bd91482e565060173bbdaaca", "language": "Python", "lines": 34, "truncated": false, "block": 6, "row": 24962 }, { "path": "examples/real_data/camcan_rest/without_space_attention/3_plot_results.py", "sha256": "c4a9c28d556854e8aeac5bf18addc8be2f653142d47d1b47a04137d95073a99e", "language": "Python", "lines": 138, "truncated": false, "block": 6, "row": 39398 }, { "path": "examples/real_data/camcan_rest/without_space_attention/4_bursts.py", "sha256": "0ae72382144cd421709e60edf49ae5be7cc34d0510bd60a982279254d3e7bd69", "language": "Python", "lines": 175, "truncated": false, "block": 6, "row": 41574 }, { "path": "examples/real_data/camcan_rest/without_space_attention/plot_history.py", "sha256": "588fbced442327f92fa9dc0b3d5e1f95f1f230ca3234fd543b6c793167ab8315", "language": "Python", "lines": 9, "truncated": false, "block": 6, "row": 21290 }, { "path": "examples/real_data/camcan_rest/without_space_attention/submit.py", "sha256": "0c37a3f708603ef1fc0ccda52ed7c3d17f666066293e2a64990e2d4bb6f89c93", "language": "Python", "lines": 27, "truncated": false, "block": 6, "row": 24964 }, { "path": "examples/simulation/session_variability/1_simulate_data.py", "sha256": "a3c56da2c7f3cbff03c55420f4ad1b27a3c73702d4453d16af097a378cb50737", "language": "Python", "lines": 43, "truncated": false, "block": 6, "row": 27810 }, { "path": "examples/simulation/session_variability/2_train_tokenizer.py", "sha256": "29c9ec766ad0e5d6c9e99d9f16fa117d868f453b8bdc59403e7d5b62af357e77", "language": "Python", "lines": 76, "truncated": false, "block": 6, "row": 30720 }, { "path": "examples/simulation/session_variability/3_train_generator.py", "sha256": "03994439d0f16c5cb5220a9b4c8389a0bd89eef97b0c0ec65ae129818979202a", "language": "Python", "lines": 79, "truncated": false, "block": 6, "row": 32636 }, { "path": "examples/simulation/session_variability/4_plot_results.py", "sha256": "43ccab59e45bf7dd16482755f010a5c2ed7fd8522ccf1398dfd5ccddc079c0fd", "language": "Python", "lines": 108, "truncated": false, "block": 6, "row": 36717 }, { "path": "examples/simulation/simple_simulation/1_simulate_data.py", "sha256": "ad82e645fe6a337fee395891bd2b6bf1c2d1211fa92259d15a72eba47a23ba1c", "language": "Python", "lines": 40, "truncated": false, "block": 6, "row": 26617 }, { "path": "examples/simulation/simple_simulation/2_train_tokenizer.py", "sha256": "62ea9e4e91475ef8dc680ed918ac21ea6b06cbe9f9beb76aeca51f7ac341a982", "language": "Python", "lines": 77, "truncated": false, "block": 6, "row": 30813 }, { "path": "examples/simulation/simple_simulation/3_tokenize_data.py", "sha256": "732ca2b43ccc0b1b5b16be510db0426c0ff39764520e62fd324d5b42752ab440", "language": "Python", "lines": 46, "truncated": false, "block": 6, "row": 26920 }, { "path": "examples/simulation/simple_simulation/gradual_space_attention/1_train_generator.py", "sha256": "617dac2ab3cf3bc934c08a6ebe56c5cc83a1206de757477619d552d4d0f045d6", "language": "Python", "lines": 38, "truncated": false, "block": 6, "row": 25674 }, { "path": "examples/simulation/simple_simulation/gradual_space_attention/2_generate_data.py", "sha256": "8ca592084a2119b48b1c84e71ba9cfd34a4549b4c41cabd1c9bc9e164edf6082", "language": "Python", "lines": 22, "truncated": false, "block": 6, "row": 23072 }, { "path": "examples/simulation/simple_simulation/gradual_space_attention/3_plot_results.py", "sha256": "4f07b5bcd91a71a0598d38387d93879640cd16772b2f877ef55ae52cab64a584", "language": "Python", "lines": 165, "truncated": false, "block": 6, "row": 39750 }, { "path": "examples/simulation/simple_simulation/gradual_space_attention/plot_history.py", "sha256": "588fbced442327f92fa9dc0b3d5e1f95f1f230ca3234fd543b6c793167ab8315", "language": "Python", "lines": 9, "truncated": false, "block": 6, "row": 21290 }, { "path": "examples/simulation/simple_simulation/mode_labels/1_train_generator.py", "sha256": "9caf9f9391904dc90971a91db5825766325937ef57208a1bd0f4ae1560e5735f", "language": "Python", "lines": 34, "truncated": false, "block": 6, "row": 24547 }, { "path": "examples/simulation/simple_simulation/mode_labels/2_generate_data.py", "sha256": "a5391dea7a7bb4818a0b57d3f8809fc3df9c427fba262df4f8405df9a575c429", "language": "Python", "lines": 52, "truncated": false, "block": 6, "row": 28900 }, { "path": "examples/simulation/simple_simulation/mode_labels/3_plot_results.py", "sha256": "1cc96765b2066c874b587802da80241bee0f54323d5a04baf725e05188b60c33", "language": "Python", "lines": 85, "truncated": false, "block": 6, "row": 32688 }, { "path": "examples/simulation/simple_simulation/with_space_attention/1_train_generator.py", "sha256": "617dac2ab3cf3bc934c08a6ebe56c5cc83a1206de757477619d552d4d0f045d6", "language": "Python", "lines": 38, "truncated": false, "block": 6, "row": 25674 }, { "path": "examples/simulation/simple_simulation/with_space_attention/2_generate_data.py", "sha256": "8ca592084a2119b48b1c84e71ba9cfd34a4549b4c41cabd1c9bc9e164edf6082", "language": "Python", "lines": 22, "truncated": false, "block": 6, "row": 23072 }, { "path": "examples/simulation/simple_simulation/with_space_attention/3_plot_results.py", "sha256": "4f07b5bcd91a71a0598d38387d93879640cd16772b2f877ef55ae52cab64a584", "language": "Python", "lines": 165, "truncated": false, "block": 6, "row": 39750 }, { "path": "examples/simulation/simple_simulation/with_space_attention/plot_history.py", "sha256": "588fbced442327f92fa9dc0b3d5e1f95f1f230ca3234fd543b6c793167ab8315", "language": "Python", "lines": 9, "truncated": false, "block": 6, "row": 21290 }, { "path": "examples/simulation/simple_simulation/without_space_attention/1_train_generator.py", "sha256": "617dac2ab3cf3bc934c08a6ebe56c5cc83a1206de757477619d552d4d0f045d6", "language": "Python", "lines": 38, "truncated": false, "block": 6, "row": 25674 }, { "path": "examples/simulation/simple_simulation/without_space_attention/2_generate_data.py", "sha256": "8ca592084a2119b48b1c84e71ba9cfd34a4549b4c41cabd1c9bc9e164edf6082", "language": "Python", "lines": 22, "truncated": false, "block": 6, "row": 23072 }, { "path": "examples/simulation/simple_simulation/without_space_attention/3_plot_results.py", "sha256": "4f07b5bcd91a71a0598d38387d93879640cd16772b2f877ef55ae52cab64a584", "language": "Python", "lines": 165, "truncated": false, "block": 6, "row": 39750 }, { "path": "examples/simulation/simple_simulation/without_space_attention/plot_history.py", "sha256": "588fbced442327f92fa9dc0b3d5e1f95f1f230ca3234fd543b6c793167ab8315", "language": "Python", "lines": 9, "truncated": false, "block": 6, "row": 21290 }, { "path": "osl_foundation/__init__.py", "sha256": "fd8125e2f4e3224a16c003d7c5547454e98715eb370c66444435973b17caae4e", "language": "Python", "lines": 23, "truncated": false, "block": 6, "row": 23671 }, { "path": "osl_foundation/config/__init__.py", "sha256": "b0dad557e214e5a1a8791df0abc4d2eb56cb1149a2db1687a0915c6519b0d292", "language": "Python", "lines": 286, "truncated": false, "block": 7, "row": 1578 }, { "path": "osl_foundation/config/base.py", "sha256": "fababfac3dc6b32fe7ac980de87e80b1673395c981999f2242cb3015a2147b67", "language": "Python", "lines": 86, "truncated": false, "block": 6, "row": 35112 }, { "path": "osl_foundation/config/generator_config.py", "sha256": "d4728690b88d759fa87d05b1b36a72e7c6a9cc5567a901bc6e43971a6dd4a954", "language": "Python", "lines": 214, "truncated": false, "block": 7, "row": 1853 }, { "path": "osl_foundation/config/tokenizer_config.py", "sha256": "3051d983374b486df6a77d87b02aa29787a9cc2775efab0c23202cced0e2fe0e", "language": "Python", "lines": 70, "truncated": false, "block": 6, "row": 34449 }, { "path": "osl_foundation/inference/callbacks.py", "sha256": "03eb09ac172cb309a85b56f1c0d4dcbec67c7350a0c05e2621fe735c30be3e31", "language": "Python", "lines": 170, "truncated": false, "block": 6, "row": 43029 }, { "path": "osl_foundation/inference/layers.py", "sha256": "72e826bed68ad9d17d752686443e2e5d007ffcae41fcf2b12330fa6e0733e6f2", "language": "Python", "lines": 1134, "truncated": false, "block": 7, "row": 11671 }, { "path": "osl_foundation/models/__init__.py", "sha256": "17e54327f33e656c9184f5c239d8f032baec81d7897d0c6d25d98da468202b4b", "language": "Python", "lines": 90, "truncated": false, "block": 6, "row": 34221 }, { "path": "osl_foundation/models/base.py", "sha256": "ed2d7048ceb63b84dc2be468f6f7d0eef5345f5577e1ecf608dd57143e54fd84", "language": "Python", "lines": 383, "truncated": false, "block": 7, "row": 5076 }, { "path": "osl_foundation/models/meg_gpt.py", "sha256": "e94fd0ad836903414f19e35acfb47242f60b9f60c8adad56c034a2b504445324", "language": "Python", "lines": 995, "truncated": false, "block": 7, "row": 11224 }, { "path": "osl_foundation/models/tokenizers.py", "sha256": "04d2d52cc159cf1a0b640c9b75b703744af65ad065439029189b1d3051f82554", "language": "Python", "lines": 1659, "truncated": false, "block": 8, "row": 447 }, { "path": "osl_foundation/simulation/bursts.py", "sha256": "1255c1a1c42815ef0fb25ed48d652b288eb6ebb79e79c7b3fc9b4ca0c56075dc", "language": "Python", "lines": 382, "truncated": false, "block": 7, "row": 5751 }, { "path": "osl_foundation/utils/misc.py", "sha256": "b37904b27b46756df44e7be3a0ab1d392f67460617d3e6e820881064f7937c80", "language": "Python", "lines": 11, "truncated": false, "block": 6, "row": 21582 }, { "path": "osl_foundation/utils/plotting.py", "sha256": "e24d68b9e9457f427d176e7ded870002e4f6b3a19b4d78c46cfb51e19dea12e3", "language": "Python", "lines": 383, "truncated": false, "block": 7, "row": 4320 }, { "path": "osl_foundation/utils/sampling.py", "sha256": "ae229f1f782a2a0478b83837d7fca96db4d1d1532b8abdbad6a353925fd66602", "language": "Python", "lines": 133, "truncated": false, "block": 6, "row": 38681 }, { "path": "osl_foundation/utils/testing.py", "sha256": "45c33d688bac734569709eac30e7c5d56c3e7d68f5d61c68fe1e1e837483e6e3", "language": "Python", "lines": 64, "truncated": false, "block": 6, "row": 30523 } ] }