Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pycalibration
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
calibration
pycalibration
Commits
a6b62528
Commit
a6b62528
authored
1 year ago
by
Karim Ahmed
Browse files
Options
Downloads
Patches
Plain Diff
cache get_strixel_parameters
parent
23db3088
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!919
[Jungfrau][Correct] New A1256 JF Strixel
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/cal_tools/jungfrau/jfstrixel.py
+4
-1
4 additions, 1 deletion
src/cal_tools/jungfrau/jfstrixel.py
with
4 additions
and
1 deletion
src/cal_tools/jungfrau/jfstrixel.py
+
4
−
1
View file @
a6b62528
import
numpy
as
np
from
functools
import
lru_cache
from
pathlib
import
Path
from
pathlib
import
Path
import
numpy
as
np
REGULAR_SHAPE
=
(
512
,
1024
)
REGULAR_SHAPE
=
(
512
,
1024
)
DIR_PATH
=
package_directory
=
Path
(
__file__
).
resolve
().
parent
DIR_PATH
=
package_directory
=
Path
(
__file__
).
resolve
().
parent
@lru_cache
def
get_strixel_parameters
(
kind
):
def
get_strixel_parameters
(
kind
):
"""
Returns a dictionary of strixel parameters stored in .npz file
"""
Returns a dictionary of strixel parameters stored in .npz file
based on the given kind.
based on the given kind.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment