Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Deep Unfolding RPCA
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
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
MINDS
These Vassili PUSTOVALOV
Deep Unfolding RPCA
Commits
563ca527
Commit
563ca527
authored
1 month ago
by
vpustova
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
e7e10394
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SimPlatform/Parameters.py
+67
-0
67 additions, 0 deletions
SimPlatform/Parameters.py
with
67 additions
and
0 deletions
SimPlatform/Parameters.py
0 → 100644
+
67
−
0
View file @
563ca527
# -*- coding: utf-8 -*-
"""
Created on Wed Aug 15 13:57:37 2018
@author: Yi Zhang
"""
"""
Parameters for ultrasonic device
"""
"""
1.pixel: size of pixel of screen. unit=mm, pixel[0] corresponds to y dimension,
pixel[1] corresponds to x dimension.
2.psf: the standard variation of the point spread function. psf[0] corresponds to
y dimension, psf[1] corresponds to x dimension.
3.shape: shape of the screen
4.dt: duration of each frame
5.amptissue: mean amplitude of tissue
6.c2: mean amplitude
"""
dt
=
0.01
params_default
=
{
'
pixel
'
:(
0.12
,
0.12
),
'
psf
'
:(
0.14
,
0.32
),
'
shape
'
:(
100
,
100
),
'
dt
'
:
dt
,
'
amptissue
'
:
1
,
'
ampbubbles
'
:
3
,
'
ampnoise
'
:
0.1
}
"""
Parameters for tissue
"""
"""
1.ev: envelope of the amplitude of tissue
2.sdv_phi: standard variation for initial phase of tissue, unit: degree
3.sdv_lp: the standard variation of 2d gaussian kernel as the low pass filter of amplitude,
unit mm
4.kerflow: the size of probability kernel to represent flowing of tissue cells
5.sdv_df: the standard variation of the change of flowing kernel
6.minf: the minimum value of probability in flowing filter
7.block: the size of block to share a common flow pattern
8.numk: number of kernel to simulate the pattern of flow
"""
params_tissue
=
{
'
sdv_phi
'
:
15
,
'
sdv_lp
'
:
0.2
,
'
kerflow
'
:
3
,
'
sdv_df
'
:
0.3
/
3
,
'
minf
'
:
0.1
,
'
block
'
:
4
,
'
numk
'
:
4
}
"""
Parameters for bubbles
"""
"""
1.vmean: mean velocity of the bubbles. unit=mm/s
2.density: maximum density of bubbles. unit=cm^(-2)
3.muv: expectation of the envelope of velocity
4.sigmav: standard variation of the envelope of velocity
"""
params_bubbles
=
{
#bubbles
'
vmean
'
:
0.24
/
dt
,
'
density
'
:
130
,
'
p_birth
'
:
0.3
,
'
p_death
'
:
0.3
,
'
maxBirth
'
:
3
,
'
maxDeath
'
:
3
,
'
sdv_phib
'
:
5
,
'
muv
'
:
1
,
'
sigmav
'
:
1
,
'
sigmaa
'
:
0.05
*
(
0.12
/
dt
)
/
dt
,
'
sigmaA
'
:
1
,
'
bubbleAM
'
:
0.1
}
params_ev
=
{
'
sigrange
'
:[
15
*
0.14
,
30
*
0.14
,
15
*
0.16
,
30
*
0.16
],
'
numev
'
:
5
}
params_default
.
update
(
params_tissue
)
params_default
.
update
(
params_bubbles
)
params_default
.
update
(
params_ev
)
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