Skip to content

Commit

Permalink
Further linting & tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
SylviaWhittle committed May 15, 2024
1 parent ba762ad commit 50989a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 337 deletions.
334 changes: 0 additions & 334 deletions AFMReader/Opening_asd_files.ipynb

This file was deleted.

5 changes: 2 additions & 3 deletions AFMReader/asd.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def load_asd(file_path: Path, channel: str):
scanner_sensitivity=header_dict["scanner_sensitivity"],
phase_sensitivity=header_dict["phase_sensitivity"],
)
logger.info(f"file position before analogye digital converter: {open_file.tell()}")

analogue_digital_converter = create_analogue_digital_converter(
analogue_digital_range=header_dict["analogue_digital_range"],
scaling_factor=scaling_factor,
Expand Down Expand Up @@ -761,8 +761,7 @@ def create_analogue_digital_converter(
scaling_factor=scaling_factor,
)
elif analogue_digital_range == hex(0x00000003):
# Unsure what this is, guess
mapping = (0, 3.33)
mapping = (0, 9.99)
converter = UnipolarConverter(
analogue_digital_range=9.99,
resolution=resolution,
Expand Down

0 comments on commit 50989a1

Please sign in to comment.