denmanlab
denman lab shared functions, scripts, and pipelines
Denman Lab University of Colorado Anschutz Medical Campus
examples:
from denmanlab import psth_and_raster as psth
unit=239
f,ax=plt.subplots(1,1)
psth.psth_line(times=df1[df1.index==unit].spike_times.values[0],
triggers=df_stim[(df_stim.stimulus=='luminance_flash') & (df_stim.optogenetics_LED_state == 0)].start_time.values,
ymax=40,binsize=0.05,axes=ax,color='#487697')
psth.psth_line(times=df1[df1.index==unit].spike_times.values[0],
triggers=df_stim[(df_stim.stimulus=='luminance_flash') & (df_stim.optogenetics_LED_state == 1)].start_time.values,
ymax=40,binsize=0.05,axes=ax,color='#ffaa
f,ax=plt.subplots(2,1)
psth.raster(times=df1[df1.index==unit].spike_times.values[0],
triggers=df_stim[(df_stim.stimulus=='luminance_flash') & (df_stim.optogenetics_LED_state == 0)].start_time.values,
axes=ax[0],color='#487697',timeDomain=True,post=1.5,ms=8)
psth.raster(times=df1[df1.index==unit].spike_times.values[0],
triggers=df_stim[(df_stim.stimulus=='luminance_flash') & (df_stim.optogenetics_LED_state == 1)].start_time.values,
axes=ax[1],color='#ffaa00',timeDomain=True,post=1.5,ms=8)
for ax_ in ax: ax_.set_xlim(-0.5,1.0)
plt.tight_layout()
from denmanlab import rf_analysis as rf
sta = rf.sta(spiketimes=df_units[df_units.index==unit].spike_times.values[0],
data=m.T,
datatimes=matrix_times,
taus = taus,
samplingRateInkHz=1)
rf.plotsta(sta,taus,colorrange=(np.min(sta['-0.01']),np.max(sta['-0.01'])),smooth=.6)
Metadata
Release files for denmanlab 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| denmanlab-1.0.1.tar.gz | 31.4 MB | Without provenance | Details for denmanlab-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| denmanlab-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for denmanlab-1.0.1-py3-none-any.whl |
Total release size: 66.5 MB
Release files / denmanlab-1.0.1.tar.gz
| Download URL | denmanlab-1.0.1.tar.gz |
|---|---|
| Size | 31.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b710d20873a482af22caa3e216867ca71167f6c5b4153b5bd01dcb7c3fe10f1d
|
|
BLAKE2b-256 checksum How to use checksums |
994005dd80624dea31f40ace40adb68c2f8ad7988e42cfa775cfa1211b57b169
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / denmanlab-1.0.1-py3-none-any.whl
| Download URL | denmanlab-1.0.1-py3-none-any.whl |
|---|---|
| Size | 35.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
78086add78a1461ad890ff7b09d09b51db4cb5a86f846db08cbe46e499a819f5
|
|
BLAKE2b-256 checksum How to use checksums |
cafdecda2db8d4d5b4a4cda722c97a1fd39072d54588b0416f395f4e5cc669e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for denmanlab 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.