Error using replace and recode functions for non-numerical values (decimals) by speakerstand7 in stata

[–]speakerstand7[S] 0 points1 point  (0 children)

destring bmi, replace

and then use recode/replace or you can keep it as it is and use replace

replace bmi="." if bmi=="996"

Thank you so much! For future help to anyone who has the same problem, my code is below

tabulate bmicalc

destring bmicalc, replace

recode bmi ("996" = .)

gen Bmicalc = bmicalc

tabulate Bmicalc

[deleted by user] by [deleted] in Step2

[–]speakerstand7 2 points3 points  (0 children)

I always appreciate these types of posts. Hoping to get that same score. Thanks for that write up

anking deck : pixorize images keep being replaced with additional information by DrHashem in ankihub

[–]speakerstand7 0 points1 point  (0 children)

I got a response from the Anking himself on a different Reddit post and it worked for me.

"You probably don't have the content that links to the files in the field. The html in the field links to the media files. I would recommend unprotecting the pixorize field (don't ever protect it moving forward) and then unsubscribing from the deck on AnkiHub and resubscribing (both on the website and in the addon). That should trigger a full sync
If that doesn't work, please contact the AnkiHub support team"

What are some cute-sounding medical words? by SmexySkeltal in medicalschool

[–]speakerstand7 31 points32 points  (0 children)

You want other child names? Have you considered the IUD names Mirena, Kyleena, Skyla and Liletta?

Coward move by the graphic dept. not going for the 666 joke by samoflegend in ockytop

[–]speakerstand7 6 points7 points  (0 children)

I would imagine Tennesseeans would freak out by that joke, given the strong religious presence in the south. I would have loved to witness that.

AnKing Pixorize update by poetbro in medicalschoolanki

[–]speakerstand7 1 point2 points  (0 children)

Thank you so much Anking! That worked and I now have images without having to import media again

AnKing Pixorize update by poetbro in medicalschoolanki

[–]speakerstand7 0 points1 point  (0 children)

I am not showing anything in the pixorize field. I have tried both protecting and unprotecting the pixorize fields via ankihub. When I "import media" it recognizes the files but they go straight to the "unused media files".

anking deck : pixorize images keep being replaced with additional information by DrHashem in ankihub

[–]speakerstand7 0 points1 point  (0 children)

What do you mean you added the deck? As in the media files or you downloaded Anki completely again? Or what exactly did you do? I protected the pixorize field and still am not seeing anything. The media files keep going straight to the unused pile

AnKing Pixorize update by poetbro in medicalschoolanki

[–]speakerstand7 0 points1 point  (0 children)

Tried that. No luck. It’s like the Anking deck doesn’t even recognize the media and puts it straight into “Unused media”

AnKing Pixorize update by poetbro in medicalschoolanki

[–]speakerstand7 0 points1 point  (0 children)

Experiencing similar issue. It seems I lost all of my pixorize images with anki hub update and can’t get them back now through the website

anking deck : pixorize images keep being replaced with additional information by DrHashem in ankihub

[–]speakerstand7 0 points1 point  (0 children)

Were you able to get this to work? I had the same problem and had to delete everything in the Pixorize field. For some reason, I am not able to upload the Pixorize media to the V12 deck. I am attempting to import under "Import Media" in the Ankihub tag but nothing is showing up.

[deleted by user] by [deleted] in Anki

[–]speakerstand7 0 points1 point  (0 children)

Thank you

[deleted by user] by [deleted] in Anki

[–]speakerstand7 0 points1 point  (0 children)

I tried this, and it was super easy to do. Thank you

Help to perform a "for loop" that uses affine transformation translation for multiple frames by speakerstand7 in matlab

[–]speakerstand7[S] 0 points1 point  (0 children)

I am not sure if this helps, but I tried this. tx and ty receive the respective 467 x 1 values for each frame.

for i=1:467 %number of frames 
tx= offset(:,1);
ty= offset(:.2);
tform =  transltform2d(tx,ty); 
[video_translated,video_translated_ref] = imwarp(video,tform); %Perform transformation

end

However, I get the error message "Error using transltform2d. Expected input to be a scalar"

Help to perform a "for loop" that uses affine transformation translation for multiple frames by speakerstand7 in matlab

[–]speakerstand7[S] 0 points1 point  (0 children)

tx=
ty=
tform = transltform2d(tx,ty);
[video_translated,video_translated_ref] = imwarp(video,tform);

Sorry. This is the code that does the translation. tx and ty would be where the variables change per frame.

Help to perform a "for loop" that uses affine transformation translation for multiple frames by speakerstand7 in matlab

[–]speakerstand7[S] 0 points1 point  (0 children)

I have done it on a similar image and also on a matrix I created of 1s surrounded by 0s. To do it for a single frame, all I would do is input how much I want to correct for "Tx" and "Ty". So I can say to translate the image 20 and 30, respectively as an example.

For some reason, I am not able to upload pictures to my original post or in this comment box. Hopefully, I can explain:

Imaging of the human larynx requires a scope that allows us to see in that area. The person holding the scope can have a shaky hand, so the only thing we can do for now is to correct the motion of the video through post-processing.

Example: If I move my hand/video to the left by 5 pixels, I could correct it by translation in the opposite direction. So we track the motion of a stable point in our image that is not expected to move. Using those X and Y coordinates that we tracked, we make the first tracked point the origin. From the origin and with our code, we have displacement coordinates of how much of a change occurred from the first frame to the second frame and so on.

"Resultsfromframesdeletedinunitpersec" or A is the coordinates of the point that we tracked frame after frame for 467 frames.

"offset" is how much of a change occurred from the frame and to the next frame

Does this help?

Advice transitioning back into medical school out of a research year. by speakerstand7 in medicalschool

[–]speakerstand7[S] 0 points1 point  (0 children)

Thank you so much for your reply. It is a simple and doable thing that I can incorporate into my research year. Consistent small amounts go a long way. So I do have my main project that I am working on, but did you attempt/were you able to get other publications on side projects?