Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pycroscopy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
Vasudevan, Rama K.
pycroscopy
Commits
f4710752
Commit
f4710752
authored
8 years ago
by
Chris Smith
Browse files
Options
Downloads
Patches
Plain Diff
Updated to new linkRefs
parent
1812b66c
No related branches found
No related tags found
1 merge request
!13
Pyspm port suhas
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pycroscopy/processing/image_processing.py
+3
-3
3 additions, 3 deletions
pycroscopy/processing/image_processing.py
with
3 additions
and
3 deletions
pycroscopy/processing/image_processing.py
+
3
−
3
View file @
f4710752
...
...
@@ -13,7 +13,7 @@ from sklearn.utils import gen_batches
from
multiprocessing
import
cpu_count
from
..io.io_hdf5
import
ioHDF5
from
..io.io_utils
import
getAvailableMem
from
..io.hdf_utils
import
getH5DsetRefs
,
copyAttributes
from
..io.hdf_utils
import
getH5DsetRefs
,
copyAttributes
,
linkRefs
from
..io.translators.utils
import
getPositionSlicing
,
makePositionMat
from
..io.microdata
import
MicroDataGroup
,
MicroDataset
...
...
@@ -118,7 +118,7 @@ class ImageWindow(object):
Link references to raw
'''
aux_ds_names
=
[
'
Position_Indices
'
,
'
Position_Values
'
,
'
Spectroscopic_Indices
'
,
'
Spectroscopic_Values
'
]
self
.
hdf
.
linkRefs
(
self
.
h5_raw
,
getH5DsetRefs
(
aux_ds_names
,
image_refs
))
linkRefs
(
self
.
h5_raw
,
getH5DsetRefs
(
aux_ds_names
,
image_refs
))
else
:
self
.
h5_raw
=
self
.
h5_file
[
'
Measurement_000
'
][
'
Channel_000
'
][
'
Raw_Data
'
]
...
...
@@ -309,7 +309,7 @@ class ImageWindow(object):
Link references to windowed dataset
'''
aux_ds_names
=
[
'
Position_Indices
'
,
'
Position_Values
'
,
'
Spectroscopic_Indices
'
,
'
Spectroscopic_Values
'
]
self
.
hdf
.
linkRefs
(
h5_wins
,
getH5DsetRefs
(
aux_ds_names
,
image_refs
))
linkRefs
(
h5_wins
,
getH5DsetRefs
(
aux_ds_names
,
image_refs
))
self
.
hdf
.
flush
()
...
...
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