Posts archived in Tips

Terms for metric and English screw size standards

These terms are all equivalent for most purposes:
metric = ISO metric = ANSI mm
English (US) = imperial (UK) = UTS = ANSI inch

Major diameter

Metric screw sizes are easy to figure out.
M3: The “M” is for metric, and the “3″ is the major (nominal) screw diameter in mm.

English screw sizes are easy for large screw sizes.
1/4-20: 1/4 inch major diameter
For smaller screw sizes, read the next section.

The numbers for English screws

Two common sizes of small machine screws are #4-40 and #8-32. What do these numbers mean? As it says above, the second number refers to the thread pitch, and is reported as the threads per inch. However, the first numbers, the major (nominal) diameters, are a bit more complicated. Here’s how to convert them into inches:
major diameter in inches = 0.060 + (0.013 * N)
Where N is the first number in the name of the screw.

Thread pitch

To denote the thread pitch, the two main systems use different measures which are actually the inverse of each other. For metric screws, the pitch is measured in mm per thread. For example, M3 screws are typically 0.5 mm per thread. For English/imperial screws, the thread pitch is measured in threads per inch. For example, 1/4″-20 screws are 20 threads per inch.

TLAs (Three Letter Abbreviations)

UNC, UNF, UNEF
These are from the UTS (Unified Thread Standard). It’s for English/Imperial screw sizes. Each screw size (nominal diameter/major diameter) is available in either a coarse (UNC), fine (UNF), or extra fine (UNEF) thread pitch; e.g., UNC = UNified thread standard Coarse.

BSW, BSF, BSC
BSW stands for British Standard Whitworth. Joseph Whitworth authored the first national screw standard in 1841, and it still carries his namesake. BSF is the variant with fine thread pitch. BSC is a variant used for Cycles (motorcycles and bicycles). UNC is based off of the BSW standard, but with a different shape to the threads. In some applications, UNC and BSW are interoperable. For example, the screw mount at the bottom of SLR cameras for tripod attachement is a BSW 1/4-20 standard, but UNC 1/4-20 screws can often be used in them.

Fun fact for the day

One time in London, I needed a fine pitch tap and die set and the cheapest I could find was a BA set, so I bought that. The BA screw standard isn’t used much any more, but it’s an interesting standard.

  • All of the screw sizes are defined in inches, but they come out to be nice round numbers in mm. For example, BA2 has a nominal diameter of 0.1260 inches, which is 3.200 mm.
  • The standard is not a list of sizes, but rather one base size and then a formula to calculate all of the rest. Size BA0 is the base size, with a 0.2362 inch (6.00 mm) major diameter and 25.38 threads per inch (1 thread per mm). Wikipedia explains the formula for calculating the other sizes (link).
  • (source)
    (via)

    These screw shields make it simple to connect a bunch of stranded wire to an Arduino. This one is available here, or here. It’s a little thing, but it saves a lot of soldering.

    Oldest Reading hard copy tables of content. Pleasent, but impractical.
    Older Checking out the updates for Index Medicus. Totally reasonable. In 1988.
    Old Getting eTOCs emailed to you. Welcome to the year 2000.
    Middle-aged Subscribing to RSS feeds for journals. Okay, but still needs filtering.
    Present Automated, keyword-based filtering of RSS feeds. Better.

    RSS feeds

    E.g., here are the ones for Nature journals (including the AOPs) (link)
    And for Science (link).
    It doesn’t take much time to find feeds for the top 20 journals in your field. Feed links shouldn’t change frequently, but they can change.

    Filtering RSS feeds

    This is an early (2005) work in the field of filtering RSS feeds from journals: BaRF (Bioinformatics aggregated RSS feeds) is a tool for keeping up with bioinformatics articles across multiple journals’ RSS feeds.

    Presently, there are a bunch of different ways to filter RSS feeds. Fascinatingly, they’re all inadequate. So, although this is a good approach, I’m not sure it’s worth the time to set up and maintain just yet.

    At any rate, if you want to take a stab at it, here are some of the services to check out. Feed Sifter, Scraper, Superfeedr, Feed Rinse. To be honest, none of these worked completely for me. I’ve tried others as well, including the powerful Yahoo Pipes (too buggy). If you have a system worked out that you’d like to share, please let us know.

    Getting every last drop

    It’s also possible to set up PubMed search result updates. But there can be weeks between when an article is put online and when PubMed picks it up, so this isn’t ideal. However, it covers all of the journals that PubMed indexes, so it can bring papers to your attention that might have otherwise fallen through the cracks of your RSS feeds.

    Services like Hubmed and Mendeley are trying to serve this need from a different angle, but at present don’t offer the immediacy of an RSS feed of AOPs.

    Lab accidents do happen. Fortunately they’re rare because of safety measures. Unfortunately, this also makes people lazy about following safety guidelines.

    Earlier, Labrigger covered the danger of retinal burns with lasers.

    Cautionary tales are perhaps effective against the safety negligence that sets in when accidents are rare. Here are some more quick examples of bad lab accidents that may have been avoided with closer adherance to safety standards:

    - In 2010, a student lost three fingers, sustained burns to his hands and face, and injury to his left eye after a lab explosion. There were several safety issues, including exceeding safe quantities.

    - In 2008, Sheri Sangji, a 23-year-old lab tech, was burned in a chemistry lab accident at UCLA, and died 18 days later. CalOSHA determined that safety negligence was an issue. There have been fines and felony charges.

    Lethal accidents happen in biology labs as well.
    - In 2009, Malcom Casadaban, a professor at U Chicago, died from an infection by an attenuated strain of a BSL-2 bacteria, Yersinia pestis (yeah, that one). He was known to not use gloves when handling cultures and dermal exposure may have been the preventable route of entry.

    Please be safe.

    The Society for Neuroscience (SfN) have compiled and are curating a large collection of online resources for neuroscience teaching. It’s called ERIN (Educational Resources in Neuroscience).

    Some examples:
    A Nernst-Goldman equation simulator. (link)

    An animation discussing the structure and function of the cochlea. (link)

    An interactive tutorial on nuclear receptor signalling. (link)

    The Movshon-Seung debate on what priority connectomics should be is now on YouTube.

    Numberfactory is a very useful, clean reference site. Unit conversions, formulas, bolts, nuts, screws, and more.

    More…
    Bolt sizes

    To recap the previous post on axial resolution and numerical aperture in two-photon microscopy:

    For excitation deep in scattering tissue, higher NA can actually be detrimental because the light cone at the periphery has to travel a longer distance through the scattering tissue compared to moderate NAs. In addition, spherical aberration is more of a problem at higher NAs.

    To increase axial resolution, first ensure that you’re overfilling the back aperture of the objective before trying a higher NA objective. A 0.8 NA objective’s axial resolution is only about 50% broader than a 1.0 NA objective. By contrast, underfilling the back aperture significantly makes the axial resolution broader by 200% or more. So before buying a higher NA objective, ensure that you’re actually using all of the NA in your current objective.

    For collection, high NA is good, but so is low magnification. For example, a 16x 0.8NA will collect more scattered fluorescence signal than a 63x 1.0NA. A rough image brightness factor can be computed to compare among objectives: average transmittance of visible light * (NA^2/mag)^2

    The figure at the top of this post summarizes the brightness factor for a range of different NAs and magnifications*. Several objectives are noted on it as well. At the bottom is the relationship between NA and axial resolution (theoretical best, ref).

    Optimal: So what has been recommended for years is to use a high NA objective and underfill it a bit.

    In two-photon population calcium imaging, the neuropil response can contaminate neuron responses. This happens when the axial resolution is poor, such that the excitation volume extends out of the soma. This often occurs when the back aperture of the objective is underfilled, resulting in a lower effective NA.

    Here’s the relationship between numerical aperture and neuropil contamination.

    The influence of neuropil contamination is partially dependent on the signal-to-noise (S:N) of the somatic spike-associated calcium transients. If S:N is high, then a small amount of neuropil contamination can be negligible.

    More info:
    Part I of axial resolution and numerical aperture
    High NA, low mag objectives

    * I’ve omitted the transmission characteristic in these calculations. Although IR transmittance varies considerably among manufacturers, in the visible range transmission is consistently around 85% for water dipping, low mag, high NA objectives. Thus the relative measures are unaltered.

    Recently, microscope manufacturers have been releasing ever higher NA objectives for multiphoton imaging. Although higher NA objectives should give better axial resolution, they might not be ideal for imaging deep into the brain compared to more moderate NAs.

    I think the perception that higher NAs always improve images arises when people try out new, high NA objectives that have smaller back apertures than their old objectives (e.g., an Olympus 20x/0.95 NA or a Nikon 16x/0.8 NA). If the back aperature on the 25x, 1.0+ NA objective they’re trying is smaller, then suddenly they’re overfilling more than before and their axial resolution and S:N are improved. They chalk it up to the NA and swear never to go back to 0.8 NA objectives. However, their old objective might actually be better, and what they really need to work on is their scanning optics.

    The key issue is this: high NA objectives bring a large portion of their light in at a high angle. This high angle results in longer paths for the excitation light to take, and this results in more scattering events. The end result is that excitation intensity decreases. This has been shown theoretically and empirically. So if you’ll be imaging deep, consider moderate NA objectives.

    By contrast, underfilling the back aperture is a great way to destroy one’s axial resolution. Since the lateral resolution is relatively unaffected, this problem often goes unnoticed (see figure below, its link, and this review). If the excitation beam is less than half of the diameter of the back aperture of a 20x/0.95 NA, then the axial FWHM could be 3x what it should be, or roughly the equivilant of a 0.60 NA objective (theoretical FWHM 5.6 microns), or worse.

    Even many commercially available scopes fail to overfill the large back apertures of today’s low magnification/high NA objectives. The major microscope manufacturers need their objectives to fit onto their existing microscope bodies and systems, and this is a major engineering constraint in their design for new imaging systems.

    As previously noted, homemade cables are to be avoided. However, stock cables are not always up to spec. For example, if one wants to drive stepper motors using a 9-pin serial cable, are the individual conductors able to carry the 1 A of current required? What about high frequencies over repurposed speaker cables?

    The chart above (larger version) should help you decide what gauge of wire to look for in a particular application. Note that these are relatively conservative engineering specs, so in practice you can get away with underspec’ing a bit.

    The maximum current is the current that, if sustained, won’t result in too much heating. The maximum frequency is the signal frequency at which there is 100% skin depth– i.e., the entire cross section of the wire is carrying the signal. At frequencies higher than this, the effective resistance of the wire increases.

    To answer to the above questions: Yes, a 9-pin serial cable will work fine for driving steppers if the duty cycle is low (i.e., the stepper motors are typically not moving). Get a heavier guage if you can (e.g., 20 or 22 AWG), but since the currents are fairly brief the wires won’t heat up much even if you underspec them. However, with high frequencies through speaker cables, there might be problems. Even with 1 MHz signals through 18 AWG wire, there will be significant signal degredation.

    Recently I needed a 3.5 mm TRS (tip-ring-sleeve, aka 3-conductor) phono cable that would carry fairly high sustained currents. Typically these types of cables are used to plug iPods and similar devices into the Aux inputs of car and home stereos. In that application, fairly light gauge wire is ideal since the currents are small. However, I was able to find a heavier gauge cable assembly from an audiophile shop.

    Data source file (tab-delimited text, note that gauges 00, 000, 0000 are recorded as -1, -2, -3, to get the chart to plot properly)
    via