# Copyright (c) 2026 Guy's and St Thomas' NHS Foundation Trust & King's College London # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Which MR sequence a file holds, and how to hand that to a conditioned network. A brain-MRI study is four co-registered series — FLAIR, T1w, T1Gd, T2w — and each reaches the app as its own single-channel NIfTI. The sequence label is in the **filename**, and by the same route on both paths a tutorial ever sees data on: * the simulator layout writes ``input_