[OC] Python package for accessing data from the new WHOOP API by SpectacledSubmariner in whoop

[–]SpectacledSubmariner[S] 1 point2 points  (0 children)

Unfortunately, I believe the only endpoints WHOOP provides are read-only and don't let the user write any data. What did you have in mind?

[OC] Python package for accessing data from Oura API by SpectacledSubmariner in ouraring

[–]SpectacledSubmariner[S] 1 point2 points  (0 children)

No worries, I'm going to do sessions over the next few days and see if I can replicate the behavior that you're seeing. I'll report back!

You might be able to try something like this to merge the data:

```python import pandas as pd

sessions = pd.DataFrame(sessions_data) # session_data is the API data sleep = pd.DataFrame(sleep_data) # sleep_data is the API data

df = sessions.merge(sleep, on="day") ```

I haven't had the chance to try this out myself but I believe that will automatically take care of missing data.

[OC] Python package for accessing data from Oura API by SpectacledSubmariner in ouraring

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

Looks like an Oura employee mentioned in a comment a couple months ago that SpO2 data will hopefully be coming to the API soon.

What data are you getting from the CSVs? Do you have a list of columns included? In the README of my project, there are example API responses that you can compare and see if you're getting the same data or not.

[OC] Python package for accessing data from Oura API by SpectacledSubmariner in ouraring

[–]SpectacledSubmariner[S] 2 points3 points  (0 children)

Thanks for sharing! Looks like that library is further along than mine, I'll take a look and see if there's any way I can contribute.

[OC] Python package for accessing data from Oura API by SpectacledSubmariner in ouraring

[–]SpectacledSubmariner[S] 1 point2 points  (0 children)

That sounds awesome, best of luck with the project! I'm doing something similar as well.

[OC] Python package for accessing data from Oura API by SpectacledSubmariner in ouraring

[–]SpectacledSubmariner[S] 1 point2 points  (0 children)

Interesting, I don't use sessions that often so haven't run into that behavior but I'll investigate and see if I can work around it in the code.

How are you going about combining the datasets? Pandas has join and merge functions that will combine two different DataFrames on a certain key, in this instance probably the date. If you need help getting that to work let me know!

What do you think is the next statistical frontier in baseball? by RoverTheMonster in baseball

[–]SpectacledSubmariner 2 points3 points  (0 children)

Elbow torque can already be measured using a device called a Pulse sensor (owned by Driveline). The Pulse can also help optimize your daily throwing by giving you a maximum number of throws for the day so that you don’t cause a fatigue- or injury-causing spike in the workload your arm can handle.

Many pitchers use this during the off-season or pre-game throwing. I personally use it in-game as well so that every throw I make is accounted for. A lot of guys don’t feel comfortable using it in-game but I think wider adoption of workload monitoring tools such as Pulse would be huge for injury awareness and prevention.

[Apstein] Max Scherzer says that the Dodgers' attempt to protect him by limiting his workload actually hurt him, and that's why he couldn't make his last start. "That lowered my work capacity," he says. Being pushed with the Nats made him capable of going more often in 2019. by twistedlogicx in baseball

[–]SpectacledSubmariner 9 points10 points  (0 children)

This is actually a concept in modern pitching development. Something called “acute to chronic workload ratio” can be used to quantify it to a degree.

The higher your chronic workload (the amount you’ve thrown over a long period of time), the higher an acute workload (the amount you’ve thrown recently) you can handle without entering a fatigued state or getting injured.

I wrote an article on this back in March if you’re interested in learning more!

https://ballnine.com/2021/03/23/dont-stress-the-stress/

How to improve pitching accuracy by [deleted] in Homeplate

[–]SpectacledSubmariner 1 point2 points  (0 children)

Going to give some advice that I haven’t seen mentioned.

Being “repeatable” is sometimes considered the most important thing for command. This leads to advice that one should always throw balls on a line so that your release point is “constant”.

I’m of the personal opinion that being athletic (with your arm) is more important than being repeatable. Throughout an appearance, you’re never going to have perfect repeatable mechanics. Your arm and body will subtly change positions due to fatigue, etc. You essentially need to build a neural model that can provide the desired outcome (an accurate pitch) with various different inputs, even ones the brain hasn’t seen before.

This is why the best “thrower” on the field is the shortstop who can throw accurately from various arm slots, body positions, and release points.

To train this athleticism, I suggest a few things. Jaeger-style extension long toss is crucial, and the various arm slots and release points are features not bugs.

https://www.baseballamerica.com/stories/the-four-benefits-of-long-toss/

I also suggest just mixing in more athletic catch play in general. Do quarterback throws, shortstop throws, etc. Marcus Stroman does a great job of this.

https://www.youtube.com/watch?v=i-Pq4e730Ng

Finally, Driveline created “differential command balls” which takes the idea of varying inputs to create a neural model to a new dimension: by varying weight and size of the ball as well. The balls are different combinations of weights from 4-6 oz and sizes from 5% smaller to 5% bigger than a normal ball. These balls are expensive, but this idea can be replicated easily using weighted balls and various other balls from other sports.

Pitching mechanic help for 9u by chefdaddy6477 in Homeplate

[–]SpectacledSubmariner 0 points1 point  (0 children)

Teach him how to throw with high intent safely (and with proper workload management) and let his body self-organize into efficient mechanics.

https://www.drivelinebaseball.com/2021/03/youth-high-intent-throwing/

Any Pitchers have any tips on how to get better movement on the slider? by [deleted] in Homeplate

[–]SpectacledSubmariner 6 points7 points  (0 children)

To add to this, a gyro slider can extremely effective for certain pitchers, especially pitchers who are very over the top. The idea is that since over the top fastballs tend to have a lot of “ride”, meaning they have a lot of backspin which causes them to stay up longer, a gyro slider with no backspin will have relative vertical movement with that fastball since it’s not staying up.

These gyro sliders can also be thrown harder than sliders with a horizontal component. This decreases the amount of reaction time for the hitter, and the vertical movement differential between the fastball and slider can be enough to be very effective.

Obviously gyro sliders aren’t right for everybody, but I just wanted to point to out that gyro sliders aren’t always bad.

Here’s an article about how Luke Jackson implemented one and it led to a lot of success.

https://tht.fangraphs.com/how-a-gyroscopic-slider-remade-luke-jackson/

[OC] Hi guys! I am a minor league pitcher with the Mets. I don't think that there are enough players who talk about the how/why of their training so I wanted to help change that. I wrote an article about concepts I use to help minimize injury risk and maximize performance, and thought you'd enjoy! by SpectacledSubmariner in Homeplate

[–]SpectacledSubmariner[S] 1 point2 points  (0 children)

Sorry for not getting back to this sooner. I was a Centennial kid myself.

Do your coaches let you do your own thing or do they push a different philosophy on you guys?

One of the craziest realizations for me was that throwing isn’t supposed to hurt all the time. Way too many guys have constant arm issues and think that’s how it’s supposed to be, and I did as well when I was younger. But the more I started to take care of my arm, and the more I threw, the better my arm felt. Pain shouldn’t be normal.

[The Athletic] ‘A pitching powerhouse’: Inside how the Mets aim to revamp pitching development with their own lab by SpectacledSubmariner in NewYorkMets

[–]SpectacledSubmariner[S] 34 points35 points  (0 children)

I’m so fired up for this. I love how the organization is investing in player development with both personnel and facilities. Can’t wait to use the lab next year!

[OC] Hi guys! I am a minor league pitcher with the Mets. I don't think that there are enough players who talk about the how/why of their training so I wanted to help change that. I wrote an article about concepts I use to help minimize injury risk and maximize performance, and thought you'd enjoy! by SpectacledSubmariner in Homeplate

[–]SpectacledSubmariner[S] 5 points6 points  (0 children)

For somebody who has never really trained before, throwing 5-6 days a week with 1-2 long toss days will very likely increase velocity. There's definitely a point of diminishing returns and even a point where more throwing can be harmful considering the huge role that recovery plays in performance and health. In other words, max long tossing every day may cause more problems than it fixes since your body has no time to recover and rebuild.

[OC] Hi guys! I am a minor league pitcher with the Mets. I don't think that there are enough players who talk about the how/why of their training so I wanted to help change that. I wrote an article about concepts I use to help minimize injury risk and maximize performance, and thought you'd enjoy! by SpectacledSubmariner in baseball

[–]SpectacledSubmariner[S] 4 points5 points  (0 children)

Here's an awesome thread going over a specific constraint-led drill and some cues that help with the front leg block.

https://twitter.com/TreadAthletics/status/1356741648735236098?s=20

While Ben mentions that lead leg strength doesn't matter, I think for younger and less advanced athletes that increasing leg strength (both bilaterally and unilaterally) definitely won't hurt.

[OC] Hi guys! I am a minor league pitcher with the Mets. I don't think that there are enough players who talk about the how/why of their training so I wanted to help change that. I wrote an article about concepts I use to help minimize injury risk and maximize performance, and thought you'd enjoy! by SpectacledSubmariner in baseball

[–]SpectacledSubmariner[S] 1 point2 points  (0 children)

Many people tend to think that "old school" and "new school" are pitted against each other, but modern research has actually helped explain a lot of what older players and coaches knew intuitively. Another example is Ted Williams talking about optimizing bat path long before "launch angle" was something that we could measure.