
I have a file that looks like this named “Data.cvs” where:
Each row represents a single pulse, recorded with a detector.
The first column is the timestamp of the pulse.
The remaining columns are detector readings taken at 0.5 nanosecond intervals.
The units are from an Analog to Digital Converter.
can someone please help me write code in PHYTHON that will solve the following questions.

Question 1 For this assignment, begin by loading the CSV file as a numpy array using the loadtxt(...) function, Load the file and print the content. Question 2 Convert the readings to voltages according to this formula: Voltage ( Volts )=( ADC Reading )/(2??10?1)?0.6 Question 3 1. Plot a single pulse (i.e. row of the CSV file). 2. Add axis labels and a title. 3. Display your figure in your notebook. Question 4 - Baseline Correction The pulses typically have a flat section at the beginning, which then drops and later returns to the original level - which we call the baseline. The baseline typically represents some noise level, so we will process our data to remove the baseline, in order to help us understand and visualize our data. 1. For each row/pulse: a) Find the mean (average) of the first 10 elements. b) Subtract this value from all values for that pulse. 2. Use a variable for the number of elements used for the mean. Question 5 Repeat Question 4, showing the values for a pulse with the baseline correction. Include this figure in your report. Question 6 The amplitude of the pulse is related to the maximum value of the detected signal voltage, and the number of values different from the baseline to the length of the signal. The total area enclosed by the pulse (after baseline correction) corresponds to the energy deposited in the detector. For each pulse, find the (baseline corrected) sensor reading maximum value, using numpy.min(). For each pulse, add up the (baseline corrected) sensor reading values, using numpy.sum(). Plot histogram of those values for all pulses, showing the distribution. Use matplotlib.pyplot.hist(...). Compare the two distributions. Discuss similarities or differences in