diff --git a/apps/visr/src/components/tomography/TomographyForm.tsx b/apps/visr/src/components/tomography/TomographyForm.tsx index 47f5e882..9547bb39 100644 --- a/apps/visr/src/components/tomography/TomographyForm.tsx +++ b/apps/visr/src/components/tomography/TomographyForm.tsx @@ -4,24 +4,11 @@ import AbortButton from "../AbortButton"; import { ScanType } from "../scanType"; import { useState } from "react"; import { NumberInput } from "@diamondlightsource/sci-react-ui"; -import { - Box, - FormControl, - FormLabel, - ToggleButton, - ToggleButtonGroup, -} from "@mui/material"; - -enum LightSource { - LED = "led", - SR = "sr", - DARK = "dark", -} +import { Box, ToggleButton, ToggleButtonGroup } from "@mui/material"; export type TomographyFormData = { scan_type: ScanType; number_of_projections: number; - light_source: LightSource; exposure_time: number; }; @@ -30,7 +17,6 @@ export function TomographyForm() { const [formData, setFormData] = useState({ scan_type: ScanType.STEP, number_of_projections: 360, - light_source: LightSource.LED, exposure_time: 0.1, }); const minProjections = 30; @@ -88,30 +74,6 @@ export function TomographyForm() { onCommit={v => setField("exposure_time", v)} minValue={0.1} /> - - - Light Source - - v && setField("light_source", v)} - > - LED - Synchrotron - Off - - {/* Scan controls */} @@ -141,23 +103,6 @@ export function TomographyForm() { /> - - {/* Darks/flats */} - - - ); }