Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typos #273

Merged
merged 1 commit into from
Jan 31, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tutorials/3-advanced-topics/DTAT311_image.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@
"source": [
"## 1. What is an Image?\n",
"\n",
"An `Image` is a container used by a feature to store both the generated image and the properties used to generate it. It is a subclass of numpy `ndarray`, so that any operation that works for `ndarrays` will also work for `Image`. `Image` has also a field `properties`, which contains the information about how the image has been generated (see also [properties_example](properties_example.ipynb)). Specifically, `properties` is a list of dictionaries, where each dictionary holds the current values of the properties of a feature (with the names of the properties as keys). This list is ordered as the features have been resolved.\n",
"An `Image` is a container used by a feature to store both the generated image and the properties used to generate it. It is a subclass of numpy `ndarray`, meaning that any operation that works for `ndarrays` will also work for `Image`. `Image` has also a field `properties`, which contains the information about how the image has been generated (see also [properties_example](DTAT306_properties.ipynb)). Specifically, `properties` is a list of dictionaries, where each dictionary holds the current values of the properties of a feature (with the names of the properties as keys). This list is ordered as the features have been resolved.\n",
"\n",
"By storing the properties used to resolve the image, information about the image can be accessed without access to the feature series. This allows features to change their behaviour depending on what is already in the image. This also allows to extract numeric information about the image (e.g., to be used in supervised learning).\n",
"\n",
"**NOTE:** By default, feartures return numerical arrays. To return objects of the `Image` class, you need to call the `.store_properties()` method on the individual feature."
"**NOTE:** By default, features return numerical arrays. To return objects of the `Image` class, you need to call the `.store_properties()` method on the individual feature."
]
},
{
Expand Down Expand Up @@ -104,7 +104,7 @@
"metadata": {},
"source": [
"You can use the method `.merge_properties_from()` to merge the properties of two images.\n",
"If the two images are intetical (they are resolved from the same feature without an update), only one set of properties is kept."
"If the two images are identical (they are resolved from the same feature without an update), only one set of properties is kept."
]
},
{
Expand Down