Skip to content

Commit 7ca1381

Browse files
committed
2 parents cfebf5e + f017c50 commit 7ca1381

File tree

3 files changed

+15
-20
lines changed

3 files changed

+15
-20
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "PhysiologyPlotting"
22
uuid = "d5a2a81f-3167-4eb5-8f67-b1ebe6a4430d"
33
authors = ["Matthew Tarchick"]
4-
version = "0.1.16"
4+
version = "0.1.17"
55

66
[deps]
77
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"

test/Manifest.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is machine-generated - editing it directly is not advised
22

3-
julia_version = "1.11.1"
3+
julia_version = "1.11.3"
44
manifest_format = "2.0"
55
project_hash = "f5de69a5cc361b7b80dcc95b68ffcc7a9f1a3eae"
66

@@ -431,9 +431,9 @@ version = "1.15.1"
431431

432432
[[deps.DifferentiationInterface]]
433433
deps = ["ADTypes", "LinearAlgebra"]
434-
git-tree-sha1 = "aa87a743e3778d35a950b76fbd2ae64f810a2bb3"
434+
git-tree-sha1 = "8b9f605f582f633eeb9c3ec14effaed2dca6ef5c"
435435
uuid = "a0c0ee7d-e4b9-4e03-894e-1c5f64a51d63"
436-
version = "0.6.52"
436+
version = "0.6.53"
437437

438438
[deps.DifferentiationInterface.extensions]
439439
DifferentiationInterfaceChainRulesCoreExt = "ChainRulesCore"
@@ -2262,9 +2262,9 @@ version = "2.0.3+0"
22622262

22632263
[[deps.libpng_jll]]
22642264
deps = ["Artifacts", "JLLWrappers", "Libdl", "Zlib_jll"]
2265-
git-tree-sha1 = "068dfe202b0a05b8332f1e8e6b4080684b9c7700"
2265+
git-tree-sha1 = "002748401f7b520273e2b506f61cab95d4701ccf"
22662266
uuid = "b53b4c65-9356-5827-b1ea-8c7a1a84506f"
2267-
version = "1.6.47+0"
2267+
version = "1.6.48+0"
22682268

22692269
[[deps.libsixel_jll]]
22702270
deps = ["Artifacts", "JLLWrappers", "JpegTurbo_jll", "Libdl", "libpng_jll"]

test/revision.jl

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,21 @@ using PhysiologyAnalysis
1111

1212
# ╔═╡This task is for extraction of points, centroids, and ROIs using cellpose
1313
#Kpuff looks really good
14-
15-
# #We should look through the available files and see which ones fit
16-
# img_fn = raw"F:\Data\Two Photon\2025-05-02-GRAB-DA-nirCAT-STR\grab-nircat-str-20hz-100uA001.tif"
17-
# stim_fn = raw"F:\Data\Patching\2025-05-02-GRAB-DA-STR\25502000.abf"
18-
19-
#Good but a big bubble
20-
# img_fn = raw"F:\Data\Two Photon\2025-05-02-GRAB-DA-nirCAT-STR\grab-nircat-str-3s_20hz_30uA_3x006.tif"
21-
# stim_fn = raw"F:\Data\Patching\2025-05-02-GRAB-DA-STR\25502007.abf"
22-
2314
img_fn = raw"F:\Data\Two Photon\2025-05-02-GRAB-DA-nirCAT-STR\grab-nircat-str-kpuff011.tif"
2415
stim_fn = raw"F:\Data\Patching\2025-05-02-GRAB-DA-STR\25502015.abf"
2516

26-
#%%
2717
img_fn = raw"F:\Data\Two Photon\2025-05-02-GRAB-DA-nirCAT-STR\grab-nircat-str-kpuff_3x012.tif"
2818
stim_fn = raw"F:\Data\Patching\2025-05-02-GRAB-DA-STR\25502017.abf"
2919

20+
#%%
21+
#Electrical Stimulus
22+
img_fn = raw"H:\Data\Two Photon\2025-03-05-GRAB-DA-STRIATUM\grab-da_b4_str_stim500uA_3x_NOMF046.tif"
23+
stim_fn = raw"H:\Data\Patching\2025-03-26-GRAB-DA_STR\25326050.abf"
24+
3025
data2P = readImage(img_fn);
3126
deinterleave!(data2P) #This seperates the movies into two seperate movies
3227

33-
spike_train = false
28+
spike_train = true
3429
if spike_train
3530
#If we have a electrical stimulus we need to do the spike train analysis
3631
addStimulus!(data2P, stim_fn, "IN 3", flatten_episodic = true, stimulus_threshold = 0.5)
@@ -76,11 +71,11 @@ fig_raw = PhysiologyPlotting.plot_analysis(data2P)
7671

7772
#%%
7873
# Save the raw analysis figure
79-
save(raw"F:\Data\Analysis\StriatumAnalysis\Potassium Puffs\fig_raw.png", fig_raw)
74+
save(raw"H:\Data\Analysis\fig_raw_striatum_elec.png", fig_raw)
8075

8176
#%%
8277
fig = plot_roi_analysis(data2P, stim_idx = 2)
8378
display(fig)
79+
save(raw"H:\Data\Analysis\fig_roi_analysis_striatum_elec.png", fig)
8480

85-
# Save the ROI analysis figure
86-
save(raw"F:\Data\Analysis\StriatumAnalysis\Potassium Puffs\fig_roi_analysis.png", fig)
81+
# Save the ROI analysis figure

0 commit comments

Comments
 (0)