Skip to content

Commit

Permalink
fix: medium index not stored in exported sinogram file
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Feb 26, 2019
1 parent 0e23e51 commit 8bf4a47
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
0.2.0
- feat: add capability to track progress of sinogram generation
- fix: medium index not stored in exported sinogram file
0.1.0
- add basic example to docs
- drawing refractive index and fluorescence phantoms
Expand Down
8 changes: 5 additions & 3 deletions cellsino/propagators/base_propagator.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ def propagate(self):
field *= self.propagate_sphere(element).field
qpifull = qpimage.QPImage(data=field,
which_data="field",
meta_data={"wavelength": self.wavelength,
"pixel size": self.pixel_size,
}
meta_data={
"wavelength": self.wavelength,
"pixel size": self.pixel_size,
"medium index": self.phantom.medium_index,
}
)
return qpifull

Expand Down

0 comments on commit 8bf4a47

Please sign in to comment.