Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Vasudevan, Rama K
pycroscopy
Commits
198b1fa1
Commit
198b1fa1
authored
Jul 09, 2020
by
ssomnath
Browse files
Adding date, time, filename attributes to measurement group
for consistency with older files
parent
c0182384
Changes
1
Hide whitespace changes
Inline
Side-by-side
pycroscopy/io/translators/df_utils/be_utils.py
View file @
198b1fa1
...
...
@@ -229,7 +229,11 @@ def remove_non_exist_spec_dim_labs(h5_spec_inds, h5_spec_vals,
num_fields
=
1
+
int
(
all
([
targ
in
field_type
for
targ
in
[
'in'
,
'out'
]]))
dc_off_steps
=
get_attr
(
h5_meas_grp
,
'VS_steps_per_full_cycle'
)
num_cycles
=
get_attr
(
h5_meas_grp
,
'VS_number_of_cycles'
)
num_forc_cycles
=
get_attr
(
h5_meas_grp
,
'VS_num_of_FORC_cycles'
)
try
:
num_forc_cycles
=
get_attr
(
h5_meas_grp
,
'VS_num_of_FORC_cycles'
)
except
KeyError
:
# This is named differently in some h5 files
num_forc_cycles
=
get_attr
(
h5_meas_grp
,
'VS_num_of_Forc_cycles'
)
size_dict
=
{
'Frequency'
:
num_freq_bins
,
'DC_Offset'
:
dc_off_steps
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment