So this is a basic water treatment device. The Nanotech part is the Light Blue box off center to the left. In this box are membranes in an alternating fashion. Those membranes are coated with nano-particles that various institutions and Universities wish to test. Water of different salinities and salt contents flow through the device, they empty out into the different vessels and the membranes above are collecting the scaling, fouling or impurities. This is accomplished using Electro Dialysis Methasis. Typically, this procedure is done using Reverse Osmosis but EDM has the potential to recover above 95% as compared to 80% from RO’s.

My big surprise this summer is all the physical labor involved with this device…

6/28/2019

93.61513237847223
92.6736013454861
92.66158420138889
93.16067816840278
93.311708984375
93.57110568576388
93.79672960069445
94.00686848958334
94.18939995659723
94.21079427083333
94.25364691840278
94.28188259548611
94.28579535590278
94.30297092013889
94.31106662326388
94.3105295138889
94.30422634548611
94.30146484375
94.32260416666666
94.317275390625
94.32565104166666
94.32002061631944
94.41584309895833
94.43255750868056
94.42482313368056
94.4467306857639
94.45915690104167
94.4488671875
94.45965277777778
94.46415473090278
94.48791666666666
94.526435546875
94.54546115451389
94.55630967881945
94.56560980902778
94.57635633680556
94.61157660590278
94.60164171006944
94.62519856770834
94.63503146701389
94.65942708333333
94.66587999131944
94.68810112847223
94.70179144965277
94.71834852430555
94.73978732638889
94.74839192708333
94.77376627604167
94.81690538194445
94.82761067708333
94.81329427083334
94.83230360243056
94.86894205729166
94.91559461805555
94.90693793402778
94.86734917534723
94.8779123263889
94.91293836805555
94.930673828125
94.898076171875
94.88267035590277
94.82596896701389
94.84078342013889
94.86383138020834
94.85963975694445
94.81828667534722
94.82150065104166
94.82744791666667
94.83147135416667
94.82959309895833
94.79303602430555
94.75970269097222
94.731904296875
94.76018880208333
94.77758680555556
94.73855143229167
94.72748697916667
94.71240559895833
94.72356770833333
94.72170355902777
94.703701171875
94.68643663194445
94.68707248263888
94.65779188368056
94.64919813368056
94.60930881076389
94.58927842881944
94.5459450954861
94.51388671875
94.50828016493055
94.50000217013888
94.483271484375
94.45150282118055
94.429248046875
94.44008029513888
94.48315212673612
94.47530598958333
94.47603407118055
94.45014973958334
94.47159830729167
94.50386827256945
94.5225
94.49535047743055
94.46498589409723
94.49143988715278
94.49802083333333
94.504326171875
94.53267903645833
89.84617838541666
75.71196614583333
75.64958875868055
71.85558919270834
58.104190538194445
40.49263563368056
40.19178819444444
38.835283203125
38.63018771701389
38.525545789930554
38.068324652777775
38.329264322916664
37.49686197916667
37.493014322916665
36.93891384548611
33.303766276041664
33.26341037326389
33.12715386284722
32.65375434027778
32.53321723090278
31.692284071180556
29.508731553819445
29.538901909722224
29.088977864583335
29.142407769097222
28.85542209201389
28.55917751736111
28.72118381076389
28.22336154513889
28.406751302083332
27.715291883680557
27.126201171875
25.844449869791667
25.220616319444446
25.238883463541665
24.702604166666667
24.695317925347222
23.90293511284722
22.271047092013887
21.06313259548611
20.311837022569446
19.203125
19.106958550347223
19.136748046875
18.592900390625
18.554862196180554
18.028331163194444
17.40972113715278
17.365793185763888
17.260840928819444
17.286889105902777
17.136221788194444
17.271866319444445
17.187918836805554
17.15092013888889
17.100628255208335
16.849790581597222
17.718352864583334
17.556001519097222
17.65969943576389
17.918373480902776
18.07611111111111
17.955858289930557
17.942787543402776
18.113184678819444
18.008313802083332
18.01099392361111
18.025948350694446
18.03298828125
17.99446506076389
18.0285546875
17.952037760416665
17.92032009548611
17.862692057291667
18.00279513888889
17.965889756944446
17.90709201388889
17.90709201388889
17.873917100694445
17.8370703125
17.74284396701389
17.812273220486112
17.836280381944444
17.777440321180556
17.899506293402776
17.862555338541668
17.86951931423611
17.721231553819443
17.738589409722223
17.738589409722223
17.896932508680557
17.773427734375
17.83104058159722
17.571904296875
17.616402994791667
17.447061631944443
17.557444661458334
17.543785807291666
17.42241753472222
17.348758680555555
17.348758680555555
17.572553168402777
17.348399522569444
17.36298285590278
17.324073350694444
17.219385850694444
17.271752387152777
17.27613823784722
17.29513997395833
17.312930772569445
17.346707899305557
17.29259548611111
17.29259548611111
17.222887369791668
17.323862847222223
17.35053927951389
17.23334201388889
17.241145833333334
17.282064887152778
17.19486328125
17.236363932291667
17.288955078125
17.26435546875
17.26435546875
17.197398003472223
17.346328125
17.18206705729167
17.176172960069444
17.178758680555557
17.154600694444444
17.186946614583334
17.29343098958333
17.049772135416667
17.293776041666668
17.216722005208332
17.216722005208332
17.13913302951389
17.145570746527778
17.091194661458335
17.18294162326389
17.066106770833333
17.148670789930556
17.19080837673611
17.032052951388888
17.243948567708333
17.178953993055554
17.178953993055554
17.156891276041666
17.11088107638889
17.206575520833333
16.93080512152778
14.78451171875
14.527870008680555
14.147158203125
14.05303927951389
14.01384548611111
13.97902126736111
14.058012152777778
14.012490234375
13.939572482638889
13.909890407986111
14.043618706597222
13.851430121527779
13.95293185763889
13.76707248263889
13.916809895833333
13.869112413194445
13.775394965277778
13.622705078125
13.595110677083333
13.698542751736111
13.516082899305555
13.554641927083333
13.42287868923611
13.5566015625
13.572261284722222
13.664686414930555
13.677746310763888
13.487517361111111
13.606282552083334
13.535666232638889
13.472800564236111
13.569957682291667
13.588845486111111
13.61615993923611
13.623480902777779
13.509638671875
7.003595920138889
6.741706814236111
6.762813585069445
6.8048318142361115
6.827612847222222
6.826782769097222
6.861854383680556
6.809372829861111
6.869041883680556
6.775173611111111
6.7924186197916665
6.759951171875
6.780305989583334
6.809155815972222
6.810642361111111
6.7767936197916665
6.735354817708333
6.735354817708333
6.726791449652778
6.764029947916667
6.808598090277778
6.761600477430555
6.748815104166667
6.803587239583333
6.794307725694445
6.7534765625
6.786652560763889
6.811881510416667
6.811881510416667
6.789069010416667
6.787093098958334
6.7728884548611115
6.832805989583333
6.802077907986111
6.760567491319445
6.786588541666666
6.774159071180556
6.779365234375
6.735472005208333
6.81388671875
6.81388671875
6.729130859375
6.782101779513889
6.722075737847222
6.741790364583333
6.807501085069444
6.724289279513889
6.75875
6.754810112847222
6.808330078125
6.758511284722222
6.758511284722222
6.805416666666667
6.783849826388889
6.734710286458333
6.761014539930556
6.75
6.808213975694445
6.708283420138889
6.740006510416666
6.797888454861111
6.767622612847222
6.771115451388889
6.7752061631944445
6.802547743055555
6.763415798611111
6.849713541666667
6.801759982638889
6.8242393663194445
6.753900824652778
6.825831163194445
6.854329427083333
6.7976171875
6.818521050347222
6.797094184027777
6.8290418836805555
6.857095269097222
6.745241970486111
6.331017795138889
5.491368272569445
5.304815538194444
5.033844401041667
5.023777126736111
4.342870008680555
3.038517795138889
2.9744932725694446
2.953921440972222
3.021552734375
3.0050477430555556
2.947087673611111
2.959175347222222
3.0346809895833333
3.7735308159722223
4.669888237847222
5.318659939236111
5.815239800347222
6.039990234375
6.215377604166667
6.607056206597222
6.761979166666666
6.910715060763889
6.855620659722222
6.893286675347222
6.88603515625
6.795187717013889
6.901649305555556
6.891114366319444
6.867608506944444
6.849208984375
6.893508029513889
6.88568359375
6.8312782118055555
6.81107421875
6.844259982638889
6.8705056423611115
6.8741254340277775
6.823875868055556
6.787569444444444
6.728541666666667
6.727495659722222
6.757256944444444
6.742201605902777
6.812557508680555
6.778560112847222
6.778426649305556
6.815304904513889
6.822708333333333
6.749070095486111
6.774710286458333
6.922698567708333
6.835442708333333
6.851814236111111
6.836761067708333
6.865871310763889
6.823814019097222
6.824344618055555
6.830619574652777
6.810562065972222
6.841624348958334
6.895888671875

This numbers look meaninless but it can put smile on my face. 

This numbers can be converted to human pulse hopfully soon. This numbers are indacting the change of my faces color. With good calculation I can change them in pulses

Twitter Chronicles!!

Hey Guys these last few weeks have been nothing far from eventful. I think most of you would agree how emotional Research life could be from Meetings, Lab time, Abstracts, Field trips etc. Below I placed a few snips of how I have documented a few of my moments on twitter! Kool fact- my PI Dr Michael Wong Followed me and commented on one of my post. If you are on twitter follow me @mprosperscience

Weeks 2 and 3: All GUI’d up

MAKING A GUI IS HARD!

I was away last week but was still working on Python. This week I managed to get a graphical user interface working that showed both the output from the camera as a signal but also from a pulse sensor as well.

Here is my short script to actually measure the frame rate of the webcam. My Macbook Air does 30 fps which is very common.

I spend the majority of the week learning to work with GUI elements in Python. This means windows, buttons, images, and general stuff where a program runs in a window instead of in the terminal. I had to learn how to add plots, and scale, and “listen” for events like a mouse click. In Python this is called signals and having a python program act on a signal is done with a slot. You create a program component (a function) to respond when a signal is given.

Here is an animated GIF showing a comparison of the signals from the camera versus a finger pulse sensor. The top window is the raw camera feed. Note my finger is covering the camera fully here. I have yet to get the peak detection to work very well.

First iteration: got the camera signal and image to display in a GUI.

Second iteration: got the camera signal and the

I also added Butterworth bandpass filtering to the signal which seems to need my signal to noise ratio to improve. And I am using HeartPy to find the peaks in the signal. Both processes worked to some degree but the whole system is so environment dependent that I can’t say it is in beta… more like alpha version. But progress is progress.

I also wrote code to save the streams of data as CSV files which can be processed as a whole after the fact.

I want to add some other stuff to the GUI like buttons to start and stop and the readings from the pulse sensor and the camera. Plus signal analysis using a fast Fourier transform is going to be hard.

 

Success But The Struggle Is Still Real!! Week 3 PATH-UPS 2019

My goal for this week was to use the webcam to track the face and locate a region of interest (ROI) and then use that ROI to measure the heart rate (HR). These things were done with success, but I still have a few bugs/kinks to work out. Check out my and pics below:

Video 1: Face  and ROI Tracking with motion

Video 2: Face and ROI Tracking Static

Video 3: Heart Rate Detection using Webcam

 

rPPG Output using ambient lighting inside. The top graph (wave) is the raw signal. The bottom graph (wave) is power spectral density curve when the peaks represents the actual heart beat .

Video 4: Using Pulse Ox to compare webcam HR

I was trying the program using natural lighting outside. However,  yesterday (6/28/19) when I tried to run the program again using an additional green light source, the program kept freezing and wouldn’t take the HR. I will have to debug the code and try to figure out the issue.

Attempting to run the program again using additional light source

I’ve also set up a meeting for this weekend with my friend Doug to help me learn how to build an app since I have no experience building an app.

Stiff Upper Lip- week 3

I wanted to start off by mentioning that this has been a TOUGH week. I almost named my blog post this week ” Hard Knock Life!”, but I decided to focus on the positive aspect instead.

Monday and Tuesday

Crashing and burning, through the first two days. I had problems download two particular libraries- “matplotlib” and “scify”. I had to resort to using command prompt-I was very uncomfortable using it. After spending two days, just jumping from one video to another trying to find why my libraries were not working, I brought in my own laptop. No luck with that either.

Success!!!

Wednesday morning, I got some external help and finally got my libraries up and running in Sublime Text.  I spend the next two days trying to draw a rectangle, slicing the array from the rectangle to collect data for skin color changes in the forehead area.

How to add, average and collect data?

On Friday, I successfully got the data. Next, I need to check if I’m slicing it correctly. I need to store this data in a list. Then, graph it using matplotlib. I’ll be spending some time learning about matplotlib today. I’m somewhat content that I managed to collect data at least, considering how I started the week.

I’ll be attaching videos from my progress, even some that might be really simple- stuff I programmed in Week 1. Just to show how far I’ve come in my journey.

face_detection

color_tracking

finalcode_sofar

Week Three Update

 

Hi RET Mad Scientists,

This week I worked with my mentor and performed my project with taking bacteria, adding  fluorphore adding to it to indenting peptidoglycan tagging the L amino acids in it.  Its finished,  and we are now going to ship the product and control to Sweden so they can let us know if it worked or not,  Super excited about that.  Hopefully, they will give us the results before the poster project is due.  I enjoyed sharing my lab with y’all this morning and hope you have a great rest of the day.

Cheers,

Robert

Week 3 – Experimental Data Collection

My project is to help characterize the mechanical properties of my mentor’s peptide hydrogels after incubating in the media. Last week, we prepared a cell culture plate with hydrogels for 3, 5, 7, 10 and 12 days post-incubation. The hydrogels are incubating in media and are retrieved each day listed. I am using the Rheometer to determine the Storage Modulus (G’) and Loss Modulus (G”)  I am also collecting the media to determine the pH.  So… I am preparing “lots” of Excel graphs and data tables.

Le Sigh…..

Once again the science gods have struck against me. My mentor and I were trying the membrane distillation system to grow crystals on the membranes; BUT when I got here this morning our feed solution container was empty and all over the floor. A piece of tubing came undone and it simply pumped the solution all over the floor. After cleaning it up I put the tubing back in, made another solution and came to the office. When I went back in (about 10 minutes) the tubing had popped off again and my solution was all over the floor again. I cleaned the floor, shoved the tubing in even harder and made another solution. I then went to the restroom and came back and once again my solution was all over the floor. I figured by now my readings were useless. I went ahead cleaned the floor and shut off the machine. I went and got coffee and am trying to figure out what to do now. I ran into the RET-U that is also using the machine as he is suppose to use it today at noon. I warned him of the problem and told him that I loosed the bracket holding the tubing together shoved the tubing pieces together and tightened it but have no idea if that is going to work.  My mentor has a doctor appointment so hopefully after the lab tours today we can check if we got any crystal growth before the incidents occurred. Hope everyone else is more successful in their experiments!

K-12 Educators Disseminating Research from Rice University, Arizona State University, and University of Texas-El Paso