diff --git a/examples/manuscript_analysis.ipynb b/examples/manuscript_analysis.ipynb index 7f7dd03c..3aef37f7 100644 --- a/examples/manuscript_analysis.ipynb +++ b/examples/manuscript_analysis.ipynb @@ -489,7 +489,7 @@ { "cell_type": "code", "id": "rmhlza0rqxm", - "source": "# Burst-to-burst (slice-to-slice) correlations\n# For each unit, correlates its firing rate profile across all pairs of bursts.\n# Returns a PairwiseCompMatrixStack of shape (S, S, U) and the unit-averaged matrix (S, S).\nb2b_stack, av_b2b = rss.get_slice_to_slice_unit_corr_from_stack()\n\nprint(f\"Burst-to-burst correlation stack: {b2b_stack.stack.shape} (S x S x U)\")\nprint(f\"Mean per-unit burst-to-burst correlation: {av_b2b.mean():.4f}\")", + "source": "# Burst-to-burst (slice-to-slice) correlations\n# For each unit, correlates its firing rate profile across all pairs of bursts.\n# Returns a PairwiseCompMatrixStack of shape (S, S, U) and the unit-averaged matrix (S, S).\nb2b_stack, av_b2b = rss.get_slice_to_slice_unit_corr_from_stack()\n\nprint(f\"Burst-to-burst correlation stack: {b2b_stack.stack.shape} (S x S x U)\")\n# nanmean: units silent within a burst give undefined (NaN) burst-pair correlations\nprint(f\"Mean per-unit burst-to-burst correlation: {np.nanmean(av_b2b):.4f}\")", "metadata": {}, "execution_count": null, "outputs": [] diff --git a/src/spikelab/batch_jobs/INSTRUCTIONS.md b/src/spikelab/batch_jobs/INSTRUCTIONS.md index 7e06d8a9..784547d5 100644 --- a/src/spikelab/batch_jobs/INSTRUCTIONS.md +++ b/src/spikelab/batch_jobs/INSTRUCTIONS.md @@ -286,7 +286,7 @@ submitting anything to the cluster: ```bash spikelab-batch-jobs render-job \ --profile \ - --job-config examples/batch_jobs/temp_cpu_job.yaml \ + --job-config src/spikelab/batch_jobs/examples/temp_cpu_job.yaml \ --image-profile cpu ``` diff --git a/examples/batch_jobs/temp_cpu_job.yaml b/src/spikelab/batch_jobs/examples/temp_cpu_job.yaml similarity index 100% rename from examples/batch_jobs/temp_cpu_job.yaml rename to src/spikelab/batch_jobs/examples/temp_cpu_job.yaml diff --git a/examples/batch_jobs/temp_gpu_job.yaml b/src/spikelab/batch_jobs/examples/temp_gpu_job.yaml similarity index 100% rename from examples/batch_jobs/temp_gpu_job.yaml rename to src/spikelab/batch_jobs/examples/temp_gpu_job.yaml