PYTHON- interpolation with resampling. Then logan plot

Completed Posted 5 years ago Paid on delivery
Completed Paid on delivery

I need to plot a time-activity curve for measured data. The time intervals are irregular so i need to interpolate with resampling so that data is sampled every 15 seconds.

Cref (y axis) is the activity which has the following array array([ 0. , 348.983 , 4432.77 , 9858.942 , 13230.724 ,

14074.866 , 14132.535 , 14249.749 , 13858.398 , 13815.434 ,

13539.298 , 13265.524 , 12734.501 , 12104.913 , 11627.642 ,

11131.748 , 10537.024 , 10042.941 , 9556.233 , 9078.126 ,

8673.046 , 7992.1533, 7031.426 , 5940.104 , 4908.0713,

4149.585 , 3612.1482, 3221.2012, 3020.2327, 2825.3157,

2704.54 ], dtype=float32)

the time (x axis) in seconds has the following uneven time intervals: [15,

30,

45,

60,

90,

120,

150,

180,

210,

240,

270,

300,

360,

420,

480,

540,

600,

660,

720,

780,

840,

1020,

1200,

1500,

1800,

2100,

2400,

2700,

3000,

3300,

3600]

I need to resample so that data is sampled every 15 seconds.

Following this I have Ctarget which has the array:array([ 0. , 581.7311, 5851.433 , 10426.111 , 12422.851 ,

12678.066 , 12457.852 , 12037.824 , 12438.576 , 12301.788 ,

12192.244 , 11718.365 , 11949.461 , 11511.533 , 10947.356 ,

10409.294 , 10354.737 , 10048.753 , 9569.235 , 9538.16 ,

9049.866 , 8555.707 , 7780.894 , 7018.909 , 6101.6587,

5379.143 , 4870.8496, 4581.016 , 4058.3743, 3838.395 ,

3708.9106], dtype=float32)

It has the same issue where the time is in unequal intervals.

Once this is sorted I need to do a logan plot for these two regions (Cref and Ctarget)

The equation for this logan plot is a straight line- with the function given in the screenshot (requires an integration function where the limits are 0 to 3600). Need the gradient to be generated as a number after.

Data Processing Machine Learning (ML) Python Software Architecture

Project ID: #18866986

About the project

3 proposals Remote project Active 5 years ago

Awarded to:

RushService

Feel fee to contact me for interpolation with [login to view URL] me message to discuss further more details .We provide the comments,images,videos,demos and live sessions in order to help the [login to view URL] payment onl More

£50 GBP in 2 days
(55 Reviews)
6.0

3 freelancers are bidding on average £117 for this job

usmanhassan123

I have seen your details and requirements. I am mphill in computer science having seven years of experience in Python development with strong grip on machine learning. I am very interested in your project. I need s More

£150 GBP in 1 day
(22 Reviews)
5.2
shraboniadhikary

Hello there, I have reviewed your project requirements and understood your requirements as mentioned above. We are working here as team and have more then 5+ years of experience in this field. We have skills men More

£150 GBP in 3 days
(1 Review)
1.7