FileBrowserStore
Index
Constructors
Properties
- HDUfileInfoExtended
- appendingFrame
- browserMode
- catalogFileInfo
- catalogFileList
- catalogHeaders
- exportCoordinateType
- exportFileType
- exportFilename
- exportRegionIndexes
- extendedLoading
- fileInfoResp
- fileList
- isImportingRegions
- isLoadingDialogOpen
- loadingCheckedCount
- loadingInfo
- loadingList
- loadingProgress
- loadingTotalCount
- regionFileInfo
- responseErrorMessage
- saveFileType
- saveFilename
- saveRegionId
- saveRestFreq
- saveSpectralRange
- saveStokesOption
- selectedCatalogFile
- selectedFile
- selectedFiles
- selectedHDU
- selectedTab
- shouldDropDegenerateAxes
- startingDirectory
Accessors
Methods
- addExportRegionIndex
- cancelRequestingFileList
- clearExportRegionIndexes
- deleteExportRegionIndex
- getCatalogFileInfo
- getFileInfo
- getFileList
- getRegionFileInfo
- getStokesFile
- hideFileBrowser
- initialSaveSpectralRange
- resetExportRegionIndexes
- resetLoadingStates
- resetSaveRestFreq
- restoreStartingDirectory
- saveStartingDirectory
- selectFile
- selectFolder
- selectHDU
- selectParent
- setCatalogFileList
- setExportCoordinateType
- setExportFileType
- setExportFilename
- setFileList
- setImportingRegions
- setSaveFileType
- setSaveFilename
- setSaveRegionId
- setSaveRestFreq
- setSaveRestFreqUnit
- setSaveRestFreqVal
- setSaveSpectralRangeMax
- setSaveSpectralRangeMin
- setSelectedFiles
- setSelectedTab
- setSortingConfig
- setStartingDirectory
- showExportRegions
- showFileBrowser
- showLoadingDialog
- updateLoadingState
Constructors
constructor
Returns FileBrowserStore
Properties
HDUfileInfoExtended
Type declaration
[k string]: CARTA.IFileInfoExtended
appendingFrame
browserMode
catalogFileInfo
catalogFileList
catalogHeaders
exportCoordinateType
exportFileType
exportFilename
exportRegionIndexes
extendedLoading
fileInfoResp
fileList
isImportingRegions
isLoadingDialogOpen
loadingCheckedCount
loadingInfo
loadingList
loadingProgress
loadingTotalCount
regionFileInfo
responseErrorMessage
saveFileType
saveFilename
saveRegionId
saveRestFreq
saveSpectralRange
saveStokesOption
selectedCatalogFile
selectedFile
selectedFiles
selectedHDU
selectedTab
shouldDropDegenerateAxes
startingDirectory
Accessors
HDUList
Returns IOptionProps[]
annotationOptionNum
Returns number
catalogHeaderDataset
Returns { columnHeaders: CatalogHeader[]; columnsData: Map<number, ProcessedColumnData> }
columnHeaders: CatalogHeader[]
columnsData: Map<number, ProcessedColumnData>
exportAnnotationNum
Returns number
exportRegionNum
Returns number
exportRegionOptions
Returns LineOption[]
fileInfo
Returns string
fileInfoExtended
Returns IFileInfoExtended
getBrowserMode
Returns FileInfoType
getfileListByMode
Returns any
headers
Returns string
includesAnnotation
Returns boolean
includesRegion
Returns boolean
isComplexImage
Returns boolean
regionOptionNum
Returns number
saveRestFreqInHz
Returns number
saveStokesRange
Returns number[]
staticInstance
Returns FileBrowserStore
Methods
addExportRegionIndex
Parameters
regionIndex: number
Returns void
cancelRequestingFileList
Returns void
clearExportRegionIndexes
Parameters
mode: SelectionMode
Returns void
deleteExportRegionIndex
Parameters
regionIndex: number
Returns void
getCatalogFileInfo
Parameters
directory: string
filename: string
Returns Generator<Promise<ICatalogFileInfoResponse>, void, unknown>
getFileInfo
Parameters
directory: string
file: string
hdu: string
Returns Generator<Promise<IFileInfoResponse>, void, unknown>
getFileList
Parameters
directory: string = ""
Returns Generator<Promise<IFileListResponse>, void, unknown>
getRegionFileInfo
Parameters
directory: string
file: string
Returns Generator<Promise<IRegionFileInfoResponse>, void, unknown>
getStokesFile
Parameters
directory: string
The directory where the file is located.
file: string
The name of the file.
hdu: string
The Header Data Unit (HDU) identifier of the file.
Returns Promise<IStokesFile>
A promise resolving to the Stokes file information.
hideFileBrowser
Returns void
initialSaveSpectralRange
Returns void
resetExportRegionIndexes
Parameters
mode: SelectionMode
Returns void
resetLoadingStates
Returns void
resetSaveRestFreq
Returns void
restoreStartingDirectory
Returns void
saveStartingDirectory
Parameters
optionaldirectory: string
Returns void
selectFile
Parameters
file: ISelectedFile
Returns void
selectFolder
Parameters
folder: string
absolutePath: boolean = false
Returns void
selectHDU
Parameters
hdu: string
Returns void
selectParent
Returns void
setCatalogFileList
Parameters
list: ICatalogListResponse
Returns void
setExportCoordinateType
Parameters
coordType: CoordinateType
Returns void
setExportFileType
Parameters
fileType: any
Returns void
setExportFilename
Parameters
filename: string
Returns void
setFileList
Parameters
list: IFileListResponse
Returns void
setImportingRegions
Parameters
isImportingRegions: boolean
Returns void
setSaveFileType
Parameters
fileType: FileType
Returns void
setSaveFilename
Parameters
filename: string
Returns void
setSaveRegionId
Parameters
regionId: number
Returns void
setSaveRestFreq
Parameters
freq: Freq
Returns void
setSaveRestFreqUnit
Parameters
unit: FrequencyUnit
Returns void
setSaveRestFreqVal
Parameters
val: number
Returns void
setSaveSpectralRangeMax
Parameters
max: string
Returns void
setSaveSpectralRangeMin
Parameters
min: string
Returns void
setSelectedFiles
Parameters
selection: ISelectedFile[]
Returns void
setSelectedTab
Parameters
newId: TabId
Returns void
setSortingConfig
Parameters
columnName: string
direction: number
Returns void
setStartingDirectory
Parameters
optionaldirectory: string
Returns void
showExportRegions
Parameters
optionalregionId: number
Returns void
showFileBrowser
Parameters
mode: BrowserMode
append: boolean = false
Returns void
showLoadingDialog
Returns void
updateLoadingState
Parameters
progress: number
checkedCount: number
totalCount: number
Returns void
Retrieves Stokes file information from a given directory, file, and HDU.