Skip to content
This repository has been archived by the owner on Aug 18, 2022. It is now read-only.

Commit

Permalink
add docs for the function shortchuts in pylas.__init__
Browse files Browse the repository at this point in the history
  • Loading branch information
tmontaigu committed Apr 18, 2018
1 parent 998b65f commit ba9e162
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions docs/api/index.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
pylas package
=============

.. module:: pylas
.. autofunction:: read
.. autofunction:: open
.. autofunction:: create
.. autofunction:: convert


Submodules
----------

Expand All @@ -15,10 +22,3 @@ Submodules
pylas.errors
pylas.compression

Module contents
---------------

.. automodule:: pylas
:members:
:undoc-members:
:show-inheritance:
8 changes: 4 additions & 4 deletions docs/basic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ Opening & Reading
=================
You have two ways to read LAS files with pylas.

The easiest one is using ``pylas.read`` function, which is a shortcut to :func:`pylas.lib.read_las`
The easiest one is using :func:`pylas.read` function.
This function will read everything in the file (Header, vlrs, point records, ...) and return an object
that you can use to access to the data.


The other way to read a las file is to use the ``pylas.open`` which is a shortcut for :func:`pylas.lib.open_las`
The other way to read a las file is to use the :func:`pylas.open`.
As the name suggest, this function does not read the whole file, but opens it and only read the header.

This is useful if you only need to read the header without loading the whole file in memory.
Expand All @@ -25,13 +25,13 @@ Converting
pylas also offers the ability to convert a file between the different version and point format available
(as long as they are compatible).

To convert, use the ``pylas.convert``, again a shortcut for :func:`pylas.lib.convert`
To convert, use the :func:`pylas.convert`

Creating
========

Creating a new Las from scratch is simple.
Use the ``pylas.create`` (:func:`pylas.lib.create_las`)
Use :func:`pylas.create`.


Writing
Expand Down
2 changes: 1 addition & 1 deletion docs/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ LAS files are organized in 3 main parts:
3) Point Records


The header contains informations about the data such as its version, the point format (which tells the different
The header contains information about the data such as its version, the point format (which tells the different
dimensions stored for each points).

After the header, LAS files may contains VLRs (Variable Length Record).
Expand Down

0 comments on commit ba9e162

Please sign in to comment.