PART IV: Modelling, Simulation And Analysis With Python Flashcards

1
Q

What are the two main types of filters?

A

Boxcar filtering

Gaussian filtering

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Boxcar filtering

A

Equal weights assigned to each sample in a set

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Gaussian filtering

A

Weights that form the shape of a bell curve

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What’s universal for filtering data about weights?

A

Weights must be normalized

Sum of all weights =1 to get back data that looks like original data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Filtering data: endpoints

A

They require separate treatments to smooth them out and prevent noise
Tapered filter sums weights in data range to help with this

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are some ways that filters can affect an image?

A
Blur
Sharpen
Edge-detect
Calculate gradients
Curvature
Shift
Rotate
More lol
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Common features of simulations

A
  • principle set of physical laws, typically in DE form
  • initial and boundary conditions specified
  • derive observable/measurable quantities
  • test for conservation and convergence
  • want to compare with anakytic solutions where possible
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Main steps for simple simulations

A
  • identify initial and boundary conditions
  • determine path of object (bouncing ball, ray tracing etc)
  • identify intersection point between path of object and boundary
  • calculate interaction at intersection point (ex. Reflection is calculating reflected angle)
  • repeat determine path until calc interaction in a loop which redefines ICs and proceeds to continue the path after first intersection point
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Particle based simulations

A

For complex models

Look at each object as a discrete particle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Particle based simulations: what should we keep in mind?

A

All particles must have ICs
All particles must evolve through time
To speed up calcs, group/categorize them into shells or grid cells so all particles within group are affected equally
Sorted algorithms help determine interactions between one particle/group and nearest neighbours

How well did you know this?
1
Not at all
2
3
4
5
Perfectly