.. java:import:: ch.epfl.leb.sass.models.components Objective .. java:import:: com.google.gson Gson .. java:import:: com.google.gson GsonBuilder .. java:import:: com.google.gson JsonElement .. java:import:: com.google.gson JsonObject .. java:import:: com.google.gson JsonPrimitive .. java:import:: com.google.gson JsonSerializationContext .. java:import:: com.google.gson JsonSerializer .. java:import:: java.lang.reflect Type DefaultObjective ================ .. java:package:: ch.epfl.leb.sass.models.components.internal :noindex: .. java:type:: public final class DefaultObjective implements Objective Properties related to the microscope objective. :author: Kyle M. Douglass Methods ------- airyFWHM ^^^^^^^^ .. java:method:: @Override public double airyFWHM(double wavelength) :outertype: DefaultObjective Computes the full width at half maximum of the Airy disk. Units are the same as those of wavelength. :param wavelength: :return: Full width at half maximum size of the Airy disk. airyRadius ^^^^^^^^^^ .. java:method:: @Override public double airyRadius(double wavelength) :outertype: DefaultObjective Computes the radius of the Airy disk. Units are the same as those of wavelength. :param wavelength: :return: Distance from center of Airy disk to first minimum. getMag ^^^^^^ .. java:method:: @Override public double getMag() :outertype: DefaultObjective :return: The objective's magnification. getNA ^^^^^ .. java:method:: @Override public double getNA() :outertype: DefaultObjective :return: The objective's numerical aperture toJson ^^^^^^ .. java:method:: @Override public JsonElement toJson() :outertype: DefaultObjective Outputs the laser's properties as a JSON element. :return: A JSON tree describing the laser's properties.