Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #102060 > unrolled thread
| Started by | Robert James Liguori <gliesian66@gmail.com> |
|---|---|
| First post | 2016-01-23 16:27 -0800 |
| Last post | 2016-01-24 13:46 +0700 |
| Articles | 8 — 6 participants |
Back to article view | Back to comp.lang.python
Calculating longitudinal acceleration, lateral acceleration and normal acceleration Robert James Liguori <gliesian66@gmail.com> - 2016-01-23 16:27 -0800
Re: Calculating longitudinal acceleration, lateral acceleration and normal acceleration Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2016-01-24 17:29 +1100
Re: Calculating longitudinal acceleration, lateral acceleration and normal acceleration Bernardo Sulzbach <mafagafogigante@gmail.com> - 2016-01-24 04:33 -0200
Re: Calculating longitudinal acceleration, lateral acceleration and normal acceleration Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2016-01-24 17:56 +1100
Attribute path not in PurePosixPath ? Vincent Vande Vyvre <vincent.vande.vyvre@telenet.be> - 2016-01-24 08:58 +0100
Re: Attribute path not in PurePosixPath ? Vincent Vande Vyvre <vincent.vande.vyvre@telenet.be> - 2016-01-24 10:00 +0100
Re: Calculating longitudinal acceleration, lateral acceleration and normal acceleration Grant Edwards <invalid@invalid.invalid> - 2016-01-24 16:46 +0000
Re: Calculating longitudinal acceleration, lateral acceleration and normal acceleration Pete Dowdell <contact@stridebird.com> - 2016-01-24 13:46 +0700
| From | Robert James Liguori <gliesian66@gmail.com> |
|---|---|
| Date | 2016-01-23 16:27 -0800 |
| Subject | Calculating longitudinal acceleration, lateral acceleration and normal acceleration |
| Message-ID | <f7ec5b27-8155-4e07-b556-157434209680@googlegroups.com> |
Is there a python library to calculate longitudinal acceleration, lateral acceleration and normal acceleration? Thanks.
[toc] | [next] | [standalone]
| From | Steven D'Aprano <steve+comp.lang.python@pearwood.info> |
|---|---|
| Date | 2016-01-24 17:29 +1100 |
| Message-ID | <56a46f46$0$11097$c3e8da3@news.astraweb.com> |
| In reply to | #102060 |
On Sunday 24 January 2016 11:27, Robert James Liguori wrote: > Is there a python library to calculate longitudinal acceleration, lateral > acceleration and normal acceleration? Calculate acceleration of what? I think we need some more detail before we can give a sensible answer, but you could try numpy and scipy: http://www.numpy.org/ https://www.scipy.org/ or Sage: http://www.sagemath.org/ -- Steve
[toc] | [prev] | [next] | [standalone]
| From | Bernardo Sulzbach <mafagafogigante@gmail.com> |
|---|---|
| Date | 2016-01-24 04:33 -0200 |
| Message-ID | <mailman.196.1453617235.15297.python-list@python.org> |
| In reply to | #102070 |
Showing any bits of input would help us help you. Your question also seems too vague. Almost a "how to optimize".
[toc] | [prev] | [next] | [standalone]
| From | Steven D'Aprano <steve+comp.lang.python@pearwood.info> |
|---|---|
| Date | 2016-01-24 17:56 +1100 |
| Message-ID | <56a475a2$0$1524$c3e8da3$5496439d@news.astraweb.com> |
| In reply to | #102060 |
Second attempt. On Sunday 24 January 2016 11:27, Robert James Liguori wrote: > Is there a python library to calculate longitudinal acceleration, lateral > acceleration and normal acceleration? Calculate acceleration of what? I think we need some more detail before we can give a sensible answer, but you could try numpy and scipy: http://www.numpy.org/ https://www.scipy.org/ or Sage: http://www.sagemath.org/ -- Steve
[toc] | [prev] | [next] | [standalone]
| From | Vincent Vande Vyvre <vincent.vande.vyvre@telenet.be> |
|---|---|
| Date | 2016-01-24 08:58 +0100 |
| Subject | Attribute path not in PurePosixPath ? |
| Message-ID | <mailman.198.1453622731.15297.python-list@python.org> |
| In reply to | #102072 |
Hi,
Refering to the doc
https://docs.python.org/3/library/pathlib.html?highlight=pathlib#pathlib.PurePath.path
----------------------------------------------------------------------------
Python 3.4.3 (default, Oct 14 2015, 20:28:29)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pathlib import PurePath
>>> p = PurePath('/home/vincent/Images')
>>> p.name
'Images'
>>> p.suffix
''
>>> p.parent
PurePosixPath('/home/vincent')
>>> [parent for parent in p.parents]
[PurePosixPath('/home/vincent'), PurePosixPath('/home'), PurePosixPath('/')]
>>> p.path
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'PurePosixPath' object has no attribute 'path'
----------------------------------------------------------------------------
Am I misunderstood the doc ?
[toc] | [prev] | [next] | [standalone]
| From | Vincent Vande Vyvre <vincent.vande.vyvre@telenet.be> |
|---|---|
| Date | 2016-01-24 10:00 +0100 |
| Subject | Re: Attribute path not in PurePosixPath ? |
| Message-ID | <mailman.199.1453626373.15297.python-list@python.org> |
| In reply to | #102072 |
Le 24/01/2016 08:58, Vincent Vande Vyvre a écrit :
> Hi,
>
> Refering to the doc
> https://docs.python.org/3/library/pathlib.html?highlight=pathlib#pathlib.PurePath.path
>
> ----------------------------------------------------------------------------
>
> Python 3.4.3 (default, Oct 14 2015, 20:28:29)
> [GCC 4.8.4] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from pathlib import PurePath
> >>> p = PurePath('/home/vincent/Images')
> >>> p.name
> 'Images'
> >>> p.suffix
> ''
> >>> p.parent
> PurePosixPath('/home/vincent')
> >>> [parent for parent in p.parents]
> [PurePosixPath('/home/vincent'), PurePosixPath('/home'),
> PurePosixPath('/')]
> >>> p.path
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> AttributeError: 'PurePosixPath' object has no attribute 'path'
> ----------------------------------------------------------------------------
>
>
> Am I misunderstood the doc ?
OOps, is new in 3.4.5
Sorry for the noise.
Vincent
[toc] | [prev] | [next] | [standalone]
| From | Grant Edwards <invalid@invalid.invalid> |
|---|---|
| Date | 2016-01-24 16:46 +0000 |
| Message-ID | <n82v5s$lei$1@reader1.panix.com> |
| In reply to | #102060 |
On 2016-01-24, Robert James Liguori <gliesian66@gmail.com> wrote: > Is there a python library to calculate longitudinal acceleration, > lateral acceleration and normal acceleration? Yes. > Thanks. You're Welcome.
[toc] | [prev] | [next] | [standalone]
| From | Pete Dowdell <contact@stridebird.com> |
|---|---|
| Date | 2016-01-24 13:46 +0700 |
| Message-ID | <mailman.203.1453668248.15297.python-list@python.org> |
| In reply to | #102060 |
On 24/01/16 07:27, Robert James Liguori wrote: > Is there a python library to calculate longitudinal acceleration, lateral acceleration and normal acceleration? Might be rocket science... pd
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web