Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
finam
Manage
Activity
Members
Labels
Plan
Issues
31
Issue boards
Milestones
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FINAM
finam
Merge requests
!258
Grid mask support
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Grid mask support
grid_mask_support
into
main
Overview
10
Commits
30
Pipelines
18
Changes
9
All threads resolved!
Hide all comments
Merged
Sebastian Müller
requested to merge
grid_mask_support
into
main
1 year ago
Overview
10
Commits
30
Pipelines
18
Changes
1
All threads resolved!
Hide all comments
Expand
👍
0
👎
0
Merge request reports
Compare
version 3
version 17
66eb8ce2
1 year ago
version 16
45db43c5
1 year ago
version 15
24e44700
1 year ago
version 14
3b129f3f
1 year ago
version 13
f1cca6eb
1 year ago
version 12
0c9e4a9b
1 year ago
version 11
3d88adb6
1 year ago
version 10
4d8d3d86
1 year ago
version 9
0ea98d01
1 year ago
version 8
e1efdc4d
1 year ago
version 7
068ee167
1 year ago
version 6
88686118
1 year ago
version 5
0ec9aeff
1 year ago
version 4
c747b4ea
1 year ago
version 3
980bda8e
1 year ago
version 2
0921babc
1 year ago
version 1
a176b3a0
1 year ago
main (base)
and
version 4
latest version
5e7e1549
30 commits,
1 year ago
version 17
66eb8ce2
29 commits,
1 year ago
version 16
45db43c5
28 commits,
1 year ago
version 15
24e44700
27 commits,
1 year ago
version 14
3b129f3f
25 commits,
1 year ago
version 13
f1cca6eb
23 commits,
1 year ago
version 12
0c9e4a9b
22 commits,
1 year ago
version 11
3d88adb6
20 commits,
1 year ago
version 10
4d8d3d86
18 commits,
1 year ago
version 9
0ea98d01
14 commits,
1 year ago
version 8
e1efdc4d
13 commits,
1 year ago
version 7
068ee167
12 commits,
1 year ago
version 6
88686118
11 commits,
1 year ago
version 5
0ec9aeff
12 commits,
1 year ago
version 4
c747b4ea
10 commits,
1 year ago
version 3
980bda8e
9 commits,
1 year ago
version 2
0921babc
8 commits,
1 year ago
version 1
a176b3a0
4 commits,
1 year ago
Show latest version
1 file
+
8
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/finam/data/grid_base.py
+
8
−
0
Options
@@ -295,6 +295,14 @@ class Grid(GridBase):
out
[
~
mask
]
=
data
return
np
.
reshape
(
out
,
self
.
data_shape
,
order
=
self
.
order
)
@property
def
data_points_compressed
(
self
):
"""
Points of the associated compressed data.
"""
if
self
.
mask
is
None
:
return
self
.
data_points
# return only unmasked data points
return
self
.
data_points
[
~
np
.
reshape
(
self
.
mask
,
-
1
,
order
=
self
.
order
)]
class
StructuredGrid
(
Grid
):
"""
Abstract structured grid specification.
"""
Loading