Find Jobs
Hire Freelancers

Python flask application for calculating drug dosages and halflifes

$30-250 USD

Đang triển khai
Đã đăng vào gần 6 năm trước

$30-250 USD

Thanh toán khi bàn giao
I need a python application written in flask. Most of the logic and function sudo code is already written so this should be an easy one. See attached python file for more information. I'd like the flask application to allow adding of additional drugs and dosages in a database, along with graphing in something like plotly or similar. Function examples: def calc_peak_plasma_time(drug, last_dose_time): # Returns time that drug will reach peak plasma # If false, add peak plasma to future time return def calc_plasma_level(drug, last_dose_time, current_level): # returns plasma concentration. # Checks if at peak plasma # If not, checks amount at current_time level should be all # If no current_level, use last_dose via calc_halflife_level # If past, uses half life to determine level at X time return def calc_halflife_level(drug, dose, last_dose_time, target_time): # Read drug halflife # If bdo or if ghb statements (don’t need these, just read the halflife from the dict) # Divide in minutes the current halflife expected and calculate metabolism at target_time # Return expected level left unmetabolized # Add this amount to current_level return def calc_total_level(drug, dose, target_time, current_level): # runs calc_plasma_level and current_level against # adds the resultants together at the time indicated. return def calc_adjusted_bioavailability(dose, percentage): # reduce initial pre peak plasma by X amount return ''' Main logic Set drugs dict with bdo and ghb peak plasma and half lifes and bioavailability (usually route dependant) Create doses dict with drug, dose, timestamp Create a dict with drug, dose, time (X minute increments), plasma_level for drug (future feature, allow 2 stage conversions. For example, would involve using bdo + conversion time to figure out ghb conversion levels) For each dose, first, use first dose after peak plasma time adjusted with bioavailability to set current_level at next time, then for next dose, first calc total level after accounting for half life of '''
Mã dự án: 17084619

Về dự án

1 đề xuất
Dự án từ xa
Hoạt động 6 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
1 freelancer chào giá trung bình $250 USD cho công việc này
Avatar người dùng
I think Django might be a better alternative. If you have prospective that the application might glow more complete that we have currecntly
$250 USD trong 3 ngày
4,8 (33 nhận xét)
6,2
6,2

Về khách hàng

Cờ của UNITED STATES
Cupertino, United States
3,8
2
Phương thức thanh toán đã xác thực
Thành viên từ thg 4 28, 2018

Xác thực khách hàng

Các công việc khác từ khách hàng này

Build Unity based iOS dice sudoku game
$250-500 USD
Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.