Git Product home page Git Product logo

ppg2abp's Introduction

Hi there 👋, my No.Visitor Count vistor!

About Me

  • I'm currently a CS PhD Student at Purdue University.
  • I received my BSc (EEE) and MSc (CSE) degree from Bangladesh University of Engineering and Technology.
  • My interests include Computer Vision, Biomedical Image and Signal Processing, Bioinformatics
  • Feel free to contact me: [email protected]

🛠  Tech Stack

Python  JavaScript  Java  C  C++  R (Statistics)
React  Node.js  Django  Flask  Bootstrap
HTML  CSS  Git  GitHub  Markdown
Visual Studio Code  RStudio  Eclipse

⚙️  GitHub Analytics

ppg2abp's People

Contributors

nibtehaz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ppg2abp's Issues

Fast Extraction Method

FROM
` for i in tqdm(range(len(f[ky])), desc='Reading Records'): # reading the records

        signal = []  # ppg signal
        bp = []  # abp signal

        output_str = '10s,SBP,DBP\n'  # starting text for a new csv file

        for j in tqdm(range(len(f[f[ky][i][0]])),
                      desc='Reading Samples from Record {}/3000'.format(i + 1)):  # reading samples from records

            signal.append(f[f[ky][i][0]][j][0])  # ppg signal
            bp.append(f[f[ky][i][0]][j][1])  # abp signal`

TO

`dir_output='processed_data'
for mat_path in glob("data_uci/*.mat"):
table_name=(os.path.basename(mat_path).replace(".mat",''))
print(table_name)

with h5py.File(mat_path, 'r') as f:
    for i in tqdm(range(len(f[table_name])), desc='Reading Records'):  # reading the records
        des_ref = f[table_name][i][0]  # 3000 records
        list_hdf5record = f[des_ref][[*range(len(f[des_ref]))]]
        df_raw = pd.DataFrame(list_hdf5record, columns=['PPG', 'ABP', 'X'])
        df_raw.to_csv(os.path.join(dir_output,'%s_record_%s.csv')%(os.path.basename(mat_path),i))

`
This can boost the speed of extraction.

max and min?

So given a new set of data where you do not know the ground truth and therefore cant have a meta file with max and min values for the ABP signal, what can you then do?

abp_signal_pred_approximate = Y_test_pred_approximate[indix] * max_abp + min_abp # abp waveform approx.

denormalization method

Hi, thanks for the well written code. I have an issue with normalization and denormalization, it seems that min-max normalization is used to normalize the data in data_handling.py. However, when it comes to denormalization, the algorithm only multiplies by max_value then plus min_value, shouldn't it be multiply by (max_value - min_value) + min_value? Thanks :).

How can we give raw PPG signal as input to your code?

Hi Nabil Ibtehaz,

I went through your paper, it's really cool.

I have a query for you that how can a raw PPG signal be given as input to your evaluate/predict code as you used already processed code by someone?

Does it work if a raw PPG signal is given as input or it needs to be preprocessed PPG as input? If it does not work with raw signals, what are the preprocessing steps need to perform on the raw signal to give as input to evaluate?

Thanks in advance,
NPK

Preprocessing from Kachuee's paper

Hi!

I downloaded the dataset from UCI repository but I found the dataset was not using wavelet decomposition( Kachuee's 2017 paper) as you mentioned in your PPG2ABP paper, actually,it was using Kachuee's 2015 preprocessing method. Do you have Kachuee's 2017 dataset?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.