6.7. crop¶
Crops the FITS files.
- im crop
usage
im crop [-h] file x y w h output
positional arguments
fileA file path or pattern (e.g., “*.fits”)xX component of coordinateyY component of coordinatewWidth of bounding boxhHeight of bounding boxoutputOutput directoryoptions
-h,--helpshow this help message and exit
6.7.1. Example:¶
im crop /PATH/TO/FILES*.fits 100 100 200 200 /PATH/TO/DIRECTORY