Analysis tools to reduce and analyze FOXSI data