Skip to content

Unable to read .sdf5 master kikuchi pattern file #764

@JaiSN-cam

Description

@JaiSN-cam

Hi Team.
I am new to the kikuchipy library. I am trying to load a master kikuchi pattern file which is simulated from the AztecCrystal software and the format of the file is .sdf5 (Which I thought it is close to .hdf5). But, when I tried reading the file using 'kp.load()' command, I was getting the error that the file couldn't be read. When I checked the possible formats that the kikuchypy allows to read, I came across that kikuchipy can only read .H5OINA files from the oxford instruments/Aztec. I am unaware at the moment if the creation of master kikuchi pattern file is possible alone with the kikuchipy. If it is possible, then I don't have any reason to import an external master kikuchi pattern file generated from the other resources. Please guide me a possible way of loading a .sdf5 master kikuchi file generated from the AztecCrystal. The code for the above issue is as follows

s=kp.load(file_path2/"Ti-adp_25kV_3001.sdf5", lazy=False)

The error message is as follows

"Could not read 'C:\Users\Nichenametla Jai Sai\OneDrive - University of Cambridge\Master kikuchi patterns\Ti-adp_25kV_3001.sdf5'. If the file format is supported, please report this error"

Many thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions