[Tutor] Rate transition from 60hz to 1000hz

2016-05-10 Thread David Wolfe
Good Evening;

I'm collecting both video and force plate data, and I need to be able to
synchronize the two, so I can make some calculations.  The video data is at
60hz, and the force plate data is at 1000hz.  I don't want to truncate the
force plate data.

So, how do I perform a rate transition (or interpolation, or whatever) to
expand the data that is captured at 60hz to be able to synchronize it with
the data that has been captured at 1000hz?

Also, if I'm not using the correct terms, please let me know.  I'm new to
Python and programing, and I'm trying to learn as fast as i can.

Thanks,
David
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


[Tutor] Python dependencies in Anaconda

2016-10-11 Thread David Wolfe
Good Morning;

I'm working with a Python program that requires several dependencies
(Numpy, Matplotlib, and so on).  Normally I do all my programing through
Anaconda (using Spyder or a Juypter notebook), so the dependencies are
included, so it's not an issue.  So, what I'm wondering is, are the
dependencies that are included in Anaconda just contained in Anaconda, and
not actually accessible in Python, unless you go through the Anaconda
prompt to get to Python?

Thanks,
David
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


[Tutor] Pycharm Edu Lesson 3, Task 7

2017-05-02 Thread David Wolfe
Good Evening;

I'm working through Pycharm Edu, and I'm stuck on the following:

phrase = """
It is a really long string
triple-quoted strings are used
to define multi-line strings
"""
first_half = phrase[:len(phrase)//2]
print(first_half)


The instructions are:

The len() function is used to count how many characters a string contains.

Get the first half of the string stored in the variable phrase.
Note: Remember about type conversion.

and my output is:

It is a really long string
triple-quoted st

which is what I'm supposed to get, but I keep getting the error message
"Too short string in the output"

Any suggestions?

Thanks,
David





Virus-free.
www.avg.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Pycharm Edu Lesson 3, Task 7

2017-05-04 Thread David Wolfe
Thanks all for the help.

Pycharm just posted an update to their Pycharm Edu product, and when I
re-ran the script, everything was fine.

Best,
David

On Tue, May 2, 2017 at 4:27 AM, Alan Gauld via Tutor 
wrote:

> On 02/05/17 01:42, David Wolfe wrote:
>
> > I'm working through Pycharm Edu, and I'm stuck on the following:
> >
> > phrase = """
> > It is a really long string
> > triple-quoted strings are used
> > to define multi-line strings
> > """
> > first_half = phrase[:len(phrase)//2]
> > print(first_half)
> >
> >
> > The instructions are:
> > The len() function is used to count how many characters a string
> contains.
> >
> > Get the first half of the string stored in the variable phrase.
> > Note: Remember about type conversion.
>
> I'm assuming this is only part of the story since the instructions don't
> make sense. There is no need for type conversion here.
>
> > and my output is:
> >
> > It is a really long string
> > triple-quoted st
> >
> > which is what I'm supposed to get, but I keep getting the error message
> > "Too short string in the output"
>
> I don't know the PyCharm IDE but is that all it says?
> I'd expect a bit more information about where the error lies.
> It certainly isn't obvious and I don't get any such error when
> I execute your code in IDLE.
>
> --
> Alan G
> Author of the Learn to Program web site
> http://www.alan-g.me.uk/
> http://www.amazon.com/author/alan_gauld
> Follow my photo-blog on Flickr at:
> http://www.flickr.com/photos/alangauldphotos
>
>
> ___
> Tutor maillist  -  Tutor@python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Sam Kahraman Campus Middle School Advice

2018-04-27 Thread David Wolfe
Sam;

Were I you, I would look for a local MeetUp that deals with Python, attend
one of their meetings, and talk to one of the folks there.  I've learned a
lot from the MeetUp in my area, and there are Python experts in several
fields usually in attendance.  They'll be able to help you with your
questions and interview, as well as to give you pointers on next steps in
learning and proficiency.

Good Luck,
David

On Thu, Apr 26, 2018 at 4:00 PM, Kahraman, Sam K. <
skahra...@cherrycreekschools.org> wrote:

> Hello,
>
>  I am a 8th grade student at Campus Middle School. We have a project on
> coding and I need a expert to interview. Currently I'm learning Python and
> thought I should ask someone who works their to Interview. To contact me
> and ask any questions my email is skahra...@cherrycreekschools.org.
>
> ___
> Tutor maillist  -  Tutor@python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor