合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

        代寫 CMU 18-879、代做 Python 編程語言
        代寫 CMU 18-879、代做 Python 編程語言

        時間:2025-02-01  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



        Instructions
        CMU 18-879: Homework 1
        Please read the following instructions carefully before attempting the problems:
        • Submission Deadline: January 30, 2025, by 11:59 PM.
        • Allowed Resources: Lecture slides and class notes. Online resources are allowed only if they are directly related to the course material and should be properly cited and declared in your submission. Please ask the instructors if you are not sure whether the resources can be used. You are not allowed to use ChatGPT or other AI-based tools for the homework.
        • Submitting Your Work: Please submit your homework solutions to Grade- scope. All code written must be submitted to receive credits. Please organize your code clearly and provide instructions on how to run your code, since the course staff will manually grade your submissions.
        • Collaborative Work: Collaboration is allowed; however, each student must submit an individual report detailing their own work and understanding of the problems. Please declare any assistance received, including discussions with others about the homework problems or the use of any online materials in your submissions.
        • Late Submissions: Each student will be granted 6 late days in total, with a maximum of 2 late days allowed per homework.
        1

        18-879 Homework 1 1. Extracellular Stimulation of a Single Neuron
        In the first part of the homework, you will gain hands-on experience working with a simulator for extra-cellular neural stimulation used in [1]. The handout includes the code to generate the membrane potential of a single excitatory or inhibitory neuron under the stimulation of a point electrode. For the simulation of a single neuron, you should be able to run the program on your local computer. The simulator employs the realistic morphologies and dynamics of excitatory pyramidal (Pyr) and inhibitory parvalbumin (PV) neurons.
        This code forms the first testbed for this course, i.e., a simulator on which you can experiment by supplying input current and examining responses.
        Running the Code Follow the README file in the simulation folder to install required packages. To perform a simulation, you should call the following function as in starter.py:
             membrane_potential,t = pointElec_sim(num_electrode, amplitude,
             pulse_width, period, total_time, cell_type, plot_neuron_with_electrodes)
        • num electrode: The number of electrodes surrounding the neuron,
        • amplitude: The amplitude of the square wave (in μA),
        • pulse width: The duration of the pulse (in ms),
        • period: The period of the signal (in ms),
        • total time: The total length of the signal (in ms),
        • cell type: The type of neuron being stimulated (‘Pyr’ or ‘PV’).
        • plot neuron with electrodes: Set to True to visualize the neuron morphol- ogy and electrode locations.
        • membrane potential: An ndarray of membrane potential (num electrode × num time points), in mV .
        • t: The time array (in ms).
        You can visualize the morphology of the neurons and the locations of the elec- trodes when you run the code. For this homework, the neuron ID of pyramidal and PV neurons were hardcoded to be 6 and 36 respectively. Please feel free to explore different cell morphologies from cell id pyr lst and cell id PV lst.
        2
         
        18-879 Homework 1
         Problem 1. Time-series Analysis: Spike Detection and Firing Rate For this problem, set num electrode = 1, amplitude = 300, pulse width = 50, period = 100, total time = 400. (1) Plot the membrane potential over time. (2) Use the SciPy find peaks function with prominence = 40 to detect spikes. The prominence measures how much a signal stands out from the surrounding baseline. Calculate the firing rate (number of spikes per second). Plot the firing rate over the stimulation duration. Feel free to choose a bin size that you find appropriate. A total of 4 plots (2 plots for each neuron) should be submitted.
        Problem 2. Effects of Pulse Width on Neural Response. In this task, we will modify the waveform of current injection and analyze how the neural responses change for both the pyramidal and PV neuron. For a stimulation amplitude of 300μA, modify the pulse width of the square wave input (pulse width ∈ [20, 50, 80]). (1) Plot the membrane potentials. (2) Plot the firing rate. Describe any qualitative observations. 12 plots (2 neurons × 3 pulse widths × 2 metric) should be submitted.
        Problem 3. Effects of Stimulation Amplitude on Neural Response. The strength-duration curve describes electrode threshold current as function of stimulus pulse duration. For pulse width ∈ [10, 20, 30, 40, 50, 60, 70, 80, 90, 100], calculate the corresponding minimum amplitude Amin of the square pulse that elicits a spike. You can set total time = 100, period = 100. Feel free to use any search methods (e.g. binary search) to find Amin. Plot the strength duration curve (x-axis: pulse width, y-axis: Amin).
        Problem 4. Effects of Direction of Stimulation. Set num electrode = 4 to perform individual stimulations, where each uses one electrode at a time. The 4 electrodes are positioned at different locations on a sphere centered at the neuron. Set amplitude=300, pulse width=50, period=100, total time = 400. Plot the mem- brane potential for the 4 electrodes for both neurons. Please comment on the sen- sitivity of the neural responses to the direction of stimulation. A total of 8 plots should be submitted.
        3

        18-879 Homework 1 2. Exploring a nonlinear dynamical system
        Problem 5. Consider the following two-dimensional dynamical system:
        dx =αx−y−αx(x2 +y2) dt
        dy =x+αy−αy(x2 +y2). dt
        The system exhibits an interesting phenomenon called the “limit cycle”. In partic- ular, it has a trajectory where the state (x,y) repeats itself after some fixed time interval.
        a) Demonstrate that this system has a limit cycle. Hint: you might need to convert x and y into polar coordinates.
        b) Find out if the limit cycle is an “attractor state” (i.e., it is stable and attracts nearby trajectories) or “repeller state” (i.e., it is unstable and drives nearby trajec- tories away).
         4

        18-879 Homework 1 References
        [1] Sara Caldas-Martinez et al. “Cell-specific effects of temporal interference stim- ulation on cortical function”. In: Communications Biology 7.1 (2024), p. 1076.

        請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp




         

        掃一掃在手機打開當前頁
      1. 上一篇:COP 3402 代做、代寫 c/c++,Python 程序
      2. 下一篇:指標代寫通達信【機構資金流向】資金類公式
      3. 無相關信息
        合肥生活資訊

        合肥圖文信息
        挖掘機濾芯提升發動機性能
        挖掘機濾芯提升發動機性能
        戴納斯帝壁掛爐全國售后服務電話24小時官網400(全國服務熱線)
        戴納斯帝壁掛爐全國售后服務電話24小時官網
        菲斯曼壁掛爐全國統一400售后維修服務電話24小時服務熱線
        菲斯曼壁掛爐全國統一400售后維修服務電話2
        美的熱水器售后服務技術咨詢電話全國24小時客服熱線
        美的熱水器售后服務技術咨詢電話全國24小時
        海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
        海信羅馬假日洗衣機亮相AWE 復古美學與現代
        合肥機場巴士4號線
        合肥機場巴士4號線
        合肥機場巴士3號線
        合肥機場巴士3號線
        合肥機場巴士2號線
        合肥機場巴士2號線
      4. 幣安app官網下載 短信驗證碼

        關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

        Copyright © 2024 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
        ICP備06013414號-3 公安備 42010502001045

        主站蜘蛛池模板: 人妻夜夜爽天天爽爽一区| 久久精品动漫一区二区三区| 无码精品人妻一区二区三区中| 国精产品一区一区三区MBA下载| 久久国产香蕉一区精品| 国产精品一区二区资源| 精品国产免费观看一区 | 人妻体内射精一区二区三四| 色一情一乱一伦一区二区三区| 日韩美一区二区三区| 国产精品视频分类一区| 亚洲综合色一区二区三区小说 | 国产伦精品一区二区三区四区 | 亚洲制服中文字幕第一区| 亚洲av区一区二区三| 国产在线一区二区三区| 无码精品人妻一区二区三区漫画 | 色噜噜狠狠一区二区三区果冻| 国产一区二区视频在线观看 | 亚洲一区二区三区高清不卡| 国产精品视频一区二区猎奇| 日韩精品一区二区三区色欲AV | 久久久久久免费一区二区三区| 一区二区三区伦理高清| 免费视频精品一区二区| 日本亚洲成高清一区二区三区| 在线精品动漫一区二区无广告 | 中文字幕一区二区三区有限公司| 一区二区三区视频免费观看| jazzjazz国产精品一区二区| 中文字幕日韩人妻不卡一区| 亚洲熟女一区二区三区| 亚洲av色香蕉一区二区三区蜜桃| 午夜无码视频一区二区三区| 一区二区免费电影| 久久精品国产亚洲一区二区| 在线中文字幕一区| 国内精品一区二区三区最新| 日韩精品一区二区三区在线观看| 久久影院亚洲一区| 免费无码毛片一区二区APP|