Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/news/OSW-1047.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix bug in Data Log's psf median column.
7 changes: 4 additions & 3 deletions src/pages/data-log.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,13 @@ function DataLog() {
const pixelScale = !isNaN(entry.pixel_scale_median)
? entry.pixel_scale_median
: DEFAULT_PIXEL_SCALE_MEDIAN;
const psf_median = !isNaN(psfSigma)
? psfSigma * PSF_SIGMA_FACTOR * pixelScale
: null;

return {
...normalisedEntry,
"psf median": !isNaN(psfSigma)
? psfSigma * PSF_SIGMA_FACTOR * pixelScale
: null,
psf_median,
};
})
.sort((a, b) => Number(b["exposure id"]) - Number(a["exposure id"]));
Expand Down